This commit is contained in:
weipengfei 2023-08-26 15:16:42 +08:00
parent 7199f95a77
commit ead807ae1e
2 changed files with 15 additions and 7 deletions

View File

@ -71,8 +71,8 @@
}
}
},
"apple":{
"urlschemewhitelist":["iosamap"]
"apple" : {
"urlschemewhitelist" : [ "iosamap" ]
},
"splashscreen" : {
"useOriginalMsgbox" : true

View File

@ -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 () {