<view class="content">
  <view class="cell ceill-link">
    <view class="cell-title">头像</view>
    <view class="cell-value">
      <image src="{{userInfo.avatar}}" class="avatar" bindtap="chooseImg"></image>
    </view>
  </view>

  <view class="septal-top-line">
    <view class="cell ceill-link">
      <view class="cell-title">修改昵称</view>
      <view class="cell-value" bindtap="promptNickname">
        {{userInfo.nickname}}
      </view>
    </view>
    <view class="cell ceill-link" data-url="/pages/account/setting/bindPhone" bindtap='navigatorURl'>
      <view class="cell-title">绑定手机号</view>
      <view class="cell-value">
        {{userInfo.loginName}}
      </view>
    </view>
  </view>
  <view class="septal-top-line">
    <view class="cell {{userInfo.weixin == 1 ? 'ceill-link' : ''}}">
      <view class="cell-title">绑定微信</view>
      <view class="cell-value" bindtap="{{userInfo.weixin == 1 ? 'unty' : ''}}">
        {{userInfo.weixin == 1 ? '已绑定' : '未绑定'}}
      </view>
    </view>
  </view>
</view>
<prompt id="prompt" title='{{prompt.title}}' cost='{{prompt.cost}}' btn_certain='确定' bind:getInput="getInput" bind:cancel="cancel" bind:confirm="confirm">
</prompt>
<view class='modal' wx:if="{{percent > 0 && percent < 100}}">
  <progress percent='{{percent}}' show-info active activeColor="#09BB07" class='progress' active-mode="forwards" />
</view>
<view class='modal-bg' wx:if="{{percent > 0 && percent < 100}}"></view>