xjc 3 年之前
父节点
当前提交
1b6d3ac702
共有 2 个文件被更改,包括 7 次插入3 次删除
  1. 4 2
      pages/index/index.wxml
  2. 3 1
      project.config.json

+ 4 - 2
pages/index/index.wxml

@@ -25,8 +25,10 @@
                 <text  class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>)</view>
               </view>
               <view class="info">
-                资产:  <view><label>{{item.today_fund}}w</label> (收益 
-                <text  class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>)</view>
+                资产:  <view><label>{{item.today_fund}}w</label> (总收益 
+                <text  class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>
+                胜率<text  class="{{item.win_rate[0]=='-' ?'down':'up'}}"> {{item.win_rate}}</text>
+                )</view>
               </view>
               <view class="info">
                 持仓: <view>

+ 3 - 1
project.config.json

@@ -7,12 +7,14 @@
 		"urlCheck": true,
 		"es6": true,
 		"postcss": true,
+		"preloadBackgroundData": false,
 		"minified": true,
 		"newFeature": true,
 		"autoAudits": false,
 		"coverView": true,
 		"showShadowRootInWxmlPanel": true,
-		"scopeDataCheck": false
+		"scopeDataCheck": false,
+		"useCompilerModule": false
 	},
 	"compileType": "miniprogram",
 	"libVersion": "2.15.0",