|
@@ -1,34 +1,8 @@
|
|
|
<wxs src="../../utils/filter.wxs" module="filters" />
|
|
|
<view class="activityList">
|
|
|
- <!-- <view class="activityBox">
|
|
|
- <image src="" class="cover" />
|
|
|
- <view class="footer">
|
|
|
- <view class="info">
|
|
|
- <view class="title">标题</view>
|
|
|
- <view class="time">{{filters.formatDate(item.startTime,2)}}—{{filters.formatDate(item.endTime,2)}}
|
|
|
- </view>
|
|
|
- <view class="timeOut {{item.second=='00'?'closing':''}}" wx:if="{{item.second}}">距活动结束:
|
|
|
- <view class="outNum">{{item.hour}}</view>
|
|
|
- <view class="outSplit">:</view>
|
|
|
- <view class="outNum">{{item.minute}}</view>
|
|
|
- <view class="outSplit">:</view>
|
|
|
- <view class="outNum">{{item.second}}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="btn {{item.second=='00'?'closingBtn':''}}" bindtap="drawVoucher">立即领取</view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
<block wx:for="{{activityList}}" wx:key="id">
|
|
|
<view class="activityBox" wx:if="{{item.bannerType==1}}" bindtap="activityEvent" data-info="{{item}}">
|
|
|
<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="ranking-class-1 {{item.type=='2'?'yxb':item.type=='3'?'rbb':'pkb'}}" wx:if="{{item.bannerType==2}}">
|
|
|
<view class="header">
|
|
@@ -101,6 +75,25 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="activityBox" wx:if="{{item.bannerType==4}}">
|
|
|
+ <image src="{{item.icon}}" class="cover-small " />
|
|
|
+ <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 class="timeOut {{item.second=='00'?'closing':''}}" wx:if="{{item.second}}">距活动结束:
|
|
|
+ <view class="outNum">{{item.hour}}</view>
|
|
|
+ <view class="outSplit">:</view>
|
|
|
+ <view class="outNum">{{item.minute}}</view>
|
|
|
+ <view class="outSplit">:</view>
|
|
|
+ <view class="outNum">{{item.second}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="btn {{item.second=='00'?'closingBtn':''}}" data-info='{{item}}' bindtap="drawVoucher">立即领取
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</block>
|
|
|
</view>
|
|
|
<Voucher id="voucher" />
|