1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <import src='fragmentsRecordItem.wxml' />
- <view class="head-bg">
- <view id = "0" class="switch-button-left-{{switchButton.left}}" bindtap="switchAction">世界排行</view>
- <view id = "1" class="switch-button-center-{{switchButton.center}}" bindtap="switchAction">好友排行</view>
- <view id = "2" class="switch-button-right-{{switchButton.right}}" bindtap="switchAction">群排行</view>
- </view>
- <scroll-view class="{{ui.scrollViewBg}}" scroll-x="{{scroll}}" scroll-left="{{switchButton.scrollLeft}}" scroll-with-animation>
- <view class="scroll-item-view">
- <scroll-view scroll-y class="scroll-view">
- <view class="scroll-view-head" style="width:750rpx"></view>
- <view wx:for="{{allList}}" wx:for-index="i" wx:key=" ">
- <template is="record" data="{{...allList[i]}}"/>
- </view>
- </scroll-view>
- </view>
- <view class="scroll-item-view">
- <scroll-view scroll-y class="scroll-view">
- <view class="scroll-view-head" style="width:750rpx"></view>
- <view wx:for="{{friendsList}}" wx:for-index="i" wx:key=" ">
- <template is="record" data="{{...friendsList[i]}}"/>
- </view>
- </scroll-view>
- </view>
- <view class="scroll-item-view">
- <view class="group-view">
- <image class="group-view-img" src="../../resource/fragments_record_no_data.png"></image>
- <view class="group-view-button-view">转发到微信群查看排名
- <button class="group-view-button" open-type="share" hover-class="none" plain="true" style="border-color: rgba(0, 0, 0, 0)"></button>
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="{{ui.rankingView}}" hidden="{{currentRecord == 2}}">我的世界排名为{{rank}}名</view>
- <view class="bottom-button-view" bindtap="changeSeasonAction" hidden="{{currentRecord == 2 || ui.rankingView == 'ranking-view-o'}}">
- <view class="bottom-button-title">{{season.button}}</view>
- <image class="bottom-button-icon" src="../../resource/fragments_arrow.png"></image>
- </view>
|