12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <wxs module="filters" src="../../utils/toFixed.wxs" />
- <view class="up-down-view" wx:for="{{winLost}}" wx:for-item="list">
- <view class="up-title">
- {{list.match_name}}
- </view>
- <view class="tab">
- <view wx:for='{{tabs[index]}}' bindtap="tabChange1" wx:for-index='i' data-tab='{{index}}' data-id='{{i}}' class="{{i==curs[index]?'act':''}}">{{item}}</view>
- </view>
- <swiper class="swiper-content" style="padding:0rpx 20rpx;height: 1000rpx;" current='{{curs[index]}}' data-tab='{{index}}' bindchange='curChange1'>
- <swiper-item class="up-down">
- <view class="title_1">
- <text>收益率</text><text>资产(w)</text><text>盈利(w)</text>
- </view>
- <navigator wx:for="{{list.total_income_up}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
- <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
- <text wx:else class="number">{{index+1}}</text>
- <text class="usm">{{item.username}}</text>
-
- <text class="text up">{{ filters.toFix2(item.total_income*100)}}%</text>
- <text class="text">{{item.today_fund}}</text>
- <text class="text up">{{filters.toFix2(item.today_fund - item.init_fund)}}</text>
- </navigator>
- </swiper-item>
- <swiper-item class="up-down">
- <view class="title_1">
- <text>盈利(w)</text><text>资产(w)</text><text>收益率</text>
- </view>
- <navigator wx:for="{{list.total_win_up}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
- <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
- <text wx:else class="number">{{index+1}}</text>
- <text class="usm">{{item.username}}</text>
-
- <text class="text up">{{filters.toFix2(item.today_fund - item.init_fund)}}</text>
- <text class="text">{{item.today_fund}}</text>
- <text class="text up">{{ filters.toFix2(item.total_income*100)}}%</text>
- </navigator>
- </swiper-item>
- <swiper-item class="up-down">
- <view class="title_1">
- <text>亏损(w)</text><text>资产(w)</text><text>收益率</text>
- </view>
- <navigator wx:for="{{list.total_win_down}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
- <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
- <text wx:else class="number">{{index+1}}</text>
- <text class="usm">{{item.username}}</text>
- <text class="text down">{{filters.toFix2(item.today_fund - item.init_fund)}}</text>
- <text class="text">{{item.today_fund}}</text>
- <text class="text down">{{ filters.toFix2(item.total_income*100)}}%</text>
- </navigator>
- </swiper-item>
- <swiper-item class="up-down">
- <view class="title_1">
- <text>收益率</text><text>资产(w)</text><text>盈利(w)</text>
- </view>
- <navigator wx:for="{{list.total_income_down}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
- <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
- <text wx:else class="number">{{index+1}}</text>
- <text class="usm">{{item.username}}</text>
-
- <text class="text down">{{ filters.toFix2(item.total_income*100)}}%</text>
- <text class="text">{{item.today_fund}}</text>
- <text class="text down">{{filters.toFix2(item.today_fund - item.init_fund)}}</text>
- </navigator>
- </swiper-item>
- </swiper>
- </view>
- <view wx:if="{{winLost.length>0}}" class="end">~END~</view>
- <view style="margin-top: 100rpx;" wx:else class="end">~正在加载~</view>
|