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":{ "apple" : {
"urlschemewhitelist":["iosamap"] "urlschemewhitelist" : [ "iosamap" ]
}, },
"splashscreen" : { "splashscreen" : {
"useOriginalMsgbox" : true "useOriginalMsgbox" : true

View File

@ -41,7 +41,7 @@
></uni-icons> ></uni-icons>
</view> </view>
<view class="price" v-show="eyeType" <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="price" v-show="!eyeType">****</view>
<view class="bubble"> <view class="bubble">
@ -56,7 +56,7 @@
<view class="item"> <view class="item">
<view>保证金额()</view> <view>保证金额()</view>
<view class="num" v-show="eyeType">{{ <view class="num" v-show="eyeType">{{
userInfo.user_money || 0.0 userInfo.deposit || 0.0
}}</view> }}</view>
<view class="num" v-show="!eyeType">****</view> <view class="num" v-show="!eyeType">****</view>
</view> </view>
@ -64,7 +64,7 @@
<view class="item"> <view class="item">
<view>收益金额()</view> <view>收益金额()</view>
<view class="num" v-show="eyeType">{{ <view class="num" v-show="eyeType">{{
userInfo.deposit || 0.0 userInfo.income || 0.0
}}</view> }}</view>
<view class="num" v-show="!eyeType">****</view> <view class="num" v-show="!eyeType">****</view>
</view> </view>
@ -263,8 +263,16 @@ export default {
eyeType () { eyeType () {
return this.$store.state.config.eyeType; return this.$store.state.config.eyeType;
}, },
totalMoney(){ all_money(){
return this.userInfo; 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 () { onBackPress () {