<div class="weui-panel">
  <div class="weui-panel__hd">
    <div class="avatar">
      <img
        src="{{lifeCustomerInfo?.practitionerBasicInfo?.headImagePath ? lifeCustomerInfo?.practitionerBasicInfo?.headImagePath : './assets/images/icons/meng.png'}}"
        alt="头像">
    </div>
    <div class="brokerInfo">
      <div class="brokerName">
        <div style="letter-spacing: 2px"><span>{{lifeCustomerInfo?.practitionerBasicInfo?.name}}</span></div>
        <div class="shareSelfInfoBtn" *ngIf="deviceType=='3'" (click)="shareIdCard()"><span>分享名片</span></div>
      </div>

      <div class="brokerTag">
        <div>
          <p>{{lifeCustomerInfo?.practitionerBasicInfo?.insurerBranchName ? lifeCustomerInfo?.practitionerBasicInfo?.insurerBranchName : '银盾保险'}}</p>
        </div>
        <div><span class="ydTitle">{{lifeCustomerInfo?.practitionerBasicInfo?.levelName}}</span></div>
      </div>
    </div>
    <!--<div class="shareSelfInfoBtn">-->
    <!--<span (click)="shareIdCard()">分享名片</span>-->
    <!--</div>-->
  </div>
  <div class="weui-panel__bd">
    <div class="weui-media-box weui-media-box_small-appmsg">
      <div class="weui-cells">
        <a class="weui-cell weui-cell_access weui-cell_example" *ngFor="let menuItem of menuLists;" href="javascript:;"
           (click)="menuNavigation(menuItem)">
          <div class="weui-cell__hd">
            <i class="iconfont" [ngClass]="menuItem.icon"></i>
          </div>
          <div class="weui-cell__bd weui-cell_primary">
            <p>{{menuItem.title}}</p>
          </div>
          <span class="weui-cell__ft"></span>
        </a>
      </div>
    </div>
  </div>
</div>

<ydlife-alert *ngIf="isNeedAlert" [dialogInfo]="dialogInfo" (popInfo)="getPopInfo()"></ydlife-alert>
