add物流信息

This commit is contained in:
zmj 2024-01-21 21:32:46 +08:00
parent 3c01f56304
commit 0d4530e162
4 changed files with 114 additions and 15 deletions

View File

@ -27,7 +27,8 @@
</view> </view>
</view> </view>
<view class="foot"> <view class="foot">
<!-- <text>商品数量: 共计 <text :style="{color:goodsInfo.status==0?'#FF8056':'#2B63E3'}">6</text></text> --> <text>商品数量: 共计 <text
:style="{color:goodsInfo.status==0?'#FF8056':'#2B63E3'}">{{goodsInfo.product_count}}</text></text>
<text></text> <text></text>
<view class="detail-btn"> <view class="detail-btn">
查看详情 查看详情

View File

@ -35,7 +35,7 @@
"style": { "style": {
"navigationBarTitleText": "收益明细", "navigationBarTitleText": "收益明细",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#0122C7", "navigationBarBackgroundColor": "#2B63E3",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, },

View File

@ -1,8 +1,49 @@
<template> <template>
<view class="card"> <view class="">
<u-tag :text="item.remark" type="success" plain v-for="item,index in orderList" :key='index' class="li"></u-tag> <view class="head">
<view class="money">
收益明细
<view class="" style="margin-top: 35rpx;font-size: 35rpx;">
{{money}}
</view>
</view>
</view>
<view class="cont">
<!-- <u-tag :text="item.remark" type="success" plain v-for="item,index in orderList" :key='index' class="li"></u-tag> -->
<view class="tit">
收益明细
</view>
<view class="card" v-for="item,index in orderList" :key='index'>
<view class="card-top">
<view class="">
<!-- 2024-01-2 16:20:34 -->
{{item.create_time}}
</view>
<view class="" style="color: #6A92EB;">
<!-- 任务收益金额增加 -->
{{item.type_desc}}
</view>
</view>
<view class="card-top" style="margin-top: 30rpx;">
<view class="tit" style="font-size: 28rpx;">
<!-- 2024-01-2 16:20:34 -->
{{item.remark}}
</view>
<view class="">
<!-- 任务收益金额增加 -->
{{item.change_amount_desc}}
</view>
</view>
</view>
<u-loadmore :status="status" /> <u-loadmore :status="status" />
</view> </view>
</view>
</template> </template>
<script> <script>
@ -17,6 +58,7 @@
status: "loadmore", status: "loadmore",
page_no: 2, page_no: 2,
page_size: 20, page_size: 20,
money: ""
} }
}, },
methods: { methods: {
@ -31,6 +73,9 @@
mounted() { mounted() {
this.getFirstOrderLogList() this.getFirstOrderLogList()
}, },
onLoad(option) {
this.money = option.money
},
onReachBottom() { onReachBottom() {
if (this.flag) return if (this.flag) return
let { let {
@ -57,17 +102,70 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.head {
width: 750rpx;
background-color: #2B63E3;
height: 200rpx;
position: relative;
.money {
width: 670rpx;
background-color: rgba(255, 255, 255, .2);
box-shadow: 0.5rpx 0.5rpx 200rpx 0.5rpx rgba(0, 0, 0, 0.1);
height: 220rpx;
margin: 0 auto;
border-radius: 20rpx;
position: absolute;
left: 50%;
top: 100%;
transform: translate(-50%, -50%);
backdrop-filter: blur(50rpx);
color: white;
padding: 20rpx;
}
}
.cont {
// width: 690rpx;
margin: 120rpx auto;
padding: 20rpx;
.tit {
position: relative;
padding-left: 20rpx;
font-size: 30rpx;
color: #1A1A1A;
font-weight: bold;
}
.tit::before {
content: "";
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 0;
width: 6rpx;
/* 左边框的宽度 */
height: 25rpx;
border-radius: 20rpx;
background-color: #2B63E3;
}
.card { .card {
width: 690rpx;
margin: 30rpx auto;
background-color: #fff; background-color: #fff;
padding: 20rpx; padding: 20rpx;
border-radius: 29rpx; border-radius: 20rpx;
margin-top: 20rpx;
.li {
margin: 20rpx;
font-size: 28rpx;
.card-top {
display: flex;
justify-content: space-between;
} }
} }
}
</style> </style>

View File

@ -319,7 +319,7 @@
unit: "¥", unit: "¥",
event: () => { event: () => {
uni.navigateTo({ uni.navigateTo({
url: '/pages/oaHome/accountLog' url: `/pages/oaHome/accountLog?money=${this.myOaInfo.user_money}`
}) })
} }
}, },