emergencyEvacuationBigFullScreen.wxml 3.7 KB

1
  1. <view id="emergencyEvacuationBigFullScreen" class="data-v-7aff74ee"><block wx:if="{{mapType}}"><view class="emergencyEvacuationBigFullScreen-page data-v-7aff74ee" style="{{('width:'+mapWidth+'px;height:'+mapHeight+'px;transform: scale('+zoomData+');margin-top:-'+mapHeight/2+'px;margin-left:-'+mapWidth/2+'px;')}}"><view class="map-max-box data-v-7aff74ee" style="{{('width:'+mapWidth+'px;height:'+mapHeight+'px;')}}"><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.$orig.type==1}}"><view class="{{['map-max-for-box','for-map-box','data-v-7aff74ee',!item.$orig.policeType&&checkSubId==item.$orig.subId?'room-type-one':item.$orig.policeType&&checkSubId!=item.$orig.subId?'room-type-two':item.$orig.policeType&&checkSubId==item.$orig.subId?'room-type-three':!item.$orig.loginAdmin?'room-type-noe':'']}}" style="{{('top:'+item.$orig.y+'px;left:'+item.$orig.x+'px;width:'+(item.$orig.w-4)+'px;height:'+(item.$orig.h-4)+'px;')}}"><view class="map-max-for-min-box data-v-7aff74ee"><view class="map-for-name-p data-v-7aff74ee" style="{{('margin-top:'+(item.$orig.h/2-20)+'px;')}}">{{''+(item.$orig.roomType=='-99'?item.$orig.roomName:item.$orig.subName)+''}}</view><view class="map-for-num-p data-v-7aff74ee">{{"("+item.$orig.roomNum+")"}}</view><block wx:for="{{item.l0}}" wx:for-item="minItem" wx:for-index="minIndex" wx:key="minIndex"><view class="{{['position-box','data-v-7aff74ee',minItem.$orig.toward=='top'?'center-move-door-p-t':minItem.$orig.toward=='bottom'?'center-move-door-p-b':minItem.$orig.toward=='left'?'center-move-door-p-l':minItem.$orig.toward=='right'?'center-move-door-p-r':'']}}" style="{{('top:'+minItem.$orig.y+'px;left:'+minItem.$orig.x+'px;width:'+minItem.$orig.w+'px;height:'+minItem.$orig.h+'px;')}}" src="{{minItem.m0}}"></view></block></view></view></block></block><block wx:for="{{mapList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.type==2}}"><view class="map-max-for-box for-map-box-one data-v-7aff74ee" style="{{('top:'+item.y+'px;left:'+item.x+'px;width:'+item.w+'px;height:'+item.h+'px;')}}"><view class="map-max-for-min-box data-v-7aff74ee"><block wx:for="{{item.lightList}}" wx:for-item="minItem" wx:for-index="minIndex" wx:key="minIndex"><view data-event-opts="{{[['tap',[['lighButton',['$0'],[[['mapList','',index],['lightList','',minIndex]]]]]]]}}" class="{{['position-box','data-v-7aff74ee',minItem.state=='1'&&minItem.openType?'lightTopOn':minItem.state=='1'&&!minItem.openType?'lightTopOff':minItem.state=='2'&&minItem.openType?'lightBottomOn':minItem.state=='2'&&!minItem.openType?'lightBottomOff':minItem.state=='3'&&minItem.openType?'lightLeftOn':minItem.state=='3'&&!minItem.openType?'lightLeftOff':minItem.state=='4'&&minItem.openType?'lightRightOn':minItem.state=='4'&&!minItem.openType?'lightRightOff':'']}}" style="{{('top:'+minItem.y+'px;left:'+minItem.x+'px;width:'+minItem.w+'px;height:'+minItem.h+'px;')}}" bindtap="__e"></view></block></view></view></block></block><block wx:for="{{mapList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.type==3}}"><view data-event-opts="{{[['tap',[['checkRoom',['$0'],[[['mapList','',index]]]]]]]}}" class="{{['map-max-for-box','for-map-box-two','data-v-7aff74ee',item.roomCheckType?'for-map-box-two-check':'']}}" style="{{('top:'+item.y+'px;left:'+item.x+'px;width:'+item.w+'px;height:'+item.h+'px;')}}" bindtap="__e"></view></block></block></view></view></block><view data-event-opts="{{[['tap',[['backButton',['$event']]]]]}}" class="position-button data-v-7aff74ee" bindtap="__e">退出全屏</view><block wx:if="{{isEvacuate}}"><view data-event-opts="{{[['tap',[['executeEvacuation',['$event']]]]]}}" class="position-button-two data-v-7aff74ee" bindtap="__e">已确定疏散出口,立即执行疏散</view></block></view>