1 line
2.6 KiB
XML
1 line
2.6 KiB
XML
<view class="content data-v-cb7d404f"><button class="data-v-cb7d404f" type="default" hidden="{{!a}}" onTap="{{b}}"> 初始化蓝牙模块 </button><scroll-view class="data-v-cb7d404f" scroll-y="true" show-scrollbar="true"><radio-group class="data-v-cb7d404f"><block a:if="{{c}}"><view a:for="{{d}}" a:for-item="item" a:key="h" class="data-v-cb7d404f" hidden="{{!item.i}}" style="padding:10rpx 20rpx;border-bottom:1rpx solid #ececec"><view class="data-v-cb7d404f" style="font-size:32rpx;color:#333"><checkbox-group class="data-v-cb7d404f" onChange="{{e}}" data-name="{{item.c}}" data-deviceId="{{item.d}}"><label class="data-v-cb7d404f"><checkbox class="data-v-cb7d404f" value="{{item.b}}">{{item.a}}</checkbox></label></checkbox-group></view><view class="data-v-cb7d404f" style="font-size:20rpx;padding:10rpx 0"> deviceId: {{item.e}} 信号强度: {{item.f}}dBm ({{item.g}}%) </view></view></block><view class="dis data-v-cb7d404f"><view a:if="{{f}}" onTap="{{g}}" class="pl data-v-cb7d404f"> 连接 </view><view a:if="{{h}}" onTap="{{i}}" class="pl data-v-cb7d404f"> 断开 </view></view></radio-group></scroll-view><view a:if="{{j}}" class="barItems data-v-cb7d404f"><view a:for="{{k}}" a:for-item="item" a:key="f" class="barItem data-v-cb7d404f"><view class="name data-v-cb7d404f">{{item.a}}</view><view class="bar data-v-cb7d404f"><view class="reduce data-v-cb7d404f" onTap="{{item.b}}">-</view><input class="data-v-cb7d404f" type="tel" onInput="{{item.c}}" value="{{item.d}}"/><view class="add data-v-cb7d404f" onTap="{{item.e}}">+</view></view></view></view><view a:if="{{l}}" class="timers data-v-cb7d404f"><view class="time data-v-cb7d404f">{{m}}</view><view class="btns data-v-cb7d404f"><view class="data-v-cb7d404f" onTap="{{n}}">启动</view><view class="data-v-cb7d404f" onTap="{{o}}">暂停</view><view class="data-v-cb7d404f" onTap="{{p}}">停止</view></view></view><view a:if="{{q}}" class="data-v-cb7d404f"><view class="input3 data-v-cb7d404f"><input class="data-v-cb7d404f" type="text" value="{{r}}" onInput="{{s}}"/><input class="data-v-cb7d404f" type="text" value="{{t}}" onInput="{{v}}"/></view><button type="default" class="send data-v-cb7d404f" onTap="{{w}}">发送</button></view><view class="appItems data-v-cb7d404f"><viwe a:for="{{x}}" a:for-item="item" a:key="d" u-s="{{['d']}}" class="{{('data-v-cb7d404f') + ' ' + item.c}}" u-i="{{item.e}}" onVI="__l"><view class="txt data-v-cb7d404f">{{item.a}}</view><view class="name p_hide data-v-cb7d404f">{{item.b}}</view></viwe></view><view a:if="{{y}}" class="items data-v-cb7d404f"><view a:for="{{z}}" a:for-item="item" a:key="c" class="item data-v-cb7d404f">{{item.a}}:{{item.b}}</view></view></view> |