diff --git a/pages/user/index.vue b/pages/user/index.vue
index 132e156..1955316 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -87,19 +87,19 @@
-->
- {{userInfo.now_money}}
+ {{userInfo.now_money||0}}
余额
- 3000
+ {{userInfo.brokerage_level||0}}
累计收益
- {{userInfo.integral}}
+ {{userInfo.integral||0}}
积分
- 3
+ {{userInfo.total_coupon||0}}
优惠券
diff --git a/pages/users/order_list1/index.vue b/pages/users/order_list1/index.vue
index 823e1e9..6a19ebc 100644
--- a/pages/users/order_list1/index.vue
+++ b/pages/users/order_list1/index.vue
@@ -11,15 +11,15 @@
全部
{{orderData.all || 0}}
-
+
待付款
{{orderData.noPay || 0}}
-
+
寄售中
{{orderData.noPostage || 0}}
-
+
已完成
{{orderData.noDeliver || 0}}
@@ -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,
diff --git a/pages/users/user_money/index.vue b/pages/users/user_money/index.vue
index c9c8ffe..9e56829 100644
--- a/pages/users/user_money/index.vue
+++ b/pages/users/user_money/index.vue
@@ -35,13 +35,13 @@
累计消费(元)
{{userInfo.total_consume || 0}}
-
+
贡献值
- {{userInfo.contribute_value || 0}}
+ {{userInfo.contribution || 0}}
diff --git a/pages/users/user_money/zhuanzhang.vue b/pages/users/user_money/zhuanzhang.vue
index 423dc08..db279c7 100644
--- a/pages/users/user_money/zhuanzhang.vue
+++ b/pages/users/user_money/zhuanzhang.vue
@@ -4,7 +4,7 @@
可转账金额(元)
- 3000
+ {{now_money}}
@@ -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'
+ })
})