<view>
  <!-- <view class="header margin-bottom">
    <view class="img">
      <image mode="scaleToFill" src="../../../image/start3.png"/>
    </view>
  </view> -->
  <view class="main">
    <view a:for="{{menuList}}" a:for-index="idx" a:for-item="itemName" class="menuAll">
      <view class="menu-title">{{itemName.code}}</view>
      <view class="menuList flex-box flex-d-wrap">
        <view a:for="{{itemName.child}}" class="menu-item" data-url="{{item.url}}" onTap="openUrl">
          <image mode="scaleToFill" src="{{item.imgUrl}}"/>
          <view>{{item.name}}</view>
          <text class="menuNum font-flex-word" a:if="{{item.name=='审批'&&total}}">{{total}}</text>
        </view>
      </view>
    </view>
  </view>
  <!-- <view class="header">
    <view class="flex-box flex-v-ce li" data-index="1" onTap="openView" a:if="{{isAdministrator}}">
      <image class="img-left" mode="scaleToFill" src="../../../image/jk.png">
      </image>
      <view class="flex-box flex-v-ce flex-1 li-right border-bottom">
        <view class="title flex-1">我奖扣的</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image>
      </view></view>
    <view class="flex-box flex-v-ce li margin-bottom" data-index="2" onTap="openView">
      <image class="img-left" mode="scaleToFill" src="../../../image/wsqd.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right">
        <view class="title flex-1">我申请的</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view>
    </view>
    <view class="flex-box flex-v-ce li" data-index="3" onTap="openView" a:if="{{isAdministrator}}">
      <image class="img-left" mode="scaleToFill" src="../../../image/glz.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right border-bottom">
        <view class="title flex-1">管理者奖扣</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view></view>
    <view class="flex-box flex-v-ce li margin-bottom" data-index="4" onTap="openView">
      <image class="img-left" mode="scaleToFill" src="../../../image/jfsj.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right">
        <view class="title flex-1">积分事件</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view></view>
    <view class="flex-box flex-v-ce li" a-if="{{ding_enable}}" data-index="5" onTap="openView">
      <image class="img-left" mode="scaleToFill" src="../../../image/kq.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right border-bottom">
        <view class="title flex-1">考勤分排名</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view></view>
    <view class="flex-box flex-v-ce li" data-index="6" onTap="openView">
      <image class="img-left" mode="scaleToFill" src="../../../image/Bf.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right border-bottom">
        <view class="title flex-1">部门B分排名</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view></view>
    <view class="flex-box flex-v-ce li" data-index="7" onTap="openView">
      <image class="img-left" mode="scaleToFill" src="../../../image/ljpm.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right border-bottom">
        <view class="title flex-1">累计B分排名</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view></view>
    <view class="flex-box flex-v-ce li" data-index="8" onTap="openView">
      <image class="img-left" mode="scaleToFill" src="../../../image/zdyfz.png"></image>
      <view class="flex-box flex-v-ce flex-1 li-right">
        <view class="title flex-1">自定义分组B分排名</view>
        <image mode="scaleToFill" src="../../../image/right.png" class="img-right"></image></view></view></view> -->
</view>