|
@ -47,7 +47,7 @@ |
|
|
<view class="iconfont icon-suoding text-green"></view> |
|
|
<view class="iconfont icon-suoding text-green"></view> |
|
|
<view class="text-grey text-sm">蓝牙开锁</view> |
|
|
<view class="text-grey text-sm">蓝牙开锁</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="actionli" bindtap="btntest1" data-i="1" wx:if="userRole == 1"> |
|
|
|
|
|
|
|
|
<view class="actionli" bindtap="btntest1" data-i="1" wx:if="userRole == 1" wx:if="{{deviceinfo.manufactureId ==201 || deviceinfo.manufactureId ==221}}"> |
|
|
<view class="iconfont icon-xiaoxi text-green"></view> |
|
|
<view class="iconfont icon-xiaoxi text-green"></view> |
|
|
<view class="text-grey text-sm">添加蓝牙密码</view> |
|
|
<view class="text-grey text-sm">添加蓝牙密码</view> |
|
|
</view> |
|
|
</view> |
|
@ -87,6 +87,10 @@ |
|
|
<view class="iconfont icon-xiaoxi text-green"></view> |
|
|
<view class="iconfont icon-xiaoxi text-green"></view> |
|
|
<view class="text-grey text-sm">临时密码</view> |
|
|
<view class="text-grey text-sm">临时密码</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="actionli" bindtap="changeshow2" data-i="3" wx:if="{{deviceinfo.manufactureId ==1201 || deviceinfo.manufactureId == 1241}}"> |
|
|
|
|
|
<view class="iconfont icon-shezhi text-green"></view> |
|
|
|
|
|
<view class="text-grey text-sm">配网</view> |
|
|
|
|
|
</view> |
|
|
<view class="actionli" bindtap="btntest1" data-i="6" wx:if="{{IssuingPersonnel}}"> |
|
|
<view class="actionli" bindtap="btntest1" data-i="6" wx:if="{{IssuingPersonnel}}"> |
|
|
<view class="iconfont icon-shezhi text-red"></view> |
|
|
<view class="iconfont icon-shezhi text-red"></view> |
|
|
<view class="text-grey text-sm">设置声音</view> |
|
|
<view class="text-grey text-sm">设置声音</view> |
|
@ -134,4 +138,13 @@ |
|
|
<view class="devicelist"> |
|
|
<view class="devicelist"> |
|
|
<van-cell title="{{item.name}}" value="点击连接" data-select="{{item}}" bindtap="searchBlueButton" is-link wx:for="{{deviceList}}" wx:for-index="{{index}}" wx:for-item="item" /> |
|
|
<van-cell title="{{item.name}}" value="点击连接" data-select="{{item}}" bindtap="searchBlueButton" is-link wx:for="{{deviceList}}" wx:for-index="{{index}}" wx:for-item="item" /> |
|
|
</view> |
|
|
</view> |
|
|
</van-popup> |
|
|
|
|
|
|
|
|
</van-popup> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 配网弹出框 --> |
|
|
|
|
|
<van-popup show="{{ show2 }}" round bind:close="onClose2" custom-style="width: 90%;"> |
|
|
|
|
|
<view class="wificontact"> |
|
|
|
|
|
<van-field value="{{ wifiName }}" placeholder="请输入wifi名称" border="{{ false }}" bind:change="onChangewifi" /> |
|
|
|
|
|
<van-field value="{{ wifiPwd }}" placeholder="请输入wifi密码" border="{{ false }}" bind:change="onChangewifi1" /> |
|
|
|
|
|
<van-button block type="primary" bindtap="configurationWifi">确定</van-button> |
|
|
|
|
|
</view> |
|
|
|
|
|
</van-popup> |