1 line
2.7 KiB
Plaintext
1 line
2.7 KiB
Plaintext
<view class="content data-v-cb7d404f"><button class="data-v-cb7d404f" type="default" hidden="{{!a}}" bindtap="{{b}}"> 初始化蓝牙模块 </button><scroll-view class="data-v-cb7d404f" scroll-y="true" show-scrollbar="true"><radio-group class="data-v-cb7d404f"><block wx:if="{{c}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="i" class="data-v-cb7d404f" hidden="{{!item.j}}" 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" bindchange="{{item.c}}" data-name="{{item.d}}" data-deviceId="{{item.e}}"><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.f}} 信号强度: {{item.g}}dBm ({{item.h}}%) </view></view></block><view class="dis data-v-cb7d404f"><view wx:if="{{e}}" bindtap="{{f}}" class="pl data-v-cb7d404f"> 连接 </view><view wx:if="{{g}}" bindtap="{{h}}" class="pl data-v-cb7d404f"> 断开 </view></view></radio-group></scroll-view><view wx:if="{{i}}" class="barItems data-v-cb7d404f"><view wx:for="{{j}}" wx:for-item="item" wx: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" bindtap="{{item.b}}">-</view><input class="data-v-cb7d404f" type="tel" bindinput="{{item.c}}" value="{{item.d}}"/><view class="add data-v-cb7d404f" bindtap="{{item.e}}">+</view></view></view></view><view wx:if="{{k}}" class="timers data-v-cb7d404f"><view class="time data-v-cb7d404f">{{l}}</view><view class="btns data-v-cb7d404f"><view class="data-v-cb7d404f" bindtap="{{m}}">启动</view><view class="data-v-cb7d404f" bindtap="{{n}}">暂停</view><view class="data-v-cb7d404f" bindtap="{{o}}">停止</view></view></view><view wx:if="{{p}}" class="data-v-cb7d404f"><view class="input3 data-v-cb7d404f"><input class="data-v-cb7d404f" type="text" value="{{q}}" bindinput="{{r}}"/><input class="data-v-cb7d404f" type="text" value="{{s}}" bindinput="{{t}}"/></view><button type="default" class="send data-v-cb7d404f" bindtap="{{v}}">发送</button></view><view class="appItems data-v-cb7d404f"><viwe wx:for="{{w}}" wx:for-item="item" wx:key="d" u-s="{{['d']}}" class="{{['data-v-cb7d404f', item.c]}}" u-i="{{item.e}}" bind:__l="__l"><view class="txt data-v-cb7d404f">{{item.a}}</view><view class="name p_hide data-v-cb7d404f">{{item.b}}</view></viwe></view><view wx:if="{{x}}" class="items data-v-cb7d404f"><view wx:for="{{y}}" wx:for-item="item" wx:key="c" class="item data-v-cb7d404f">{{item.a}}:{{item.b}}</view></view></view> |