<ion-header>
    <ion-navbar>
        <ion-title text-center>个人中心</ion-title>
    </ion-navbar>
</ion-header>
<ion-content>
    <div class="mine-header" (click)="personInfo()">
        <div class="mine-header-box">
            <div class="mine-header-left">
                <h2 class="name">{{user?.userName}}</h2>
                <label class="organization">{{orgName}}</label>
            </div>
            <div class="mine-header-right">
                <img src="./assets/imgs/woman.png" *ngIf="gender == 0" class="head-photo">
                <img src="./assets/imgs/man.png" *ngIf="gender == null || gender == '1'" class="head-photo">
                <!-- <img class="head-photo" src="../../../assets/imgs/woman.png"> -->
                <!-- <img class="head-photo" *ngIf="{{user.userDetail.user.gender != '女'}}" src="../../../assets/imgs/man.jpg"> -->
            </div>
        </div>
    </div>
    <ion-list>
        <ion-item (click)="myActivityList()">
            <div class="group">
                <div class="group-box">
                    <!-- <ion-icon name="aperture" class="icon-left icon1"></ion-icon> -->
                    <img src="./assets/imgs/wdhd.png" class="group-img">
                    <span>我的活动</span>
                </div>
                <ion-icon name="ios-arrow-forward" class="icon-right"></ion-icon>
            </div>
        </ion-item>
        <ion-item (click)="myReport()">
            <div class="group">
                <div class="group-box">
                    <img src="./assets/imgs/wdzb.png" class="group-img">
                    <span>我的报备</span>
                </div>

                <ion-icon name="ios-arrow-forward" class="icon-right"></ion-icon>
            </div>
        </ion-item>
        <!-- <ion-item>
                <div class="group">
                    <div class="group-box">
                        <img src="./assets/imgs/dcwj.png" class="group-img">
                        <span>调查问卷</span>
                    </div>
    
                    <ion-icon name="ios-arrow-forward" class="icon-right"></ion-icon>
                </div>
            </ion-item>-->

        <ion-item (click)="myOperationList()">
            <div class="group">
                <div class="group-box">
                    <img src="./assets/imgs/czjl.png" class="group-img">
                    <span>操作记录</span>
                </div>
                <ion-icon name="ios-arrow-forward" class="icon-right"></ion-icon>
            </div>
        </ion-item>
        <ion-item (click)="currentVersion()">
            <div class="group">
                <div class="group-box">
                    <img src="./assets/imgs/version.png" class="group-img">
                    <span>版本信息</span>
                    <img *ngIf="!isLatest" src="./assets/imgs/new.png" class="new">
                </div>
                <!-- <span>{{version}}</span> -->
                <ion-icon name="ios-arrow-forward" class="icon-right"></ion-icon>
            </div>
        </ion-item>
    </ion-list>
    <button ion-button block class="logout" (click)="logout()">退出登录</button>
</ion-content>