1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <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>
- </view>
- <view wx:if="{{winLost.length>0}}" class="end">~END~</view>
- <view style="margin-top: 100rpx;" wx:else class="end">~正在加载~</view>
|