1 line
1.5 KiB
Plaintext
1 line
1.5 KiB
Plaintext
<view class="container data-v-ca7415fe"><view class="tips data-v-ca7415fe">请在设备开机状态下,搜索设备</view><view data-event-opts="{{[['tap',[['openBluetoothAdapter',['$event']]]]]}}" class="item data-v-ca7415fe" bindtap="__e">开始搜索设备</view><view class="devices_summary data-v-ca7415fe">{{"已发现 "+$root.g0+" 个设备:"}}</view><view class="data-v-ca7415fe"><block wx:if="{{popup}}"><scroll-view class="device_list data-v-ca7415fe" scroll-y="{{true}}" scroll-with-animation="{{true}}"><block wx:for="{{devices}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['createBLEConnection',['$0'],[[['devices','',index]]]]]]]}}" class="device_item data-v-ca7415fe" bindtap="__e"><view class="data-v-ca7415fe"><text class="data-v-ca7415fe">{{item.localName||item.name}}</text></view><view class="data-v-ca7415fe">{{"mac地址:"+(item.macAddr||item.deviceId)}}</view></view></block></scroll-view></block></view><view class="tishi data-v-ca7415fe"><view class="text data-v-ca7415fe"><icon class="t-icon t-icon-tishi data-v-ca7415fe"></icon>设备绑定流程说明</view><view class="dv data-v-ca7415fe"><text class="data-v-ca7415fe">1、打开手机蓝牙和位置信息</text><text class="data-v-ca7415fe">2、ios系统需打开设置—>应用—>微信里的蓝牙权限</text><text class="data-v-ca7415fe">3、设备亮屏状态下搜索蓝牙</text><text class="data-v-ca7415fe">4、选择蓝牙进行绑定</text></view></view></view> |