同步小程序与管理端更新,完善抽烟记录和解绑冷静期

This commit is contained in:
2026-10-09 22:15:51 +08:00
parent a68a4ef411
commit b10fc3c4ac
149 changed files with 3794 additions and 589 deletions
+13 -6
View File
@@ -43,7 +43,7 @@
</view>
<view class="unbind-info">
<text>发起时间:{{createdTime}}</text>
<text>⚠️ 确认解绑后,所有情侣记录将被永久删除</text>
<text>同意后进入72小时冷静期,期间任一方可取消</text>
</view>
<view class="unbind-actions" style="margin-top:32rpx;">
<button class="btn btn-primary" bindtap="agreeUnbind" style="background:#FF4757;">💔 同意解绑</button>
@@ -51,13 +51,20 @@
</view>
</view>
<view class="unbind-card" wx:elif="{{!loading && !loadError && status == 'cooling'}}">
<view class="unbind-icon">⏳</view><text class="unbind-title">72小时冷静期</text>
<text class="unbind-desc">冷静期内关系保留,双方均可撤销解绑;到期自动解绑并永久删除共同数据。个人抽烟记录保留。</text>
<view class="unbind-timer"><text class="timer-label">距正式解绑</text><text class="timer-value">{{timerText}}</text></view>
<button class="btn btn-outline" bindtap="cancelUnbind">撤销解绑,继续保留关系</button>
</view>
<!-- 已同意解绑 -->
<view class="unbind-card" wx:elif="{{!loading && !loadError && status == 'agreed'}}">
<view class="unbind-card" wx:elif="{{!loading && !loadError && status == 'completed'}}">
<view class="unbind-icon">💔</view>
<text class="unbind-title">已同意解绑</text>
<text class="unbind-desc">双方已确认解除情侣绑定,所有情侣数据已被永久删除</text>
<text class="unbind-title">解绑完成</text>
<text class="unbind-desc">冷静期已结束,已解除关系并删除共同数据。个人抽烟记录保留。</text>
<view class="unbind-info">
<text>回应时间:{{respondedTime}}</text>
<text>完成时间:{{completedTime}}</text>
</view>
<button class="btn btn-primary" bindtap="goHome" style="margin-top:32rpx;">返回首页</button>
</view>
@@ -77,7 +84,7 @@
<view class="unbind-card" wx:elif="{{!loading && !loadError && status == 'cancelled'}}">
<view class="unbind-icon">💕</view>
<text class="unbind-title">解绑请求已撤销</text>
<text class="unbind-desc">发起方已撤销了解绑请求</text>
<text class="unbind-desc">解绑已取消,关系继续保留</text>
<view class="unbind-info">
<text>撤销时间:{{respondedTime}}</text>
</view>