12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <wxs src="../../utils/filter.wxs" module="filters" />
- <view class="rankingBox">
- <view class="selectDay" style="background-color: {{backgroundColor}};">
- <view class="swiperBox">
- <image src="/static/rbtn.png" class="keys leftKey" bindtap="bindDateChange" data-type='next'
- wx:if="{{selector.next}}" />
- <swiper class="daySwiper" current="{{selector.currentDay}}">
- <block wx:for="{{historyList}}" wx:key="*this">
- <swiper-item>
- {{item}}
- </swiper-item>
- </block>
- </swiper>
- <image src="/static/rbtn.png" class="keys" bindtap="bindDateChange" data-type='previous'
- wx:if="{{selector.previous}}" />
- </view>
- </view>
- <view class="podiumBox {{podiumBoxBg}}">
- <view class="switchType" bindtap="switchType">
- <view class="ilk {{rankingType=='3'?'current tips2':''}}" data-type='3'>
- 热播榜
- </view>
- <view class="ilk {{rankingType=='4'?'current tips2':''}}" data-type='4'>
- 挑战PK榜
- </view>
- <!-- <view class="ilk {{rankingType=='2'?'current tips2':''}}" data-type='2'>
- 邀新榜
- </view> -->
- </view>
- <view class="podiumContent">
- <view class="user first">
- <image src="{{userList[0].avatar}}" class="avatar" bindtap="jumpUserInfo"
- data-uid='{{userList[0].uid}}' />
- <view class="iconBox">
- <image src="{{icon}}" class="icon {{rankingType=='4'?'iconPk':''}}" />
- <view class="num">{{userList[0].count}}</view>
- </view>
- <view class="nickName textOver">
- {{userList[0].nickName||userList[0].eid}}
- </view>
- </view>
- <view class="user second">
- <image src="{{userList[1].avatar}}" class="avatar" bindtap="jumpUserInfo"
- data-uid='{{userList[1].uid}}' />
- <view class="iconBox">
- <image src="{{icon}}" class="icon {{rankingType=='4'?'iconPk':''}}" />
- <view class="num">{{userList[1].count}}</view>
- </view>
- <view class="nickName textOver">
- {{userList[1].nickName||userList[1].eid}}
- </view>
- </view>
- <view class="user third">
- <image src="{{userList[2].avatar}}" class="avatar" bindtap="jumpUserInfo"
- data-uid='{{userList[2].uid}}' />
- <view class="iconBox">
- <image src="{{icon}}" class="icon {{rankingType=='4'?'iconPk':''}}" />
- <view class="num">{{userList[2].count}}</view>
- </view>
- <view class="nickName textOver">
- {{userList[2].nickName||userList[2].eid}}
- </view>
- </view>
- </view>
- </view>
- <view class="podiumList">
- <scroll-view scroll-y="true" enhanced="true" show-scrollbar="{{false}}" class="scrollBox">
- <view class="row" wx:for="{{userList.length-3}}" wx:key="index" data-uid='{{userList[index+3].uid}}'
- bindtap="jumpUserInfo">
- <view class="left">
- <view class="num">{{index+4}}</view>
- <image src="{{userList[index+3].avatar}}" class="avatar" lazy-load />
- <view class="nickName textOver">
- {{userList[index+3].nickName||userList[index+3].eid}}
- </view>
- </view>
- <view class="right">
- <image src="{{icon}}" class="icon {{rankingType=='4'?'iconPk':''}}" />
- <view class="num"> {{userList[index+3].count}}</view>
- </view>
- </view>
- <view class="null" wx:if="{{userList.length<=3}}">
- <image src="/static/inviteH.png" class="nullImg" />
- <view>等你来冲榜!</view>
- </view>
- </scroll-view>
- </view>
- <view class="footer">
- <view class="left">我的排名<text>{{ranking?ranking:'100+'}}</text></view>
- <button class="resetBtn rigth" wx:if="{{rankingType==4}}" bindtap="jumpIndex">
- 我要冲榜
- </button>
- </view>
- </view>
|