<!--pages/gongchengliebiao/gongchengliebiao.wxml-->
<view class="header_title">
  <view class="">
    <van-row>
      <van-col span="3">
        <view class="header_img" bindtap="returnMap"><image src="/images/left.png"></image></view>
      </van-col>
      <van-col span="3">
        <view class="header_img"><image src="http://fileimg.makalu.cc/8bc074838f1b40ca91d009879cd4d6a4.png" bindtap="choice"></image></view>
      </van-col>
      <van-col span="12">
        <view class="header_name">{{title}}</view>
      </van-col>
    </van-row>
  </view>
</view>
<button  bindtap="onLogout"  style="width: 60px;padding: 0px;height: 60px;line-height: 60px;border-radius: 30px;color: #8ca4ee;position: fixed;bottom: 20px;right: 20px;text-align: center;">退出</button>
<view class="max_content">
 
  <view class="list_max">
    <van-row gutter="5">
      <van-col span="6">
        <view class="list_min" bindtap="showPopup1">
          <van-col span="17">
            <view class="list_min_1">{{value1}}</view>
          </van-col>
          <van-col span="7">
            <view class="list_min_2">
              <image src="/images/bottom.png" class="list_bottom"></image>
            </view>
          </van-col>
        </view>
      </van-col>
      

      <van-popup show="{{ show1 }}" bind:close="onClose"  position="bottom">       
        <view class="map_list_info">
          <van-picker show-toolbar  default-index="{{1}}" columns="{{ sheng }}"  bind:cancel="onCancel" bind:confirm="onChangeSheng"/>
        </view>
      </van-popup>

      <van-col span="8">
        <view class="list_min" bindtap="showPopup2">
          <van-col span="19">
            <view class="list_min_1">{{value2}}</view>
          </van-col>
          <van-col span="5">
            <view class="list_min_2">
              <image src="/images/bottom.png" class="list_bottom"></image>
            </view>
          </van-col>
        </view>
      </van-col>
      
      <van-popup show="{{ show2 }}" bind:close="onClose"  position="bottom">       
        <view class="map_list_info">
          <van-picker show-toolbar columns="{{ cityArea }}" bind:confirm="onChangeShiQu"  bind:cancel="onCancel"  bind:change="onChange1"/>
        </view>
      </van-popup>


      <van-col span="10">
        <view class="list_min" bindtap="showTest">
          <van-col span="19">
            <view class="list_min_1">{{value3}}</view>
          </van-col>
          <van-col span="5">
            <view class="list_min_2">
              <image src="/images/bottom.png" class="list_bottom"></image>
            </view>
          </van-col>
        </view>
      </van-col>

      <van-popup  position="bottom"  show="{{ showTest }}" bind:close="onCloseTest">
        <!-- <view class="all_name">
          {{classA}}
        </view> -->
        <!-- <text class="queren" bindtap="queren">确认</text> -->
        <!-- <view class="tab_max_tltie">
          <text class="{{ Highlight1  }}" bindtap="tabTltie" id="1">集团公司</text>
          <text class="{{ Highlight2 }}" wx:if="{{title2}}" bindtap="tabTltie" id="2">省公司</text>
          <text class="{{ Highlight3  }}" wx:if="{{title3}}" bindtap="tabTltie" id="3">子公司</text>
        </view> -->
        <view class="max_tab_name" wx:if="{{flag1}}">
          <view class="font_color {{ index == nav1  ? 'active1' :' ' }}" wx:for = "{{jt}}" wx:key="jt" data-index="{{index}}" bindtap="onclassA" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}} </view>
        </view>
        <view class="max_tab_name" wx:if="{{flag2}}">
          <view class="font_color {{ index == nav2  ? 'active2' :' ' }}" wx:for = "{{shengGs}}" wx:key="shengGs" data-index="{{index}}" bindtap="onclassB" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}}</view>
        </view>
        <view class="max_tab_name" wx:if="{{flag3}}">
            <view class="font_color {{ index == nav3  ? 'active3' :' ' }}" wx:for = "{{ziGs}}" wx:key="ziGs" data-index="{{index}}" bindtap="onclassC" data-name="{{item.text}}" data-id="{{item.id}}"> {{item.text}}</view>
        </view>
      </van-popup>



    </van-row>
   
  </view>
  <view class="address {{class}}">
    {{value1}}/{{value2}}/{{value3}}
  </view>


  <view class="list_title">
    总工程数<text>（{{proCount}}）</text>
  </view>
  <view class="list_option_max">

    <view class="list_option" wx:for="{{projectInfoList}}" wx:key="projectInfoList" wx:if="{{index<150}}">
          <view class="list_right" bindtap="checkProject" data-id="{{item.projectId}}" data-name="{{item.projectName}}">
            <view class="list_left">{{item.companyName}}</view>
            <view class="list_con_bottom">
              <view class="list_right_name">{{item.projectName}}</view>
              <view class="list_right_address">{{item.projectAddress}}</view>
              <view class="list_right_info">
              <van-row> 
                <van-col span="8" wx:if="{{item.projectCount != '0'}}">
                  <text class="list_warning active">预警({{item.projectCount}})</text>
                </van-col>
                <van-col span="8" wx:if="{{item.projectCount == '0'}}">
                  <text class="list_warning">预警({{item.projectCount}})</text>
                </van-col>
                <van-col span="8" wx:if="{{item.videoNum != '0'}}">
                  <text class="list_video active">视频({{item.videoNum}})</text>
                </van-col>
                <van-col span="8" wx:if="{{item.videoNum == '0'}}">
                  <text class="list_video">视频({{item.videoNum}})</text>
                </van-col>
                <van-col span="8" wx:if="{{item.monitoringCount != '0'}}">
                  <text class="list_dust active">结构体({{item.monitoringCount}})</text>
                </van-col>
                <van-col span="8" wx:if="{{item.monitoringCount == '0'}}">
                  <text class="list_dust">结构体({{item.monitoringCount}})</text>
                </van-col>
                </van-row>
              </view>
            </view>
          </view>
    </view>
  </view>
</view>

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

<van-popup show="{{ choiceShow }}" bind:close="onCloseTest">
  <view class="choice_max">
    <view class="choice_tltie">项目筛选</view>
    <view class="choice_input">
      <input placeholder="请输入要搜索的关键字" bindinput="actqu"/>
    </view>
    <view class="choice_content">
      <view class="choice_content_max" >
        <view class="choice_content_min" wx:for="{{Fuzzylist}}" wx:key="Fuzzylist" wx:if="{{index<50}}" bindtap="checkProjetName" data-list="{{Fuzzylist}}" data-name="{{item.projectName}}">{{item.projectName}}</view>
      </view>      
    </view>  
  </view>
</van-popup>
