CI/CD Pipeline / Test Shell Guard (Phase 23 Gate) (push) Canceled after 0s
CI/CD Pipeline / Backend Build & Test (push) Canceled after 0s
CI/CD Pipeline / Admin Web Build (push) Canceled after 0s
CI/CD Pipeline / Mini Program Compile Check (push) Canceled after 0s
CI/CD Pipeline / Migration Validation (push) Canceled after 0s
CI/CD Pipeline / UI Contracts (source-structure gates) (push) Canceled after 0s
CI/CD Pipeline / E2E (live stack) (push) Canceled after 0s
35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
<view class="container">
|
|
<block wx:if="{{loading}}">
|
|
<view class="loading">加载中...</view>
|
|
</block>
|
|
<block wx:elif="{{results.length === 0}}">
|
|
<view class="empty">
|
|
<text class="empty-icon">🎯</text>
|
|
<text class="empty-text">暂无互选结果</text>
|
|
<text class="empty-hint">参加活动时可以向感兴趣的人表达意向</text>
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<view class="result-card" wx:for="{{results}}" wx:key="partnerId" wx:for-item="item">
|
|
<view class="card-header">
|
|
<image class="avatar" src="{{item.partnerAvatar || '/images/default-avatar.png'}}" mode="aspectFill" />
|
|
<view class="info">
|
|
<text class="name">{{item.partnerName || '新朋友'}}</text>
|
|
<text class="status-badge {{item.bothConfirmed ? 'badge-confirmed' : 'badge-waiting'}}">
|
|
{{item.bothConfirmed ? '双方已确认' : '等待对方确认'}}
|
|
</text>
|
|
</view>
|
|
</view>
|
|
<view class="card-body">
|
|
<text class="activity-name">来自活动:{{item.activityTitle}}</text>
|
|
</view>
|
|
<view class="card-actions" wx:if="{{!item.bothConfirmed}}">
|
|
<button class="btn-waiting" disabled>等待对方确认</button>
|
|
</view>
|
|
<view class="card-actions" wx:if="{{item.bothConfirmed}}">
|
|
<text class="service-hint">双方已确认,可查看公益活动和服务站</text>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
</view>
|