tanyanfei 3 年之前
父節點
當前提交
3aadaaef68
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pages/today/today.wxml

+ 3 - 3
pages/today/today.wxml

@@ -12,7 +12,7 @@
                   ({{datas.today_record.match_group_name}})</view>
           </view>
           <view class="info">
-                  胜率: <view>80%(最大回撤 <text class='down'>-8%</text>)</view>
+                  胜率: <view>{{datas.today_record.win_rate}}(最大回撤 <text class="{{datas.today_record.badest_income[0]=='-' ?'down':'up'}}"> {{datas.today_record.badest_income}} </text>)</view>
           </view>
           <view class="info">
                   日期: <view>{{datas.today_record.stock_date}}</view>
@@ -28,8 +28,8 @@
               )</view>
           </view>
           <view class="bottom">
-              今日持仓 <text>120.3W</text>
-              仓位 <text>80%</text>
+              今日持仓 <text>{{datas.today_record.today_stock_total}}W</text>
+              仓位 <text>{{datas.today_record.cangwei}}</text>
           </view>
       </view>          
 </view>