equipmentdetails.wxml 2.4 KB

1
  1. <view><view class="status_bar"></view><view style="position:relative;top:44px;"><view style="position:fixed;z-index:100;width:100%;"><uni-nav-bar vue-id="3b305bbc-1" left-icon="back" left-text="返回" title="设备详情" data-event-opts="{{[['^clickLeft',[['clickLeft']]]]}}" bind:clickLeft="__e" bind:__l="__l"></uni-nav-bar></view><view class="info"><view class="info_item"><image class="bgi" src="{{eqinfo.item.is_online==1?'http://static.yfpyx.com/bigdata_app/image/cb/onBg.png':'http://static.yfpyx.com/bigdata_app/image/cb/offBg.png'}}" mode></image><view style="font-size:32rpx;" class="_p">{{"设备 ID:"+eqinfo.item.imei}}</view><view class="_p">{{"设备名称:"+eqinfo.item.device_name}}</view><view class="_p">{{"设备型号:"+eqinfo.item.dtype}}</view><view class="_p">{{"最近上报时间:"+$root.f0}}</view><view class="_p">{{"设备地址:"+eqinfo.item.address}}</view></view></view><view class="control"><block wx:if="{{kongtf}}"><view data-event-opts="{{[['tap',[['control',['$event']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://static.yfpyx.com/bigdata_app'+'/image/prevention/8.png'}}" mode></image><view class="_p">设备控制</view></view></block><block wx:if="{{shujutf}}"><view data-event-opts="{{[['tap',[['charts',['$event']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://static.yfpyx.com/bigdata_app'+'/image/prevention/9.png'}}" mode></image><view class="_p">历史数据</view></view></block><block wx:if="{{simtf}}"><view data-event-opts="{{[['tap',[['sim',['$event']]]]]}}" class="control_item" bindtap="__e"><image src="{{'http://static.yfpyx.com/bigdata_app'+'/image/prevention/10.png'}}" mode></image><view class="_p">SIM卡详情</view></view></block></view><view class="realtime"><view class="realtime_title _p">实时数据</view><block wx:if="{{newdatesTF}}"><view class="realtime_text"><view class="realtime_text_item"><block wx:for="{{olddatas}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="realtime_text_item_info"><view class="item_info_img"><image src="{{'http://static.yfpyx.com/bigdata_app'+item.icon}}" mode></image></view><view class="item_info_text"><view class="_p">{{item.txt}}</view><view style="margin-top:20rpx;" class="_p">{{item.value}}</view></view></view></block></view></view></block><block wx:else><view class="realtime_tishi">暂无数据</view></block></view></view></view>