<!--pages/gengduogongneng/gengduogongneng.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="XMGK">
          <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="onClosePopup" >
  <view class="left_max">
    <van-row class="demo clearfix">
      <van-col span="24">
          <view class="left_info_dept">{{deptName}}</view>
      </van-col>
      <van-col span="10">
        <view class="left_head"><image src="../../images/user_3.png"></image></view>
      </van-col>
      <van-col span="14">
        <view class="left_info">
          <view class="left_info_name">{{nickName}}</view>
          <view class="left_info_name">{{loginName}}</view>
        </view>
      </van-col>
    </van-row>
    <view class="left_manage_min">
      <view class="left_manage" bindtap="XGMM">
        <image src="/images/set.png" class="left_icon"></image>
          <text class="left_password">修改密码</text> 
          <image src="/images/right.png" class="left_flaot"></image>
      </view>
    </view>
    <view class="left_manage_min">
      <view class="left_manage" bindtap="TCDL">
          <image src="/images/set.png" class="left_icon"></image>
          <text class="left_sign">退出登录</text> 
          <image src="/images/right.png" class="left_flaot"></image>
      </view>
    </view>
  </view>
</van-popup>

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

  <view  class="gd_max" style="margin-top: 20rpx;">
    <van-row class="demo clearfix">
      <van-col span="8" wx:for="{{menuList}}" wx:key="unique">
        <view class="gd_min" data-id="{{item.menu_identi}}" data-url="{{item.menu_url}}" bindtap="goMenu">
          <span class="tabNum_active" wx:if="{{item.menu_identi=='GCSQGL' && todoDB>0}}">{{todoDB}}</span>
          <image src="{{item.menu_img}}"></image>
          <view>{{item.menu_name}}</view>
        </view>
      </van-col>

      <!-- <view wx:if="{{hiddenn}}">
        <van-col span="8">
          <view class="gd_min" data-id="LSRYSH" bindtap="goMenu">
            <image src="http://fileimg.makalu.cc/9d89ded5257f45efabff0c7315c588b4.png"></image>
            <view>临时人员审核</view>
          </view>
        </van-col>
      </view>

      <view wx:if="{{roleId == 15}}">
        <van-col span="8">
          <view class="gd_min" data-id="FQJPYS" bindtap="goMenu">
            <image src="http://fileimg.makalu.cc/9d89ded5257f45efabff0c7315c588b4.png"></image>
            <view>发起验收</view>
          </view>
        </van-col>
      </view>

      <view wx:if="{{roleId == 16}}">
        <van-col span="8">
          <view class="gd_min" data-id="TJJPYS" bindtap="goMenu">
            <image src="http://fileimg.makalu.cc/9d89ded5257f45efabff0c7315c588b4.png"></image>
            <view>举牌验收</view>
          </view>
        </van-col>
      </view> -->
      
    </van-row>
  </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 bindtap="AQGL">
    <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="ZLGL">
    <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;"
    />
    质量管理
    <span class="tabNum" wx:if="{{ad>0}}">{{ad}}</span>
    </van-tabbar-item>
    
    <van-tabbar-item bindtap="JDGL2">
    <image
      slot="icon"
      src="/images/footer_6.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    <image
      slot="icon-active"
      src="/images/foot_6.png"
      mode="aspectFit"
      style="width:40rpx; height: 40rpx;"
    />
    进度管理
  </van-tabbar-item>

  <van-tabbar-item>
    <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;"
    />
    更多功能
    <span class="tabNum" wx:if="{{td>0}}">{{td}}</span>
  </van-tabbar-item>
</van-tabbar>
