<view class="{{[$root.m0?'empty-wrap':'']}}"><block wx:if="{{device_list.length>0}}"><view class="openButton_contain"><block wx:for="{{device_list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="padding-30" style="border-bottom:1rpx solid #EEEEEE;display:flex;justify-content:space-between;"><text style="margin:8rpx 0 0 6rpx;">{{item.name}}</text><view class="cu-btn bg-red sm round " data-device_id="{{item.id}}" data-event-opts="{{[['tap',[['openDoor',['$event']]]]]}}" bindtap="__e">立即开门</view></view></block></view></block><block wx:if="{{$root.m1}}"><view class="default"><image src="/static/common/empty.png" mode="heightFix"></image><view><text>没有获取到设备信息</text></view></view></block></view>