|
@@ -1,9 +1,28 @@
|
|
|
-<view class="main">
|
|
|
- <scroll-view scroll-y="true" class="scroll-view">
|
|
|
- <view class="list-scroll-view">
|
|
|
- <view class="one">
|
|
|
- 小组赛
|
|
|
+<view class='history-table-wrap'>
|
|
|
+ <view class="ranking" wx:for="{{teamList}}" wx:for-item="t" wx:key="team_id">
|
|
|
+ <view class="name">{{t.team_name}}</view>
|
|
|
+ <view class="view_1">
|
|
|
+ <view class="tr" wx:for="{{t.table}}" wx:for-item="i">
|
|
|
+ <view class="th th1" wx:if="{{index===0}}"></view>
|
|
|
+ <view class="th th1" wx:for="{{i}}" wx:for-item="ii" wx:key="ii">{{ii||''}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
+
|
|
|
+
|
|
|
+ <view class="table">
|
|
|
+ <view class="tr">
|
|
|
+ <view class="th th1">排名</view>
|
|
|
+ <view class="th th2">选手</view>
|
|
|
+ <view class="th th3">胜场</view>
|
|
|
+ <view class="th th3">净胜球</view>
|
|
|
+ </view>
|
|
|
+ <view class="tr" wx:for="{{t.score}}" wx:for-item="tp" wx:key="player_id">
|
|
|
+ <view class="td td1">{{index+1}}</view>
|
|
|
+ <view class="td td2">{{tp.player_name}}</view>
|
|
|
+ <view class="td td3">{{tp.win}}</view>
|
|
|
+ <view class="td td3">{{tp.score}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|