<ion-view>
  <ion-nav-title>
    <div class="title">我</div>
  </ion-nav-title>
  <ion-nav-buttons side="left">
    <button class="button icon-left ion-ios-arrow-back button-clear sino-back-button" sino-go-back-button sino-nav-direction="back">设置</button>
  </ion-nav-buttons>

  <ion-content class="userinfo has-header" scroll="true">
    <div class="list card">
      <div class="item item-avatar">
        <sino-person-photo
          user-id="{{loginUser.userId}}"
          class="size_40x40 item-image"
          ng-click="changePhoto()">
        </sino-person-photo>

        <span class="linker-detail-user">{{loginUser.userName}}</span>
      </div>

      <div class="item item-divider">
        部门
      </div>
      <div class="item item-text-wrap">
        {{loginUser.deptName}}
      </div>
      <div class="item item-divider">
        职务
      </div>
      <div class="item item-text-wrap">
        {{loginUser.userDuty}}
      </div>
      <div class="item item-divider">
        办公电话
      </div>
      <div class="item item-text-wrap">
        {{loginUser.officePhone}}
      </div>
      <div class="item item-divider">
        联系电话
      </div>
      <div class="item item-text-wrap">
        {{loginUser.phone}}
      </div>
    </div>
  </ion-content>
</ion-view>
