<view class="user-info-w">
  <view class="info-item">
    <view class="label">我的头像</view>
    <view class="content" bindtap="chooseImage">
      <image class="avatar" src="{{userInfo.avatar}}" />
      <icon icon="my_list_arrow" class="icon" size="12" />
    </view>
  </view>
  <view class="info-item">
    <view class="label">姓名</view>
    <view class="content"><input value="{{userInfo.name}}" data-key="name" bindinput="bindInput" placeholder="请输入姓名" /></view>
  </view>
  <view class="info-item">
    <view class="label">性别</view>
    <view class="content">
      <view class="check-item" bindtap="changeCheckStatus" data-value="1">
        <text class="check-box {{ userInfo.gender == 1 ? 'checked' : '' }}"></text>
        <text>男</text>
      </view>
      <view class="check-item" data-value="2" bindtap="changeCheckStatus">
        <text class="check-box {{ userInfo.gender == 2 ? 'checked' : '' }}"></text>
        <text>女</text>
      </view>
    </view>
  </view>
  <view class="info-item">
    <view class="label">手机号码</view>
    <view class="content disabled">15919136555</view>
  </view>
  <view class="info-item">
    <view class="label">邮箱</view>
    <view class="content">
      <input value="{{ userInfo.email }}" data-key="email" bindinput="bindInput" placeholder="请输入邮箱地址" />
    </view>
  </view>
  <view class="info-item">
    <view class="label">公司全称</view>
    <view class="content"><input value="{{ userInfo.companyName }}" data-key="companyName" bindinput="bindInput" placeholder="请输入公司全称" /></view>
  </view>
  <view class="info-item">
    <view class="label">公司地址</view>
    <view class="content"><input value="{{ userInfo.companyAddress }}" data-key="companyAddress" bindinput="bindInput" placeholder="请输入公司地址" /></view>
  </view>
  <view class="info-item">
    <view class="label">职位</view>
    <view class="content"><input value="{{ userInfo.companyPosition }}" data-key="companyPosition" bindinput="bindInput" placeholder="请输入职位" /></view>
  </view>
  <view class="info-item">
    <view class="label">公司所在行业</view>
    <view class="content">
      <picker bindchange="bindPickerChange" value="{{index}}" range="{{tradeList}}">
        <view class="picker">
          {{ userInfo.companyTrade || '请选择行业' }}
          <text class="iconfont iconscene_tit_arrow" />
        </view>
      </picker>
    </view>
  </view>
  <view class="info-item">
    <view class="label">固定电话</view>
    <view class="content"><input value="{{ userInfo.telNum }}" data-key="telNum" bindinput="bindInput" placeholder="区号-座机号" /></view>
  </view>
  <view class="submit-w">
    <view class="submit-btn" bindtap="updateUserInfo">保存</view>
  </view>
</view>
