refactor: wear-check is now pure manual confirm, no BLE commands

Remove all fitting detection logic (setParams, fitting event listener,
timeout). User manually confirms wearing, then proceeds to detection
page. No BLE commands sent on this page.
这个提交包含在:
Guoguo
2026-06-29 03:57:05 -07:00
父节点 52f3ef971b
当前提交 f9141b25d0
修改 2 个文件,包含 28 行新增96 行删除
+2 -13
查看文件
@@ -28,18 +28,7 @@
</view>
</view>
<button class="btn-primary" bindtap="checkWearing" disabled="{{checking}}" loading="{{checking}}">
确认已佩戴
</button>
<button class="btn-secondary" bindtap="onRetry">重新连接</button>
<view class="check-result" wx:if="{{result === 'ok'}}">
<text class="check-ok">✓ 佩戴确认成功</text>
</view>
<view class="check-result" wx:if="{{result === 'fail'}}">
<text class="check-fail">{{error}}</text>
</view>
<button wx:if="{{result === 'ok'}}" class="btn-primary mt-30" bindtap="onNext">设置参数</button>
<button class="btn-primary" wx:if="{{connected}}" bindtap="onNext">确认已佩戴,开始检测</button>
<button class="btn-secondary" wx:if="{{!connected}}" bindtap="onRetry">重新连接</button>
</view>
</view>