<ion-header>
  <ion-navbar>
    <ion-title text-center>智汇19号</ion-title>
  </ion-navbar>
</ion-header>
<ion-content>
  <ion-slides #slides *ngIf="slidersItems.length>0" pager autoplay="2000" loop=true>
    <ion-slide *ngFor="let item of slidersItems">
      <div style="height:135px;width: 100%;">
          <img src="{{picture+item.pictureId}}" class="slide-image" (click)="go(item)">
      </div> 
    </ion-slide>
  </ion-slides>
  <div class="item2">
    <!--<div class="item2-1">-->
      <!--<ion-icon name="apps" class="icon2"></ion-icon>-->
      <!--<label class="common_applications">常用应用</label>-->
    <!--</div>-->
    <div class="item2-2">
      <div class="card" (click)="goActivity()">
        <img src="./assets/imgs/home/icon-bm.png" alt="">
        <label class="label2-2">活动报名</label>
        <img class="new-logo" *ngIf="hasNewActivity==1" src="./assets/imgs/new.png">
      </div>
      <div class="card" (click)="goAnnouncement()">
        <img src="./assets/imgs/home/icon-tz.png" alt="">
        <label class="label2-2">通知公告</label>
        <img class="new-logo" *ngIf="hasNewNotice==1" src="./assets/imgs/new.png">
      </div>
      <div class="card" (click)="goOutGoingReportAboutAll()">
        <img src="./assets/imgs/home/icon-lhbb.png" alt="">
        <label class="label2-2">离沪报备</label>
        <img class="new-logo" *ngIf="hasNewPremanager==1" src="./assets/imgs/new.png">
      </div>
      <div class="card"  (click)="wait()">
        <img src="./assets/imgs/home/icon-zb.png" alt="">
        <label class="label2-2">值班情况</label>
      </div>
      <div class="card"  (click)="wait()">
        <img src="./assets/imgs/home/icon-hdgz.png" alt="">
        <label class="label2-2">活动跟踪</label>
      </div>
      <div class="card"  (click)="wait()">
        <img src="./assets/imgs/home/icon-bbgz.png" alt="">
        <label class="label2-2">报备跟踪</label>
      </div>
      <div class="card"  (click)="wait()">
        <img src="./assets/imgs/home/icon-wjtc.png" alt="">
        <label class="label2-2">问卷调查</label>
      </div>
      <div class="card" (click)="wait()">
        <img src="./assets/imgs/home/icon-more.png" alt="">
        <label class="label2-2 more2-2">更多应用</label>
      </div>
    </div>
  </div>
  <div class="item3">
    <!--<div class="item3-1">-->
      <!--<ion-icon name="alarm" class="icon3"></ion-icon>-->
      <!--<label class="daily_reminder">日常提醒</label>-->
    <!--</div>-->
    <div class="item3-2">
      <div class="card3" style="width: 15%;">
        <span class="img-tips"></span>
        <img src="./assets/imgs/home/icon-mail.png" alt="">
      </div>
      <div class="card3" style="width: 75%;">
        <div class="card3-item">
            <span class="tips"></span>
            <span class="color-996">生日祝福</span>
            <span>今天是XXX生日，祝他生日快乐</span>
        </div>
        <div class="card3-item">
          <span class="tips"></span>
          <span class="color-996">生日祝福</span>
          <span>今天是XXX生日，祝他生日快乐</span>
        </div>
      </div>
      <div class="card3" style="width: 10%;color: #999999">
        <ion-icon name="ios-arrow-forward" class="icon-right"></ion-icon>
      </div>
      <!--<div class="card3" (click)="goMyNotice()" style="background-color:#ffffff;">-->
        <!--<div *ngIf="NoticeNotreadCount>0" class="common-menu-count">{{NoticeNotreadCount}}</div>-->
        <!--<div class="common-menu">未读-->
          <!--<br/>通知</div>-->
      <!--</div>-->
      <!--<div class="card3" (click)="goOutGoingReportAboutNot()" style="background-color:#ffffff;">-->
        <!--<div *ngIf="PremanagerNotdoCount>0" class="common-menu-count">{{PremanagerNotdoCount}}</div>-->
        <!--<div class="common-menu">尚未-->
          <!--<br/>报备</div>-->
      <!--</div>-->
      <!--<div class="card3" (click)="goMyActivity()" style="background-color:#ffffff;">-->
        <!--<div *ngIf="waitgoCount>0" class="common-menu-count">{{waitgoCount}}</div>-->
        <!--<div class="common-menu">已报-->
          <!--<br/>活动</div>-->
      <!--</div>-->
      <!--<div class="card3" (click)="goMyActivity()" style="background-color:#ffffff;">-->
        <!--<div *ngIf="waitsureCount>0" class="common-menu-count">{{waitsureCount}}</div>-->
        <!--<div class="common-menu">待评-->
          <!--<br/>活动</div>-->
      <!--</div>-->
    </div>
  </div>
  <div class="item4">
    <div class="item4-1">
      <ion-icon name="md-people" class="icon4"></ion-icon>
      <label class="duty_arrangements">日历</label>
      <!-- <label class="more"  (click)="wait()">
        更多
        <ion-icon name="arrow-dropright"></ion-icon>
      </label> -->
    </div>
    <div class="item4-2">
      <div class="item4-title">{{year}}年{{month}}月，第{{weekNo}}周</div>
      <div class="group" (click)="myCalendar()">
        <div *ngFor="let item of week" class="card4">
          <div class="card4-1">{{item.title}}</div>
          <div class="{{item.isToday?'selected':''}} card4-2">{{item.date}}</div>
        </div>
      </div>
    </div>
  </div>
  <!--<div class="item5">-->
    <!--<div class="item5-1">-->
      <!--<ion-icon name="list" class="icon5"></ion-icon>-->
      <!--<label class="operation_record">操作记录</label>-->
      <!--<label class="more" (click)="goOperationListPage()">-->
        <!--更多-->
        <!--<ion-icon name="arrow-dropright"></ion-icon>-->
      <!--</label>-->
    <!--</div>-->
    <!--<div class="item5-2">-->
      <!--<div class="card5" *ngFor="let operation of operations;let idx = index">-->
        <!--<label class="card5-1">-->
          <!--<span class="card5-1-1">{{idx+1}}、</span>{{operation.opertionContent|slice:0:20}}...</label>-->
        <!--<label class="time_home">{{operation.timegapvalue}}</label>-->
      <!--</div>-->
      <!--&lt;!&ndash; <div class="card5">-->
          <!--<label class="card5-1">-->
            <!--<span class="card5-1-1">2、</span>你已取消报名2018年疗养活动，详情见“我的活动”</label>-->
            <!--<label class="time">1天前</label>-->
      <!--</div> &ndash;&gt;-->
    <!--</div>-->
  <!--</div>-->
</ion-content>

<div class="cover" *ngIf="isWait" (click)="cancleWait()">
  <img src="./assets/imgs/development.jpg" class="wait">
</div>