winloseRank.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <wxs module="filters" src="../../utils/toFixed.wxs" />
  2. <view class="up-down-view" >
  3. <view class="title">因截图不全,清仓票不显示等原因,统计有偏差,仅供参考
  4. </view>
  5. <view class="up-title">
  6. 个股盈利榜单
  7. </view>
  8. <view class="up-down">
  9. <view class="title_1">
  10. <text style="width: 10%;">排名</text>
  11. <text style="width: 25%;">名称</text>
  12. <text style="width: 25%;">代码</text>
  13. <text style="width: 30%;">日期</text>
  14. <text style="width: 15%;text-align: right;">盈亏(w)</text>
  15. </view>
  16. <navigator wx:for="{{win}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
  17. <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
  18. <text wx:else class="number">{{index+1}}</text>
  19. <text style="width: 25%;">{{item.name}}</text>
  20. <text style="width: 25%;color: #999;">{{item.code}}</text>
  21. <text style="width: 30%;">{{item.stock_date}}</text>
  22. <text style="text-align: right;" class="{{item.money>0 ? 'up':'down'}}">{{item.money}}w</text>
  23. </navigator>
  24. </view>
  25. </view>
  26. <view class="up-down-view" >
  27. <view class="up-title">
  28. 个股亏损榜单
  29. </view>
  30. <view class="up-down">
  31. <view class="title_1">
  32. <text style="width: 10%;">排名</text>
  33. <text style="width: 25%;">名称</text>
  34. <text style="width: 25%;">代码</text>
  35. <text style="width: 30%;">日期</text>
  36. <text style="width: 15%;text-align: right;">盈亏(w)</text>
  37. </view>
  38. <navigator wx:for="{{loss}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
  39. <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
  40. <text wx:else class="number">{{index+1}}</text>
  41. <text style="width: 25%;">{{item.name}}</text>
  42. <text style="width: 25%;color: #999;">{{item.code}}</text>
  43. <text style="width: 30%;">{{item.stock_date}}</text>
  44. <text style="text-align: right;" class="{{item.money>0 ? 'up':'down'}}">{{item.money}}w</text>
  45. </navigator>
  46. </view>
  47. </view>