<ion-header>
    <ion-navbar style="padding-right: 0">
        <ion-buttons start>
            <button ion-button icon-only class="search-button">
                <img class="img-head" src="{{mineInfo?.HeadPhoto}}" alt="">
                <span>你好，{{mineInfo?.UserName}}</span>
            </button>
        </ion-buttons>
        <ion-buttons end class="navbar-search" tappable (click)="goToSearch()">
            <button ion-button icon-only class="toolbar-icon">
                <ion-icon class="search-icon" name="search"></ion-icon>
                <ion-input class="search" placeholder="搜索内容" autocomplete='off'></ion-input>
            </button>
        </ion-buttons>
        <ion-buttons end class="navbar-search" tappable (click)="goToNotifation()">
            <button ion-button icon-only class="toolbar-tips">
                <img style="position: absolute;top: 0;right: -2px;" src="./assets/imgs/home/tips.png" alt="">
                <span *ngIf="info.new > 0" class="tips-num">{{info.new}}</span>
            </button>
        </ion-buttons>
    </ion-navbar>
</ion-header>

<ion-content style="background:rgba(248,248,248,1);">
    <ion-refresher (ionRefresh)="doRefresh($event)">
        <ion-refresher-content pullingText="下拉刷新"
                               refreshingSpinner="bubbles">
        </ion-refresher-content>
    </ion-refresher>
</ion-content>
