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.
 

44 lines
2.2 KiB

<!--pages/openLockLog/openLockLog.wxml-->
<view class="loglist">
<!-- <view class="lockli" wx:for="{{locklogList}}" :key="index">
<view class="devicenum">设备号:<span class="blue">{{item.deviceNum}}</span></view>
<view class="phone">电话:<span class="">{{item.userTelephone}}</span></view>
<view class="openType">开锁方式:<span class="">{{item.openType}}</span></view>
<view class="openTime">开锁时间:<span class="">{{item.openTime}}</span></view>
</view> -->
<van-tabs active="{{ active }}" color="#419AFE" sticky bind:change="onChange">
<van-tab title="其他开锁">
<view wx:for="{{locklogList}}" wx:key="locklogList" class="box" style="margin-bottom: 10px;">
<van-cell-group>
<van-cell title="开锁人员:" value="{{item.name}}" />
<van-cell title="电话:" value="{{item.userTelephone}}" />
<van-cell title="开锁方式:" value="{{item.openType}}" />
<van-cell title="开锁房间:" value="{{item.roomName}}" />
<van-cell title="开锁时间:" value="{{item.openTime}}" />
</van-cell-group>
</view>
</van-tab>
<van-tab title="蓝牙开锁">
<view wx:for="{{locklogListOne}}" wx:key="locklogListOne" class="box" style="margin-bottom: 10px;">
<van-cell-group>
<van-cell title="开锁人员:" value="{{item.name}}" />
<van-cell title="电话:" value="{{item.userTelephone}}" />
<van-cell title="开锁方式:" value="{{item.openType}}" />
<van-cell title="开锁房间:" value="{{item.roomName}}" />
<van-cell title="开锁时间:" value="{{item.openTime}}" />
</van-cell-group>
</view>
</van-tab>
<van-tab title="远程开锁" wx:if="{{cardId === ''}}">
<view wx:for="{{locklogListTwo}}" wx:key="locklogListTwo" class="box" style="margin-bottom: 10px;">
<van-cell-group>
<van-cell title="开锁人员:" value="{{item.name}}" />
<van-cell title="电话:" value="{{item.userTelephone}}" />
<van-cell title="开锁方式:" value="{{item.openType}}" />
<van-cell title="开锁房间:" value="{{item.roomName}}" />
<van-cell title="开锁时间:" value="{{item.openTime}}" />
</van-cell-group>
</view>
</van-tab>
</van-tabs>
</view>