<view class="container activity"><block wx:if="{{activityList.length>0}}"><view class="activity-content"><block wx:for="{{activityList}}" wx:for-item="activity" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['NavigatorPath',['$0'],[[['activityList','',index]]]]]]]}}" class="activity-list" bindtap="__e"><view class="activity-list-pic"><image class="activity-image" src="{{activity.listImage}}" mode></image></view><view class="activity-list-msg"><view class="activity-title">{{activity.name}}</view><view class="activity-numbe">商品数：<text class="color">{{activity.productCount}}</text></view><view class="activity-times"><text class="label">活动时间：</text><text class="color">{{activity.beginTime+" ~ "+activity.endTime}}</text></view></view></view></block></view></block><block wx:else><view class="activity-content-empty"><view class="empty-container"><image class="empty-container-image" src="{{StaticUrl+'icon-empty-activity.png'}}" mode="aspectFit"></image><text class="error-text">您还没有活动哟~</text><text class="error-text">可联系采美帮您设置活动~</text></view></view></block></view>