<!--一周安排页面 -->
<ion-view hide-nav-bar="false" cache-view="false">
  <ion-nav-title>
    <h1 class="headerOfGroup title" ng-show="meetCtrl.weekCount">第{{meetCtrl.weekCount}}周会议</h1>
    <ion-spinner icon="bubbles" class="icon meet-spinner" ng-if="meetCtrl.loading"></ion-spinner>
  </ion-nav-title>
  <ion-nav-buttons side="left">
    <button class="button icon-left ion-ios-arrow-back button-clear sino-back-button" sino-nav-direction="back" sino-go-back-button>返回</button>
    <i class="button button-icon icon ion-ios-reloading"></i>
  </ion-nav-buttons>

  <ion-nav-buttons side="right">
    <button class="button button-icon icon ion-android-more-vertical" stop-event ng-click="meetCtrl.dropdown = !meetCtrl.dropdown" ng-if="meetCtrl.showMore"></button>
  </ion-nav-buttons>

  <sino-loading-hint nodata-title="本周无会议！" state="meetCtrl.loadingState">
    <ion-content class="has-header" scroll="true" delegate-handle="meetScrollView">
      <h4 style="color:red;text-align:center; border-bottom: 1px solid #ddd;padding-bottom: 10px;
    margin-bottom: 0;" ng-if="meetCtrl.leader">本周值班领导：{{meetCtrl.leader}}</h4>
      <div class="listMarginTopZero list-meet" ng-repeat="list in meetCtrl.meets track by $index">
        <sino-closable-meet-item-divider title="{{list.date}}" open-status="list.open">
        </sino-closable-meet-item-divider>
        <div class="form-meet-group" ng-show="list.open">
          <div class="meet-group" ng-repeat="item in list.meets track by item.id">
            <div ng-style="meetCtrl.getItemStyle(item)" class="meet-borde-left">
              <div class="meet-title">{{::item.meetTitle}}</div>
              <div class="meet-exinfo">
                <span class="item-place">{{::item.meetTime}}---{{::item.meetPlace}}</span>
                <!--ggfw-->
                <span ng-if="item.compereName">主持人：{{::item.compereName}}</span>
                <span ng-if="item.meetSummaryUser">主讲人：{{::item.meetSummaryUser}}</span>
                <span ng-if="item.meetPeople">参加人：{{::item.meetPeople}}</span>
                <!--qhzx-->
                <span ng-if="item.joinLeader">出席领导：{{::item.joinLeader}}</span>
                <span ng-if="item.mainDept">主办单位：{{::item.mainDept}}</span>
                <span ng-if="item.joinOtherDept">参加单位：{{::item.joinOtherDept}}</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </ion-content>
  </sino-loading-hint>

  <div class="list message-header-dropdown" ng-show="meetCtrl.dropdown">
    <a class="item item-icon-left" ng-if="meetCtrl.isNextWeek" ng-click="meetCtrl.nextWeek()">
      <i class="icon ion-android-arrow-forward"></i>
      下一周
    </a>
    <a class="item item-icon-left" ng-if="meetCtrl.isPreWeek" ng-click="meetCtrl.preWeek()">
      <i class="icon ion-android-arrow-back"></i>
      上一周
    </a>
  </div>
</ion-view>
