|
@@ -1,5 +1,6 @@
|
|
|
+<wxs src="../../utils/filter.wxs" module="filters" />
|
|
|
<view class="activityList">
|
|
|
- <view class="activityBox" wx:for="{{activityList}}" wx:key="id">
|
|
|
+ <!-- <view class="activityBox" wx:for="{{activityList}}" wx:key="id">
|
|
|
<image src="" class="cover" />
|
|
|
<view class="footer">
|
|
|
<view class="info">
|
|
@@ -14,97 +15,105 @@
|
|
|
</view>
|
|
|
<view class="btn {{item.second=='00'?'closingBtn':''}}">立即参与</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="ranking-class-1">
|
|
|
- <view class="header">
|
|
|
- <view class="title">邀新榜TOP100</view>
|
|
|
- <view class="toAll">查看全部
|
|
|
- <image src="/static/black.png" class="backIcon" />
|
|
|
+ </view> -->
|
|
|
+ <block wx:for="{{activityList}}" wx:key="id">
|
|
|
+ <view class="activityBox" wx:if="{{item.bannerType==1}}">
|
|
|
+ <image src="{{item.icon}}" class="cover" />
|
|
|
+ <view class="footer">
|
|
|
+ <view class="info">
|
|
|
+ <view class="title">{{item.title}}</view>
|
|
|
+ <view class="time">{{filters.formatDate(item.startTime,2)}}—{{filters.formatDate(item.endTime,2)}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="btn">立即参与</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="body">
|
|
|
- <view class="top">
|
|
|
- <view class="userBox">
|
|
|
- <view class="secondUser">
|
|
|
- <image src="/static/task1.png" class="avatar" />
|
|
|
- </view>
|
|
|
- <view class="nickName textOver">正直的憨憨正直的憨憨</view>
|
|
|
+ <view class="ranking-class-1" wx:if="{{item.bannerType==2}}">
|
|
|
+ <view class="header">
|
|
|
+ <view class="title">{{item.title}}</view>
|
|
|
+ <view class="toAll">查看全部
|
|
|
+ <image src="/static/black.png" class="backIcon" />
|
|
|
</view>
|
|
|
- <view class="userBox">
|
|
|
- <view class="firstUser">
|
|
|
- <image src="/static/task1.png" class="avatar" />
|
|
|
+ </view>
|
|
|
+ <view class="body">
|
|
|
+ <view class="top">
|
|
|
+ <view class="userBox">
|
|
|
+ <view class="secondUser">
|
|
|
+ <image src="{{item.userList[1].avatar}}" class="avatar" />
|
|
|
+ </view>
|
|
|
+ <view class="nickName textOver">{{item.userList[1].nickName||item.userList[1].eid}}</view>
|
|
|
</view>
|
|
|
- <view class="nickName textOver">正直的憨憨正直的憨憨</view>
|
|
|
- </view>
|
|
|
- <view class="userBox">
|
|
|
- <view class="thirdUser">
|
|
|
- <image src="/static/task1.png" class="avatar" />
|
|
|
+ <view class="userBox">
|
|
|
+ <view class="firstUser">
|
|
|
+ <image src="{{item.userList[0].avatar}}" class="avatar" />
|
|
|
+ </view>
|
|
|
+ <view class="nickName textOver">{{item.userList[0].nickName||item.userList[0].eid}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="userBox">
|
|
|
+ <view class="thirdUser">
|
|
|
+ <image src="{{item.userList[2].avatar}}" class="avatar" />
|
|
|
+ </view>
|
|
|
+ <view class="nickName textOver">{{item.userList[2].nickName||item.userList[2].eid}}</view>
|
|
|
</view>
|
|
|
- <view class="nickName textOver">正直的憨憨正直的憨憨</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="btm">
|
|
|
- <view class="userBox" wx:for="{{5}}" wx:key="index">
|
|
|
- <image src="/static/task1.png" class="avatar" />
|
|
|
- <view class="nickName textOver">正直的憨憨正直的憨憨</view>
|
|
|
+ <view class="btm">
|
|
|
+ <view class="userBox" wx:for="{{5}}" wx:key="index" wx:for-item="items">
|
|
|
+ <image src="{{item.userList[index+3].avatar}}" class="avatar" />
|
|
|
+ <view class="nickName textOver">{{item.userList[index+3].nickName||item.userList[index+3].eid||'请你来挑战'}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="ranking-class-2 {{type=='2'?'yxb':type=='3'?'rbb':'pkb'}}">
|
|
|
- <view class="header">
|
|
|
- <view class="left">
|
|
|
- <image src="{{type=='2'?'/static/yxb.png':type=='3'?'/static/rbb.png':'/static/pkb.png'}}" class="icon" />
|
|
|
- <view class="title">{{type=='2'?'邀新榜':type=='3'?'热播榜':'PK榜'}}</view><text>TOP100</text>
|
|
|
- </view>
|
|
|
- <view class="toAll">查看全部
|
|
|
- <image src="/static/rBtn.png" class="backIcon" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="body">
|
|
|
- <view class="row">
|
|
|
- <view class="left">
|
|
|
- <image src="/static/1-1.png" class="stand" />
|
|
|
- <image src="/static/play-big.png" class="avatar" />
|
|
|
- <view class="nickName textOver">樱桃小丸子</view>
|
|
|
- </view>
|
|
|
- <view class="right">
|
|
|
- <image src="{{type=='2'?'/static/yx.png':type=='3'?'/static/play.png':'/static/win.png'}}" class="playIcon" />
|
|
|
- <view class="num">186</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="row">
|
|
|
+ <view class="ranking-class-2 {{item.type=='1'?'yxb':item.type=='3'?'rbb':'pkb'}}" wx:if="{{item.bannerType==3}}">
|
|
|
+ <view class="header">
|
|
|
<view class="left">
|
|
|
- <image src="/static/2-1.png" class="stand" />
|
|
|
- <image src="/static/play-big.png" class="avatar" />
|
|
|
- <view class="nickName textOver">樱桃小丸子</view>
|
|
|
+ <image src="{{item.type=='1'?'/static/yxb.png':item.type=='3'?'/static/rbb.png':'/static/pkb.png'}}"
|
|
|
+ class="icon" />
|
|
|
+ <view class="title">{{item.title}}</view>
|
|
|
+ <!-- <view class="title">{{type=='2'?'邀新榜':type=='3'?'热播榜':'PK榜'}}</view><text>TOP100</text> -->
|
|
|
</view>
|
|
|
- <view class="right">
|
|
|
- <image src="{{type=='2'?'/static/yx.png':type=='3'?'/static/play.png':'/static/win.png'}}" class="playIcon" />
|
|
|
- <view class="num">186</view>
|
|
|
+ <view class="toAll">查看全部
|
|
|
+ <image src="/static/rBtn.png" class="backIcon" />
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="row">
|
|
|
- <view class="left">
|
|
|
- <image src="/static/3-1.png" class="stand" />
|
|
|
- <image src="/static/play-big.png" class="avatar" />
|
|
|
- <view class="nickName textOver">樱桃小丸子</view>
|
|
|
+ <view class="body">
|
|
|
+ <view class="row" wx:for="{{3}}" wx:key="index" wx:for-item='items'>
|
|
|
+ <view class="left">
|
|
|
+ <image src="/static/{{index+1}}-1.png" class="stand" />
|
|
|
+ <image src="{{item.userList[index].avatar}}" class="avatar" />
|
|
|
+ <view class="nickName textOver">{{item.userList[index].nickName||item.userList[index].eid}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="right">
|
|
|
+ <image src="{{item.type=='1'?'/static/yx.png':item.type=='3'?'/static/play.png':'/static/win.png'}}"
|
|
|
+ class="playIcon" />
|
|
|
+ <view class="num">{{item.userList[index].count}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="right">
|
|
|
- <image src="{{type=='2'?'/static/yx.png':type=='3'?'/static/play.png':'/static/win.png'}}" class="playIcon" />
|
|
|
- <view class="num">186</view>
|
|
|
+ <!-- <view class="row">
|
|
|
+ <view class="left">
|
|
|
+ <image src="/static/2-1.png" class="stand" />
|
|
|
+ <image src="/static/play-big.png" class="avatar" />
|
|
|
+ <view class="nickName textOver">樱桃小丸子</view>
|
|
|
+ </view>
|
|
|
+ <view class="right">
|
|
|
+ <image src="{{type=='2'?'/static/yx.png':type=='3'?'/static/play.png':'/static/win.png'}}"
|
|
|
+ class="playIcon" />
|
|
|
+ <view class="num">186</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <view class="row">
|
|
|
+ <view class="left">
|
|
|
+ <image src="/static/3-1.png" class="stand" />
|
|
|
+ <image src="/static/play-big.png" class="avatar" />
|
|
|
+ <view class="nickName textOver">樱桃小丸子</view>
|
|
|
+ </view>
|
|
|
+ <view class="right">
|
|
|
+ <image src="{{type=='2'?'/static/yx.png':type=='3'?'/static/play.png':'/static/win.png'}}"
|
|
|
+ class="playIcon" />
|
|
|
+ <view class="num">186</view>
|
|
|
+ </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="activityBox">
|
|
|
- <image src="" class="cover" />
|
|
|
- <view class="footer">
|
|
|
- <view class="info">
|
|
|
- <view class="title">新学期 朗读赛</view>
|
|
|
- <view class="time">2023.03.8-2023.03.14</view>
|
|
|
- </view>
|
|
|
- <view class="btn">立即参与</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ </block>
|
|
|
</view>
|