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.

43 lines
2.2 KiB

1 year ago
  1. <!--pages/openLockLog/openLockLog.wxml-->
  2. <view class="loglist">
  3. <!-- <view class="lockli" wx:for="{{locklogList}}" :key="index">
  4. <view class="devicenum">设备号:<span class="blue">{{item.deviceNum}}</span></view>
  5. <view class="phone">电话:<span class="">{{item.userTelephone}}</span></view>
  6. <view class="openType">开锁方式:<span class="">{{item.openType}}</span></view>
  7. <view class="openTime">开锁时间:<span class="">{{item.openTime}}</span></view>
  8. </view> -->
  9. <van-tabs active="{{ active }}" color="#419AFE" sticky bind:change="onChange">
  10. <van-tab title="其他开锁">
  11. <view wx:for="{{locklogList}}" wx:key="locklogList" class="box" style="margin-bottom: 10px;">
  12. <van-cell-group>
  13. <van-cell title="开锁人员:" value="{{item.name}}" />
  14. <van-cell title="电话:" value="{{item.userTelephone}}" />
  15. <van-cell title="开锁方式:" value="{{item.openType}}" />
  16. <van-cell title="开锁房间:" value="{{item.roomName}}" />
  17. <van-cell title="开锁时间:" value="{{item.openTime}}" />
  18. </van-cell-group>
  19. </view>
  20. </van-tab>
  21. <van-tab title="蓝牙开锁">
  22. <view wx:for="{{locklogListOne}}" wx:key="locklogListOne" class="box" style="margin-bottom: 10px;">
  23. <van-cell-group>
  24. <van-cell title="开锁人员:" value="{{item.name}}" />
  25. <van-cell title="电话:" value="{{item.userTelephone}}" />
  26. <van-cell title="开锁方式:" value="{{item.openType}}" />
  27. <van-cell title="开锁房间:" value="{{item.roomName}}" />
  28. <van-cell title="开锁时间:" value="{{item.openTime}}" />
  29. </van-cell-group>
  30. </view>
  31. </van-tab>
  32. <van-tab title="远程开锁" wx:if="{{cardId === ''}}">
  33. <view wx:for="{{locklogListTwo}}" wx:key="locklogListTwo" class="box" style="margin-bottom: 10px;">
  34. <van-cell-group>
  35. <van-cell title="开锁人员:" value="{{item.name}}" />
  36. <van-cell title="电话:" value="{{item.userTelephone}}" />
  37. <van-cell title="开锁方式:" value="{{item.openType}}" />
  38. <van-cell title="开锁房间:" value="{{item.roomName}}" />
  39. <van-cell title="开锁时间:" value="{{item.openTime}}" />
  40. </van-cell-group>
  41. </view>
  42. </van-tab>
  43. </van-tabs>
  44. </view>