Files
danyang-match/miniapp/pages/activity-matches/activity-matches.wxml
T

34 lines
1.3 KiB
Plaintext
Raw Normal View History

2026-09-09 22:05:00 +08:00
<!-- 活动互选结果页 U36 -->
<view class="page">
<view class="header">
<text class="title">活动缘分</text>
<text class="activity-name">{{activityTitle}}</text>
</view>
<view wx:if="{{loading}}" class="loading-state">
<text>加载中...</text>
</view>
<view wx:if="{{!loading && matches.length === 0}}" class="empty-state">
<text class="empty-icon">✦</text>
<text>暂无双向匹配</text>
<text class="empty-hint">活动结束后,与其他参与者互相表达意愿后可在此查看</text>
</view>
<view wx:if="{{!loading && matches.length > 0}}" class="match-list">
<view class="match-card" wx:for="{{matches}}" wx:key="targetUserId"
bindtap="goToProfile" data-user-id="{{item.targetUserId}}">
<image class="match-avatar" src="{{item.fileKey || '/assets/default-avatar.png'}}" mode="aspectFill"/>
<view class="match-info">
<text class="match-name">{{item.name}}</text>
<text class="match-meta">{{item.age}}岁 · {{item.locationName || ''}}</text>
</view>
<view class="match-actions" catchtap>
<text class="match-service-hint">可查看公益服务</text>
2026-09-09 22:05:00 +08:00
</view>
</view>
</view>
<button class="btn-refresh" bindtap="onRefresh" wx:if="{{!loading}}">刷新</button>
</view>