winloseRank.wxml 2.1 KB

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