<ion-header>

    <ion-navbar>
        <ion-title>会议查询</ion-title>
        <!-- <ion-buttons end (click)="presentPopover($event)">
            <button ion-button icon-only>
              <ion-icon name="search"></ion-icon>
            </button>
        </ion-buttons> -->
    </ion-navbar>
    <div>
        <tab-slide (slideClick)="onSlideClick($event)" [slides]="pageSlides" [pageNumber]="5"></tab-slide>
    </div>
</ion-header>


<ion-content>
    <ion-refresher (ionRefresh)="doRefresh($event)">
        <ion-refresher-content pullingIcon="arrow-dropdown" pullingText="下拉刷新" refreshingSpinner="circles" refreshingText="正在刷新...">
        </ion-refresher-content>
    </ion-refresher>
    <ion-list margin-top>
        <ion-item-sliding *ngFor="let meeting of list" (click)="doRead(meeting.Id)">
            <ion-item>
                <!-- <h3>{{meeting.Title}}</h3>
                <span>{{meeting.Place}}</span>
                <p float-right>{{meeting.StartDate | date:"yyyy年MM月dd日 HH时mm分"}}</p> -->
                <h2>
                    <span class="status-new-dot" *ngIf="meeting.Status=='1'">●&nbsp;</span>
                    <span>{{meeting.Title}}</span>
                    <small class="text-ios-gray" float-right>{{meeting.StartDate | getdatediff: true}}</small>
                </h2>
                <span>地点:{{meeting.Place}}</span>
            </ion-item>
        </ion-item-sliding>
    </ion-list>
    <empty *ngIf="isEmpty"></empty>
    <ion-infinite-scroll (ionInfinite)="$event.waitFor(doInfinite())" [enabled]="moredata" threshold="100px">
        <ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="加载中..."></ion-infinite-scroll-content>
    </ion-infinite-scroll>
</ion-content>