<!--pages/xiangmugaikuang/xiangmugaikuang.wxml-->
<!-- <view class="header_title">
  <view class="header_title_row">
    <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="{{ show }}" position="left" custom-style="width: 70%;height:100%;background:#191d28" bind:close="onClose" >
  <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_max">
    </view>
    <view class="left_manage_min">
      <view class="left_manage" bindtap="TCDL">
        <view class="left_sign">
          退出登录
        </view>
      </view>
    </view> 
  </view>
</van-popup> -->

<!-- 中间内容 -->
<view class="max_new_content">
  <project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
  <view class="echarts_max" style="margin-top: 60rpx;">
    <view class="echarts_min">
      <view class="eharts_title">
        环境管理 
        <text class="eharts_title_float">
          <text> {{weather}} </text>
          <text> {{temperature}} ℃ </text>
        </text>
        <image src="{{weatherPic}}" class="eharts_title_float_img"></image>
      </view>  
      <van-row>
        <van-col span="12">
          <view class="eharts_head">今日扬尘：<text>{{yangchenCount}}</text></view>
        </van-col>
        <van-col span="12">
          <view class="eharts_head">本月累计预警天数：<text>{{monthEarlyNum}}</text></view>
        </van-col>
      </van-row>
      
      
      <view class="eharts_con">
        <ec-canvas ec="{{ ec_3 }}" id="mychart-three"></ec-canvas>
      </view>       
      <view class="eharts_con eharts_con_top">
        <ec-canvas ec="{{ ec_4 }}" id="mychart-four"></ec-canvas>
      </view>  
      
    </view>
  </view>

  <view class="echarts_max">
    <view class="echarts_min">
      <view class="eharts_title">
          {{label_1}} <text class="hj_float" bindtap="onclick1">{{value1}} </text>
         <van-action-sheet show="{{ show1 }}" actions="{{ actions1 }}" bind:close="onClose" bind:select="onSelect1" />
  
      </view>  
      <van-row>
        <van-col span="12">
          <view class="eharts_head"></view>
        </van-col>
        <van-col span="12">
          <view class="eharts_head"></view>
        </van-col>
      </van-row>
      
      <view class="eharts_con">
        <ec-canvas ec="{{ ec_1 }}" id="mychart-one"></ec-canvas>
      </view>       
     
    </view>
  </view>


  <view class="echarts_max">
    <view class="echarts_min">
      <view class="eharts_title">
        {{label_2}} <text class="hj_float" bindtap="onclick2">{{value2}} </text>
        <van-action-sheet show="{{ show2 }}" actions="{{ actions2 }}" bind:close="onClose" bind:select="onSelect2" />
      </view>  
      
      <view class="eharts_con">
        <ec-canvas ec="{{ ec_2 }}" id="mychart-two"></ec-canvas>
      </view>       
     
    </view>
  </view>
</view>

<van-overlay show="{{loadShow}}">
  <view class="gif">
    <image src="../../images/loding2.gif"></image>
    <view>数据加载中！请稍后...</view>
  </view>
</van-overlay>  