adultDeviceApp/unpackage/dist/dev/mp-weixin/pages/index/active.wxml

1 line
1.6 KiB
Plaintext

<view class="content data-v-08fff25c" style="{{'border-top-color:'+(appTheme)+';'}}"><view class="tips data-v-08fff25c">请在设备开机状态下,搜索设备</view><view data-event-opts="{{[['tap',[['handleWeight',['$event']]]]]}}" class="item data-v-08fff25c" bindtap="__e">开始搜索设备</view><view class="devices_summary data-v-08fff25c">{{"已发现 "+$root.g0+" 个设备:"}}</view><view class="data-v-08fff25c"><block wx:if="{{popup}}"><scroll-view class="device_list data-v-08fff25c" 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-08fff25c" bindtap="__e"><view class="data-v-08fff25c"><text class="data-v-08fff25c">{{item.localName||item.name}}</text></view><view class="data-v-08fff25c">{{"mac地址:"+(item.macAddr||item.deviceId)}}</view></view></block></scroll-view></block></view><view class="tishi data-v-08fff25c"><view class="text data-v-08fff25c"><icon class="t-icon t-icon-tishi data-v-08fff25c"></icon>设备激活流程说明</view><view class="dv data-v-08fff25c"><text class="data-v-08fff25c">1、打开手机蓝牙和位置信息</text><text class="data-v-08fff25c">2、ios系统需打开设置—>应用—>微信里的蓝牙权限</text><text class="data-v-08fff25c">3、设备亮屏状态下搜索蓝牙</text><text class="data-v-08fff25c">4、选择蓝牙进行激活</text></view></view><user-login vue-id="16feda2a-1" url="active" code="{{code}}" class="data-v-08fff25c" bind:__l="__l"></user-login></view>