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>