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.
18 lines
656 B
18 lines
656 B
1 month ago
|
<view class="container">
|
||
|
<view class="search-bar">
|
||
|
<input type="text" placeholder="搜索活动" bindinput="onSearchInput" />
|
||
|
</view>
|
||
|
|
||
|
<view class="activity-list">
|
||
|
<block wx:for="{{activities}}" wx:key="id">
|
||
|
<button class="activity-item" bindtap="onActivityTap" data-id="{{item.id}}">
|
||
|
<view class="activity-info">
|
||
|
<text class="activity-name">{{item.name}}</text>
|
||
|
<text class="activity-participants">参与人数:{{item.participants}}</text>
|
||
|
</view>
|
||
|
</button>
|
||
|
</block>
|
||
|
</view>
|
||
|
|
||
|
<button class="create-btn" bindtap="onCreateActivity">创建自定义</button>
|
||
|
</view>
|