diff --git a/manifest.json b/manifest.json
index 532934d..e4db749 100644
--- a/manifest.json
+++ b/manifest.json
@@ -71,8 +71,8 @@
}
}
},
- "apple":{
- "urlschemewhitelist":["iosamap"]
+ "apple" : {
+ "urlschemewhitelist" : [ "iosamap" ]
},
"splashscreen" : {
"useOriginalMsgbox" : true
diff --git a/subpkg/finance/finance.vue b/subpkg/finance/finance.vue
index 113de91..6c19d0e 100644
--- a/subpkg/finance/finance.vue
+++ b/subpkg/finance/finance.vue
@@ -41,7 +41,7 @@
>
{{ userInfo.user_money ? userInfo.user_money : "0.00" }}元{{ all_money }}元
****元
@@ -56,7 +56,7 @@
保证金额(元)
{{
- userInfo.user_money || 0.0
+ userInfo.deposit || 0.0
}}
****
@@ -64,7 +64,7 @@
收益金额(元)
{{
- userInfo.deposit || 0.0
+ userInfo.income || 0.0
}}
****
@@ -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 () {