| | |
| | | <view class="container"> |
| | | <image class="avatar" src="" mode="widthFix"></image> |
| | | <image class="avatar" src="{{ imgurlFull ? imgurlFull : '../../static/images/default_avatar.png' }}" mode="widthFix"></image> |
| | | <view bindtap="selMedia" class="avatar_btn">更换头像</view> |
| | | <view class="list"> |
| | | <view class="line"> |
| | | <view class="label">昵称</view> |
| | | <van-field type="text" class="input" model:value="{{ name }}" maxlength="{{ 18 }}" clearable /> |
| | | <van-field type="text" class="input" model:value="{{ nickname }}" maxlength="{{ 18 }}" clearable /> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">姓名</view> |
| | | <van-field type="text" class="input" model:value="{{ name }}" maxlength="{{ 18 }}" clearable /> |
| | | <van-field type="text" border="{{ false }}" class="input" model:value="{{ name }}" maxlength="{{ 18 }}" clearable /> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">电话</view> |
| | | <van-field type="number" class="input" model:value="{{ name }}" maxlength="{{ 11 }}" clearable /> |
| | | <van-field type="number" border="{{ false }}" class="input" model:value="{{ phone }}" maxlength="{{ 11 }}" clearable /> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">城市</view> |
| | | <view class="val"> |
| | | <view class="input"> |
| | | <view class="df_ac"> |
| | | <picker mode="region" bindchange="bindRegionChange" value="{{region}}"> |
| | | <view class="picker {{ region.length > 0 ? '' : 'placeholder9' }}"> |
| | | {{ region.length == 0 ? '选择城市' : '' }}{{region[0]}}{{region[1]}}{{region[2]}} |
| | |
| | | <view class="line"> |
| | | <view class="label">地址</view> |
| | | <view class="val" bindtap="changeAddr"> |
| | | <view class="input">{{ address }}</view> |
| | | <view class="df_ac">{{ address }}</view> |
| | | <image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image> |
| | | </view> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">小区</view> |
| | | <van-field type="text" class="input" model:value="{{ name }}" maxlength="{{ 15 }}" clearable /> |
| | | <van-field type="text" border="{{ false }}" class="input" model:value="{{ district }}" maxlength="{{ 15 }}" clearable /> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">面积</view> |
| | | <van-field type="text" class="input" model:value="{{ name }}" maxlength="{{ 15 }}" clearable /> |
| | | <van-field type="text" border="{{ false }}" class="input" model:value="{{ housearea }}" maxlength="{{ 15 }}" clearable /> |
| | | <!-- <text>m²</text> --> |
| | | </view> |
| | | <view class="line"> |
| | | <view class="label">户型</view> |
| | | <van-field type="text" class="input" model:value="{{ name }}" maxlength="{{ 15 }}" clearable /> |
| | | <view class="val" bindtap="openHouse"> |
| | | <view class="df_ac"> |
| | | <text class="item" wx:if="{{ houseType.val1 }}">{{ houseType.val1 }}室</text> |
| | | <text class="item" wx:if="{{ houseType.val2 }}">{{ houseType.val2 }}厅</text> |
| | | <text class="item" wx:if="{{ houseType.val3 }}">{{ houseType.val3 }}厨</text> |
| | | <text class="item" wx:if="{{ houseType.val4 }}">{{ houseType.val4 }}卫</text> |
| | | <text class="item" wx:if="{{ houseType.val5 }}">{{ houseType.val5 }}阳</text> |
| | | </view> |
| | | <image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image> |
| | | </view> |
| | | </view> |
| | | <view bindtap="onSubmit" class="save">保存</view> |
| | | </view> |
| | | <!-- --> |
| | | <van-popup show="{{ showHouseType }}" round position="bottom" custom-style="height: 30%" bind:close="onClose"> |
| | | <view class="modal"> |
| | | <view class="label">房屋户型</view> |
| | | <view class="val"> |
| | | <view class="item"> |
| | | <van-field 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 }}" /> |
| | | <view class="unit">厅</view> |
| | | </view> |
| | | <view class="item"> |
| | | <van-field 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 }}" /> |
| | | <view class="unit">卫</view> |
| | | </view> |
| | | <view class="item"> |
| | | <van-field data-str="val5" bind:blur="houseBlur" type="number" class="input" maxlength="{{ 3 }}" /> |
| | | <view class="unit">阳</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </van-popup> |
| | | |
| | | </view> |