更新
This commit is contained in:
parent
7199f95a77
commit
ead807ae1e
@ -71,8 +71,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"apple":{
|
||||
"urlschemewhitelist":["iosamap"]
|
||||
"apple" : {
|
||||
"urlschemewhitelist" : [ "iosamap" ]
|
||||
},
|
||||
"splashscreen" : {
|
||||
"useOriginalMsgbox" : true
|
||||
|
@ -41,7 +41,7 @@
|
||||
></uni-icons>
|
||||
</view>
|
||||
<view class="price" v-show="eyeType"
|
||||
>{{ userInfo.user_money ? userInfo.user_money : "0.00" }}元</view
|
||||
>{{ all_money }}元</view
|
||||
>
|
||||
<view class="price" v-show="!eyeType">****元</view>
|
||||
<view class="bubble">
|
||||
@ -56,7 +56,7 @@
|
||||
<view class="item">
|
||||
<view>保证金额(元)</view>
|
||||
<view class="num" v-show="eyeType">{{
|
||||
userInfo.user_money || 0.0
|
||||
userInfo.deposit || 0.0
|
||||
}}</view>
|
||||
<view class="num" v-show="!eyeType">****</view>
|
||||
</view>
|
||||
@ -64,7 +64,7 @@
|
||||
<view class="item">
|
||||
<view>收益金额(元)</view>
|
||||
<view class="num" v-show="eyeType">{{
|
||||
userInfo.deposit || 0.0
|
||||
userInfo.income || 0.0
|
||||
}}</view>
|
||||
<view class="num" v-show="!eyeType">****</view>
|
||||
</view>
|
||||
@ -263,8 +263,16 @@ export default {
|
||||
eyeType () {
|
||||
return this.$store.state.config.eyeType;
|
||||
},
|
||||
totalMoney(){
|
||||
return this.userInfo;
|
||||
all_money(){
|
||||
let str = '0.00';
|
||||
try{
|
||||
this.userInfo.user_money?str=parseFloat(str)+this.userInfo.user_money:null;
|
||||
this.userInfo.deposit?str=parseFloat(str)+this.userInfo.deposit:null;
|
||||
str = str.toFixed(2);
|
||||
}catch(e){
|
||||
str = "0.00";
|
||||
}
|
||||
return str;
|
||||
}
|
||||
},
|
||||
onBackPress () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user