【修改】个人中心
This commit is contained in:
parent
f0e189bb7f
commit
20861b0ea5
|
|
@ -80,18 +80,20 @@ export default {
|
||||||
showAmount : 0
|
showAmount : 0
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
onLoad(res){
|
||||||
|
this.type = res.type
|
||||||
|
switch (this.type){
|
||||||
|
case "goufang_to_balance":
|
||||||
|
this.type_name = '购房券'
|
||||||
|
break
|
||||||
|
case "balance_to_goufang":
|
||||||
|
this.type_name = '消费券'
|
||||||
|
break
|
||||||
|
}
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.type = this.$route.query.type === undefined ? 'goufang_to_balance': this.$route.query.type;
|
|
||||||
|
|
||||||
if (uni.getStorageSync('token')) {
|
if (uni.getStorageSync('token')) {
|
||||||
switch (this.type){
|
|
||||||
case "goufang_to_balance":
|
|
||||||
this.type_name = '购房券'
|
|
||||||
break
|
|
||||||
case "balance_to_goufang":
|
|
||||||
this.type_name = '消费券'
|
|
||||||
break
|
|
||||||
}
|
|
||||||
this.getWithdrawInfo();
|
this.getWithdrawInfo();
|
||||||
this.getFenxiaoInfo();
|
this.getFenxiaoInfo();
|
||||||
this.getBankAccountInfo();
|
this.getBankAccountInfo();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue