You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
1.7 KiB

<view class="activity-page"><view class="tab-box"><view class="tab-box acea-row row-around" style="position:fixed;"><view class="{{['tab-item '+(active==0?'tab-item-active':'')]}}" data-i="0" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">报名中</view><view class="{{['tab-item '+(active==10?'tab-item-active':'')]}}" data-i="10" data-event-opts="{{[['tap',[['tabClick',['$event']]]]]}}" bindtap="__e">已完成</view></view></view><view class="activity-list-box"><block wx:for="{{activityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="activity-item acea-row row-between" data-id="{{item.id}}" data-event-opts="{{[['tap',[['toDetail',['$event']]]]]}}" bindtap="__e"><view class="activity-img"><view class="img-box"><image src="{{item.images}}" mode="widthFix"></image></view></view><view class="activity-info-box"><view class="activity-info-title acea-row"><view class="line2"><text class="sm-card">{{item.cateName}}</text>{{item.name}}</view></view><view class="activity-info-time acea-row row-middle"><text>{{item.activityStartTime}}</text><text class="address line1">{{item.address}}</text></view><view class="signUp-box acea-row row-between"><text>{{"已报名人数:"+item.users.length}}</text><block wx:if="{{item.status==0}}"><view class="status-box">筹备中</view></block><block wx:if="{{item.status==1}}"><view class="status-box">报名中</view></block><block wx:if="{{item.status==2}}"><view class="status-box">待举办</view></block><block wx:if="{{item.status==3}}"><view class="status-box">已结束</view></block></view></view></view></block></view><view class="under-line">—已显示全部活动—</view></view>