<view class="header_title">
  <view class="">
    <van-row>
      <van-col span="3">
        <view class="header_img" bindtap="showPopup"><image src="/images/core.png"></image></view>
      </van-col>
      <van-col span="4">
        <view class="header_img" bindtap="goGCLB">
          <image src="/images/left.png"></image>
          <text class="header_fh">返回</text>
        </view>
      </van-col>
      <van-col span="10">
        <view class="header_name">设备管理</view>
      </van-col>
    </van-row>
  </view>
</view>

<!-- 左侧账号信息 -->
<van-popup show="{{ leftShow }}" position="left" custom-style="width: 70%;height:100%;background:#191d28" bind:close="onLeftClose" >
  <view class="left_max">
    <van-row class="demo clearfix">
      <van-col span="10">
        <view class="left_head"><image src="http://fileimg.makalu.cc/szgl/9015e824c5004e629049c4f72967cfdc.png"></image></view>
      </van-col>
      <van-col span="14">
        <view class="left_info">
          <view class="left_info_name">{{userName}}</view>
          <view class="left_info_name">{{loginName}}</view>
        </view>
      </van-col>
    </van-row>

    <!-- <view class="left_manage_min">
      <view class="left_manage" bindtap="TCDL">
        <view class="left_sign">
          退出登录
        </view>
      </view>
    </view> -->
  </view>
</van-popup>

<view class="max_content">
  <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>

    <!-- <view class="video_add">
      <view class="video_address">
        <view class="video_address_min" bindtap="GOMAP">
          {{projectName}}
        </view>
      </view>
    </view> -->

  <van-row>
    <van-col span="12">
      <view class="device_types"  bindtap="gojxsb">
        <text>机械设备</text>
      </view>
    </van-col>
    <van-col span="12">
      <view class="device_types active">
        <text>特种设备</text>
      </view>
    </van-col>
  </van-row>

  <view class="equipment_list">
    <view class="equipment_click" bindtap="onclick">
      {{value}}
    </view>
  </view>
  <van-action-sheet show="{{ show }}" actions="{{ actions }}" bind:close="onClose" bind:select="onSelect" />


  <view class="echarts_max">

    <view class="echarts_min">
      <view class="equipment_img">
        <image src="http://fileimg.makalu.cc/b8a3c4b64a5f4c0ab412781c5ad1e11f.png"></image>
      </view>
      

      <van-row>
        <van-col span="12">
          <view class="equipment_info_left">设备名称：</view>
        </van-col>
        <van-col span="12">
          <view class="equipment_info_right">{{deviceName}}</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left">设备编号：</view>
        </van-col>
        <van-col span="12">
          <view class="equipment_info_right">{{deviceID}}</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left">负责人：</view>
        </van-col>
        <van-col span="12">
          <view class="equipment_info_right">{{chargePerson}}</view>
        </van-col>
      </van-row>
    </view>
  </view>
   

  <view class="echarts_max">
    <view class="echarts_min">
      <view class="eharts_title">塔吊基本信息汇总</view>  
      <van-row>
        <van-col span="12">
          <view class="equipment_info_left active">安全吊重：</view>
        </van-col>
        <van-col span="12">
          <view class="equipment_info_right active"><text>{{towerBasicData.overload}}</text> t</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">单臂长：</view>
        </van-col>
        <van-col span="12">
          <view class="equipment_info_right active"><text>{{towerBasicData.foreArmLength}}</text> m</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">塔吊高：</view>
        </van-col>
        <van-col span="12">
          <view class="equipment_info_right active"><text>{{towerBasicData.downHeight}}</text> m</view>
        </van-col>
      </van-row>
    </view>
  </view>
  

  <view class="echarts_max">
    <view class="echarts_min">
      <view class="eharts_title">具体检测情况</view>  
      <view class="equipment_yuzhi">预警阈值</view>
      <van-row>
        <van-col span="12">
          <view class="equipment_info_left active">幅度：</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_middle active"><text>{{towerBasicData.ampData}}</text> m</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_right active"><text>{{towerWarnData.ampDataWarn}}</text> m</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">高度：</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_middle active"><text>{{towerBasicData.heightData}}</text> m</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_right active"><text>{{towerWarnData.heightDataWarn}}</text> m</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">转角：</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_middle active"><text>{{towerBasicData.angleData}}</text> °</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_right active"><text>{{towerWarnData.angleDataWarn}}</text> °</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">吊重：</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_middle active"><text>{{towerBasicData.weightData}}</text> t</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_right active"><text>{{towerWarnData.weightWarn}}</text> t</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">风速：</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_middle active"><text>{{towerBasicData.windSpeedData}}</text> m/s</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_right active"><text>{{towerWarnData.windSpeedDataWarn}}</text> m/s</view>
        </van-col>

        <van-col span="12">
          <view class="equipment_info_left active">倾角：</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_middle active"><text>{{towerBasicData.tiltData}}</text> °</view>
        </van-col>
        <van-col span="6">
          <view class="equipment_info_right active"><text>{{towerWarnData.tiltDataWarn}}</text> °</view>
        </van-col>

      </van-row>
    </view>
  </view>
</view>

 <!-- 底部导航 -->
 <van-tabbar active="{{ active }}" bind:change="onChange" active-color="#ffffff" inactive-color="#7d95d6">
  <van-tabbar-item bindtap="XMGK" >
    <image
      slot="icon"
      src="/images/footer_5.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    <image
      slot="icon-active"
      src="/images/foot_5.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    项目概况
  </van-tabbar-item>

  <van-tabbar-item >
    <image
      slot="icon"
      src="/images/footer_2.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    <image
      slot="icon-active"
      src="/images/foot_2.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    设备管理
    </van-tabbar-item>

  <van-tabbar-item bindtap="RYGL">
    <image
      slot="icon"
      src="/images/footer_3.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    <image
      slot="icon-active"
      src="/images/foot_3.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    人员管理
  </van-tabbar-item>

  <van-tabbar-item bindtap="XMSP">
    <image
      slot="icon"
      src="/images/footer_7.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    <image
      slot="icon-active"
      src="/images/foot_7.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    安全管理
  </van-tabbar-item>

  <van-tabbar-item bindtap="GDGN">
    <image
      slot="icon"
      src="/images/footer_1.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    <image
      slot="icon-active"
      src="/images/foot_1.png"
      mode="aspectFit"
      style="width:40rpx; height:40rpx;"
    />
    更多功能
  </van-tabbar-item>
</van-tabbar>
<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay> 