liudan 6 months ago
parent e782c5f637
commit a29e8864a8
  1. 8
      pages/user/index.vue
  2. 9
      pages/users/order_list1/index.vue
  3. 6
      pages/users/user_money/index.vue
  4. 16
      pages/users/user_money/zhuanzhang.vue

@ -87,19 +87,19 @@
</view> -->
<view class="num-wrapper skeleton-rect">
<view class="num-item" @click="goOtherPage('/pages/users/user_money/index')">
<text class="num">{{userInfo.now_money}}</text>
<text class="num">{{userInfo.now_money||0}}</text>
<view class="txt">余额</view>
</view>
<view class="num-item" @click="goOtherPage('/pages/users/user_spread_money/index?type=2')">
<text class="num">3000</text>
<text class="num">{{userInfo.brokerage_level||0}}</text>
<view class="txt">累计收益</view>
</view>
<view class="num-item" @click="goOtherPage('/pages/users/user_integral/index')">
<text class="num">{{userInfo.integral}}</text>
<text class="num">{{userInfo.integral||0}}</text>
<view class="txt">积分</view>
</view>
<view class="num-item" @click="goOtherPage('/pages/users/user_coupon/index')">
<text class="num">3</text>
<text class="num">{{userInfo.total_coupon||0}}</text>
<view class="txt">优惠券</view>
</view>

@ -11,15 +11,15 @@
<view>全部</view>
<view class='num'>{{orderData.all || 0}}</view>
</view>
<view class='item' :class='orderStatus==0 ? "on": ""' @click="statusClick(0)">
<view class='item' :class='orderStatus==0 ? "on": ""' @click="statusClick(1)">
<view>待付款</view>
<view class='num'>{{orderData.noPay || 0}}</view>
</view>
<view class='item' :class='orderStatus==1 ? "on": ""' @click="statusClick(1)">
<view class='item' :class='orderStatus==1 ? "on": ""' @click="statusClick(12)">
<view>寄售中</view>
<view class='num'>{{orderData.noPostage || 0}}</view>
</view>
<view class='item' :class='orderStatus==2 ? "on": ""' @click="statusClick(2)">
<view class='item' :class='orderStatus==2 ? "on": ""' @click="statusClick(13)">
<view>已完成</view>
<view class='num '>{{orderData.noDeliver || 0}}</view>
</view>
@ -551,7 +551,8 @@
})
} else {
getOrderList({
status: that.orderStatus - 1,
// status: that.orderStatus - 1,
status: that.orderStatus ,
page: that.page,
limit: that.limit,
is_burst:1,

@ -35,13 +35,13 @@
<view>累计消费()</view>
<view class='money'>{{userInfo.total_consume || 0}}</view>
</view>
<view class='item' >
<!-- <view class='item' >
<view>可提现金额()</view>
<view class='money'>{{userInfo.total_recharge || 0}}</view>
</view>
</view> -->
<view class='item'>
<view>贡献值</view>
<view class='money'>{{userInfo.contribute_value || 0}}</view>
<view class='money'>{{userInfo.contribution || 0}}</view>
</view>
</view>
</view>

@ -4,7 +4,7 @@
可转账金额
</view>
<view class="num">
3000
{{now_money}}
</view>
<view class="form">
<view class="title">
@ -51,12 +51,20 @@ export default{
timer:null,
timeNum:60,
canClick:true,
now_money:0
}
},
beforeDestroy() {
clearInterval(this.timer);
},
methods:{
getUserInfo() {
let that = this;
getUserInfo().then(res => {
that.now_money = res.data.now_money;
});
},
getCodeHandle(){
if(!this.form.phone){
uni.showToast({
@ -129,6 +137,12 @@ export default{
}
zhuanzhangApi(params).then(res=>{
console.log(res,"00")
}).catch((res)=>{
console.log(res)
uni.showToast({
title: res,
icon: 'none'
})
})

Loading…
Cancel
Save