<ion-view view-direction="none">
  <ion-nav-title>
    <h1 class="title">工作</h1>
  </ion-nav-title>

  <ion-content class="find has-footer">
    <div class="list">
      <a class="item item-icon-left find-module-item"
        ng-repeat="module in modules track by module.moduleName"
        ng-if="!module._hidden"
        ng-click="toModule(module)"
        sino-nav-direction="{{module.direction ? module.direction : 'forward'}}"
        ng-class="{
          'module-leaf': module._leaf,
          'open': module._open,
          'level-second': (!!module['parent'])
        }">
        <i class="icon  {{::module.moduleClass}}"></i>
        {{::module.text}}
        <span class="badge badge-assertive message" ng-if="module.showInFind && getUnreadNum(module) > 0" style="top:14px;">
          {{getUnreadNum(module) > 99 ? '99+':getUnreadNum(module)}}
        </span>
        <ion-spinner icon="spiral" ng-if="loading[module.moduleName]"></ion-spinner>
      </a>
    </div>
  </ion-content>
  <div mission-tabs></div>
</ion-view>
