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.
这个提交包含在:
@@ -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>
|
||||
|
||||
在新工单中引用
屏蔽一个用户