You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
4.0 KiB

1 year ago
  1. <!--pages/Bluetooth1/Bluetooth1.wxml-->
  2. <view class="">
  3. <view wx:if="{{deviceInfo.roomId}}" class="btnlist">
  4. <!-- <van-button type="info" size="small" color="" class="btnli" bindtap="adduser">添加用户</van-button> -->
  5. <van-button type="info" size="small" color="" class="btnli" bindtap="openTheDoor" data-current="0">蓝牙开锁</van-button>
  6. <van-button type="info" size="small" color="" class="btnli" bindtap="addAdmin" data-current="1">初始化管理员</van-button>
  7. <!-- <van-button type="info" size="small" color="" class="btnli" >设置NB网关</van-button> -->
  8. <!-- <van-button type="info" size="small" color="" class="btnli" bindtap="deleteUser">删除用户</van-button> -->
  9. <!-- <van-button type="info" size="small" color="" class="btnli" bindtap="synchronizationTime">同步时间</van-button> -->
  10. <!-- <van-button type="info" size="small" color="" class="btnli" >蓝牙添加密码</van-button> -->
  11. <!-- <van-button type="info" size="small" color="" class="btnli" bindtap="addFingerPrints">添加指纹</van-button> -->
  12. <!-- <van-button type="info" size="small" color="" class="btnli" bindtap="setVoice">设置音量</van-button> -->
  13. <!--
  14. <van-button type="info" size="small" color="" class="btnli" >上传开锁记录</van-button> -->
  15. <!-- <van-button type="info" size="small" color="" class="btnli" >固件升级</van-button> -->
  16. <!-- <van-button type="info" size="small" color="" class="btnli" bindtap="readLockStatus">读取锁状态</van-button> -->
  17. <van-button type="info" size="small" color="" class="btnli" bindtap="unbindRoom">房间解绑</van-button>
  18. <van-button type="info" size="small" color="" class="btnli" bindtap="resetLock" data-current="2">重置门锁</van-button>
  19. <!-- <van-button type="info" size="small" color="" class="btnli" >设置WiFi</van-button>
  20. <van-button type="info" size="small" color="" class="btnli" >下发5组密钥</van-button> -->
  21. </view>
  22. <view class="bindRoom" wx:else>
  23. <van-button type="default" size="large" bindtap="bindroom">绑定房间</van-button>
  24. </view>
  25. <view class="locktext" wx:if="{{deviceInfo.roomId && lockStatus}}">
  26. <view class="lockli">版本号:{{lockStatus.softWareVersion}}</view>
  27. <view class="lockli">电量:{{lockStatus.power}}</view>
  28. <view class="lockli">NB信号:{{lockStatus.nbSignal}}</view>
  29. <view class="lockli">IMEI:{{lockStatus.nbIMEI}}</view>
  30. <view class="lockli">IMSI:{{lockStatus.nvIMSI}}</view>
  31. <view class="lockli">用户数量:{{lockStatus.appUserCount}}</view>
  32. <view class="lockli">黑名单用户数量:{{lockStatus.blackListCount}}</view>
  33. <view class="lockli">蓝牙扣数量:{{lockStatus.bleKeyCount}}</view>
  34. <view class="lockli">剩余可添加用户数量:{{lockStatus.remainCount}}</view>
  35. <view class="lockli">未上传开锁记录数量:{{lockStatus.notUploadCount}}</view>
  36. <view class="lockli">密码数量:{{lockStatus.pwdCount}}</view>
  37. <view class="lockli">指纹数量:{{lockStatus.fingerPrintsCount}}</view>
  38. <view class="lockli">门卡数量:{{lockStatus.RFCount}}</view>
  39. <view class="lockli">锁当前时间:{{lockStatus.lockTime}}</view>
  40. <view class="lockli">锁型号:{{lockStatus.lockerMode}}</view>
  41. <view class="lockli">锁SN号:{{lockStatus.lockSn}}</view>
  42. <view class="lockli">WiFi名:{{lockStatus.wifiSsid}}</view>
  43. <view class="lockli">服务器:{{lockStatus.serverIp}}</view>
  44. <view class="lockli">服务器端口:{{lockStatus.serverPort}}</view>
  45. </view>
  46. <van-popup show="{{ show }}" bind:close="onClose" position="bottom" custom-style="height: 60%">
  47. <tree
  48. dataTree="{{dataList}}"
  49. selectKey="{{selectKey}}"
  50. bind:select="handleSelect"
  51. isSelectLastNode="true"
  52. isOpenAll="{{false}}"
  53. ></tree>
  54. </van-popup>
  55. <van-action-sheet show="{{ show1 }}" actions="{{ actions }}" bind:close="onClose1" bind:select="onSelect1" />
  56. <!-- <view bindtap="readLockStatus">读取锁状态</view>
  57. <view bindtap="resetLock1">重置</view> -->
  58. </view>