2026-09-09 22:05:00 +08:00
|
|
|
<view class="container">
|
|
|
|
|
<view class="header">
|
|
|
|
|
<image class="avatar" src="{{partnerAvatar || '/images/default-avatar.png'}}" mode="aspectFill" />
|
|
|
|
|
<text class="partner-name">{{partnerName || '新朋友'}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="status-section" wx:if="{{bothConfirmed}}">
|
|
|
|
|
<view class="success-icon">✅</view>
|
|
|
|
|
<text class="success-title">双方已确认!</text>
|
|
|
|
|
<text class="success-hint">你们可以开始聊天了</text>
|
|
|
|
|
<button class="chat-btn" bindtap="openChat">开启聊天</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="status-section" wx:elif="{{myConfirmed}}">
|
|
|
|
|
<view class="waiting-icon">⏳</view>
|
|
|
|
|
<text class="waiting-title">已发送邀请</text>
|
|
|
|
|
<text class="waiting-hint">对方确认后你们可以开始聊天</text>
|
|
|
|
|
<button class="decline-btn" bindtap="onDecline">暂不联系</button>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="status-section" wx:else>
|
|
|
|
|
<view class="pending-icon">💬</view>
|
2026-09-23 11:19:17 +08:00
|
|
|
<text class="pending-title">向对方表达兴趣</text>
|
2026-09-09 22:05:00 +08:00
|
|
|
<text class="pending-hint">双方确认后才能开启线上沟通</text>
|
|
|
|
|
<button class="confirm-btn" bindtap="onConfirm">确认开启沟通</button>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|