| | |
| | | <view class="container"> |
| | | <image class="avatar" bindtap="selMedia" src="{{ imgurlFull ? imgurlFull : '../../static/images/default_avatar.png' }}"></image> |
| | | <view bindtap="selMedia" class="avatar_btn">更换头像</view> |
| | | <button open-type="chooseAvatar" bindchooseavatar="getBindchooseavatar" class="avatar_btn">更换头像</button> |
| | | <view class="list"> |
| | | <view class="line"> |
| | | <view class="label">昵称</view> |
| | | <van-field type="text" class="input" model:value="{{ nickname }}" maxlength="{{ 18 }}" clearable /> |
| | | <view class="val"> |
| | | <input bindchange="getNickName" value="{{ nickname }}" maxlength="{{ 10 }}" type="nickname"/> |
| | | </view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">姓名</view> |
| | |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">电话</view> |
| | | <van-field type="number" border="{{ false }}" class="input" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable /> |
| | | <view class="wechat_phone"> |
| | | <van-field class="field" type="number" border="{{ false }}" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable /> |
| | | <button open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" class="btn">微信授权</button> |
| | | </view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">城市</view> |
| | | <view class="val"> |
| | | <view class="df_ac" style="width: 100%"> |
| | | <picker class="picker" mode="region" value="{{ addr }}" bindchange="bindRegionChange" bindchange="positionChange"> |
| | | <picker class="picker" mode="region" value="{{ addr }}" bindchange="positionChange"> |
| | | <view class="picker_wrap"> |
| | | <view class="text placeholder9" hidden="{{ addr.cityName }}">请选择地址</view> |
| | | <view class="text" hidden="{{ !addr.cityName }}"> |
| | |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">面积</view> |
| | | <van-field type="number" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 30 }}" clearable /> |
| | | <van-field custom-style="width: 100%" type="digit" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 30 }}" clearable /> |
| | | <text>m²</text> |
| | | </view> |
| | | <view class="line"> |
| | |
| | | <view class="label">房屋户型</view> |
| | | <view class="val"> |
| | | <view class="item"> |
| | | <van-field data-str="val1" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <van-field value="{{ houseType.val1 }}" data-str="val1" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <view class="unit">室</view> |
| | | </view> |
| | | <view class="item"> |
| | | <van-field data-str="val2" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <van-field value="{{ houseType.val2 }}" data-str="val2" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <view class="unit">厅</view> |
| | | </view> |
| | | <view class="item"> |
| | | <van-field data-str="val3" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <van-field value="{{ houseType.val3 }}" data-str="val3" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <view class="unit">厨</view> |
| | | </view> |
| | | <view class="item"> |
| | | <van-field data-str="val4" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <van-field value="{{ houseType.val4 }}" data-str="val4" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <view class="unit">卫</view> |
| | | </view> |
| | | <view class="item"> |
| | | <van-field data-str="val5" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <van-field value="{{ houseType.val5 }}" data-str="val5" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <view class="unit">阳</view> |
| | | </view> |
| | | </view> |