12345678910111213141516171819202122232425262728293031323334353637383940 |
- <view class="bj">
- <view class="title">监护对象信息完善</view>
- </view>
- <view class="home">
- <view class="tips">请如实填写以下信息,感谢您的支持。</view>
- <van-cell-group>
- <van-field value="{{info.name }}" error-message="{{errorinfo.nameerr}}" label="姓名" placeholder='请输入姓名'
- input-align="left" bind:change="nameChange" readonly="{{readonly}}"/>
- </van-cell-group>
- <van-cell-group>
- <van-field value="{{ info.idcard }}" error-message="{{errorinfo.idcarderr}}" label="身份证号" placeholder='请输入身份证号'
- input-align="left" type="idcard" bind:change="idCardChange" readonly="{{readonly}}"/>
- </van-cell-group>
- <van-cell-group>
- <van-field value="{{ info.area }}" error-message="{{errorinfo.areaerr}}" readonly clickable label="行政区划" placeholder='请选择行政区划' input-align="left"
- bind:click-input='areaClick'/>
- </van-cell-group>
- <van-popup show='{{showareaPicker}}' position='bottom'>
- <van-picker show-toolbar show='{{showareaPicker}}' columns="{{ areacolumns }}" bindchange="onareaChange"
- bind:cancel="onareaCancel" bind:confirm="onareaConfirm" />
- </van-popup>
- <van-cell-group>
- <van-field value="{{ info.adress }}" error-message="{{errorinfo.adresserr}}" readonly clickable label="小区/单位" placeholder='请选择小区/单位' input-align="left"
- bind:click-input='adressClick'/>
- </van-cell-group>
- <van-popup show='{{showadressPicker}}' position='bottom'>
- <van-picker show-toolbar show='{{showadressPicker}}' columns="{{ adresscolumns }}" bindchange="onadressChange"
- bind:cancel="onadressCancel" bind:confirm="onadressConfirm" />
- </van-popup>
- <van-cell-group>
- <van-field value="{{ info.adressDetails }}" error-message="{{errorinfo.adressDetailserr}}" label="详细地址" placeholder='请输入详细地址' input-align="left" bindinput="adressDetailsChange" readonly="{{readonly}}"/>
- </van-cell-group>
- <van-cell-group>
- <van-field type="number" value="{{ info.tel }}" error-message="{{errorinfo.telerr}}" label="手机号" placeholder='请输入手机号' input-align="left" bindinput="telChange" readonly="{{readonly}}"/>
- </van-cell-group>
- <view style="margin-top:30rpx" wx:if="{{!readonly}}">
- <button bindtap="submit" style="width:600rpx;background:#FFB943;color:#fff;margin-top:80rpx;font-size:30rpx" bindtap="submit">提交</button>
- </view>
- </view>
- <van-toast id="van-toast" />
|