YS:个人中心显示数据1.订单中心栏目待付尾款2、以消费、待付尾款、交易中金额

main
yangsai@163.com 4 months ago
parent c1932ae3ef
commit fb64717fd3
  1. 10
      pages/user/index.vue

@ -136,18 +136,18 @@
</view>
<view class="num-item" @click="goMenuPage()">
<text class="num">{{userInfo.couponCount || 0}}</text>
<text class="num">{{userInfo.all_payed || 0}}</text>
<view class="txt">{{$t('已消费(元)')}}</view>
</view>
<view class="num-item" @click="goMenuPage()">
<text class="num">{{userInfo.integral || 0}}</text>
<text class="num">{{userInfo.now_wei || 0}}</text>
<view class="txt">{{$t('待付尾款(元)')}}</view>
</view>
</view>
<view class="bottomMoney">
<view style="display: flex;align-items: center;">
<text style="margin-right:25rpx;">交易中金额()</text>
<text style="font-size: 36rpx;" v-if="!numShow">50000</text>
<text style="font-size: 36rpx;" v-if="!numShow">{{userInfo.now_dealing|| 0}}</text>
<text style="font-size: 36rpx;position: relative;top:10rpx;" v-if="numShow">*****</text>
</view>
<image :src="`${baseurl}/static/images/eye.png`" mode="" @click="setShow(false)" v-if="numShow"></image>
@ -398,7 +398,7 @@
pic: '/static/images/m2.png',
img: 'icon-daifahuo',
title: '备货中',
url: '/pages/goods/order_list/index?status=1'
url: '/pages/goods/order_list/index?status=5'
},
{
pic: '/static/images/m3.png',
@ -619,7 +619,7 @@
item.num = res.data.orderStatusNum.unshipped_count
break
case '待付尾款':
item.num = res.data.orderStatusNum.unshipped_count
item.num = res.data.orderStatusNum.wei_count
break
case '运输中':
item.num = res.data.orderStatusNum.received_count

Loading…
Cancel
Save