<view class="containerView public">

    <!-- 标题 -->
    <view class="itemTitleView">
        <view class="leftLineTitle">设备</view>
    </view>

    <!-- 门禁控制列表 -->
    <view class="controlView">
        <view class="controlItem" wx:for="{{equipmentDataList}}" wx:key="*this">
            <view class="msg">
                <view class="title">{{item.equipmentName}}</view>
                <view class="status {{item.statusClass}}">{{item.equipmentStatus}}</view>
            </view>
            <image class="openCloseImg" src="{{IMG_NAME + '/profile/static/meeting/accessControl/openClose.png'}}" mode="aspectFill" data-deviceid="{{item.equipmentId}}" data-status="{{item.equipmentStatus}}" data-roomid="{{item.roomId}}" bind:tap="openDoor" />
        </view>
    </view>

    <!-- 标题 -->
    <view class="itemTitleView">
        <view class="leftLineTitle">开门记录</view>
        <view class="more" bind:tap="jumpOpenDoorRecord">更多</view>
    </view>

    <!-- 开门记录 -->
    <view class="recordView">
        <view class="recordItem" wx:for="{{openRecordList}}" wx:key="*this">
            <view class="timeView">
                <view class="timeYMD">{{item.createTimeYMD}}</view>
                <view class="timeHm">{{item.createTimeHM}}</view>
            </view>
            <view class="msg">{{item.deviceName}}</view>
        </view>
    </view>

</view>

<!-- 消息通知 -->
<van-notify id="van-notify" />