personpage.wxml 3.8 KB
<view class="headtop">
  <view class="headtopitem">
    <view class="headtopleft">我的头像</view>
    <view class="touxiang" bindtap='uploadImg'>
      <image src="{{userInfo.avatar}}"></image>
    </view>
  </view>

  <view class="headtopitem">
    <view class="headtopleft">昵称</view>
    <view class="entername">
      <input placeholder='请输入昵称' placeholder-class='enterming' value='{{userInfo.user_nickname}}' bindinput='inputUserInfo' data-type='user_nickname' />
    </view>
  </view>

  <view class="headtopitem">
    <view class="headtopleft">性别</view>
    <!-- <view class="entername">
      <input placeholder='请输入昵称' placeholder-class='enterming' />
    </view> -->
    <picker bindchange="bindhospitaltypeChange" value="{{sexindex}}" range="{{sexarray}}" class="commentlsit_date allhospital">

      <view class="selectoption">
        <view class="sexname">
          {{sexname}}
        </view>

        <view class="rowimg">
          <image src="/img/aicon_61.png"></image>
        </view>
      </view>

    </picker>
  </view>
  <view class="headtopitem">
    <view class="headtopleft">生日</view>
    <picker mode="date" value="{{userInfo.birthday}}"  bindchange="bindDateChange">
      <view class="selectoption">
        <view class="sexname">
          {{birthday}}
        </view>
        <view class="rowimg">
          <image src="/img/aicon_61.png"></image>
        </view>
      </view>
    </picker>
  </view>
  <view class="headtopitem">
    <view class="headtopleft">地区</view>
    <picker mode="region" bindchange="bindRegionChange" value="{{userInfo.region}}" custom-item="{{customItem}}">
      <view class="selectoption">
        <view class="sexname">
          {{reginname}}
        </view>
        <view class="rowimg">
          <image src="/img/aicon_61.png"></image>
        </view>
      </view>
    </picker>
  </view>
  <view class="headtopitem">
    <view class="headtopleft">个人签名</view>
    <view class="entername qianming">
      <input placeholder='请输入个性签名' placeholder-class='enterming' value='{{userInfo.sign}}' bindinput='inputUserInfo' data-type='sign' />
    </view>
  </view>
</view>

<view class="headtop">
  <view class="headtopitem">
    <view class="headtopleft">星座</view>
    <view class="entername">
      <input placeholder='请输入星座' placeholder-class='enterming' value='{{userInfo.constellation}}'   bindinput='getUserInfo' data-type='constellation' />
    </view>
  </view>
  <view class="headtopitem">
    <view class="headtopleft">身高</view>
    <view class="entername">
      <input placeholder='请输入身高' placeholder-class='enterming' value='{{userInfo.height}}' bindinput='inputUserInfo' data-type='height'/>
    </view>
  </view>
  <view class="headtopitem">
    <view class="headtopleft">体重</view>
    <view class="entername">
      <input placeholder='请输入体重' placeholder-class='enterming' value='{{userInfo.weight}}'  bindinput='inputUserInfo' data-type='weight'/>
    </view>
  </view>
</view>

<view class="headtop">
  <view class="headtopitem">
    <view class="headtopleft">职业</view>
    <view class="entername">
      <input placeholder='请输入职业' placeholder-class='enterming' value='{{userInfo.major}}' bindinput='inputUserInfo' data-type='major'/>
    </view>
  </view>

  <view class="headtopitem">
    <view class="headtopleft">收入</view>
    <view class="entername">
      <input placeholder='请输入收入' placeholder-class='enterming'  value='{{userInfo.income}}'  bindinput='inputUserInfo' data-type='income'/>
    </view>
  </view>

  <view class="headtopitem">
    <view class="headtopleft">兴趣爱好</view>
    <view class="entername">
      <input placeholder='请输入兴趣爱好' placeholder-class='enterming'   value='{{userInfo.interest}}'   bindinput='inputUserInfo' data-type='interest'/>
    </view>
  </view>
</view>