国外MOSE官网
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
3.4 KiB

<view class="activity-page data-v-dfc5aa9e"><view class="search-section data-v-dfc5aa9e"><view class="search-bar data-v-dfc5aa9e"><uv-icon vue-id="68858b41-1" name="search" size="18" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><input class="search-input data-v-dfc5aa9e" type="text" placeholder="搜索活动名称" data-event-opts="{{[['input',[['__set_model',['','searchKeyword','$event',[]]]]]]}}" value="{{searchKeyword}}" bindinput="__e"/></view><view class="primary-tabs data-v-dfc5aa9e"><view data-event-opts="{{[['tap',[['switchPrimaryTab',['current']]]]]}}" class="{{['primary-tab-item','data-v-dfc5aa9e',(primaryActiveTab==='current')?'active':'']}}" bindtap="__e">当前活动</view><view data-event-opts="{{[['tap',[['switchPrimaryTab',['past']]]]]}}" class="{{['primary-tab-item','data-v-dfc5aa9e',(primaryActiveTab==='past')?'active':'']}}" bindtap="__e">往期活动</view></view></view><view class="secondary-tabs data-v-dfc5aa9e"><uv-tabs vue-id="68858b41-2" list="{{secondaryTabs}}" current="{{secondaryActiveIndex}}" lineColor="#007AFF" activeColor="#007AFF" inactiveColor="#666" lineWidth="{{30}}" lineHeight="{{3}}" itemStyle="padding: 10px 20px;" data-event-opts="{{[['^change',[['switchSecondaryTab']]]]}}" bind:change="__e" class="data-v-dfc5aa9e" bind:__l="__l"></uv-tabs></view><view class="activity-list data-v-dfc5aa9e"><block wx:for="{{filteredActivities}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goToActivityDetail',['$0'],[[['filteredActivities','',index]]]]]]]}}" class="activity-item data-v-dfc5aa9e" bindtap="__e"><view class="activity-image data-v-dfc5aa9e"><image class="image data-v-dfc5aa9e" src="{{item.image}}" mode="aspectFill"></image></view><view class="activity-info data-v-dfc5aa9e"><view class="title-row data-v-dfc5aa9e"><view class="activity-tag data-v-dfc5aa9e" style="{{'background-color:'+(item.tagColor)+';'}}">{{''+item.tag+''}}</view><view class="activity-title data-v-dfc5aa9e">{{item.title}}</view></view><view class="activity-location data-v-dfc5aa9e"><uv-icon vue-id="{{'68858b41-3-'+index}}" name="map-fill" size="14" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><text class="location-text data-v-dfc5aa9e">{{item.location}}</text></view><view class="activity-time data-v-dfc5aa9e"><uv-icon vue-id="{{'68858b41-4-'+index}}" name="calendar" size="14" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><text class="time-text data-v-dfc5aa9e">{{item.time}}</text></view><view class="activity-participants data-v-dfc5aa9e"><uv-icon vue-id="{{'68858b41-5-'+index}}" name="account-fill" size="14" color="#999" class="data-v-dfc5aa9e" bind:__l="__l"></uv-icon><text class="participants-text data-v-dfc5aa9e">{{"报名人数:"+item.participants+"/"+item.maxParticipants}}</text></view></view><view class="activity-action data-v-dfc5aa9e"><uv-button vue-id="{{'68858b41-6-'+index}}" type="primary" size="mini" shape="circle" text="{{item.isFullOrExpired?'已结束':'报名中'}}" disabled="{{item.isFullOrExpired}}" data-event-opts="{{[['^click',[['signUpActivity',['$0'],[[['filteredActivities','',index]]]]]]]}}" catch:click="__e" class="data-v-dfc5aa9e" bind:__l="__l"></uv-button></view></view></block></view><block wx:if="{{$root.g0===0}}"><view class="empty-state data-v-dfc5aa9e"><uv-empty vue-id="68858b41-7" mode="data" text="暂无活动数据" class="data-v-dfc5aa9e" bind:__l="__l"></uv-empty></view></block></view>