公寓小程序端前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
2.5 KiB

<view class="author ">
<van-cell is-link center custom-class="cus-avatar">
<view slot="title">
<van-image width="55" height="55" round src="https://img.yzcdn.cn/vant/cat.jpeg" />
</view>
</van-cell>
<!-- <van-uploader style="margin-top: 15rpx;" file-list="{{ fileList }}" bind:delete="deleteImg" bind:after-read="afterRead" max-count="1" /> -->
</view>
<view class="card">
<view class="title">
基本信息
</view>
<van-cell-group>
<van-field model:value="{{ nickName }}" placeholder="请输入" input-align="right" label="昵称" />
<!-- <van-divider /> -->
<van-field model:value="{{ name }}" input-align="right" label="姓名" required placeholder="请输入" />
<!-- <van-divider /> -->
<van-field model:value="{{ idCard }}" label="身份证" input-align="right" type="idcard" required placeholder="实名认证请输入身份证" border="{{ false }}" />
<!-- <van-divider /> -->
<van-field model:value="{{ mobile }}" center clearable label="手机号" required placeholder="请输入" border="{{ false }}" use-button-slot>
<van-button slot="button" size="small" type="primary" round color="#f53e1f" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">
重新获取
</van-button>
</van-field>
<!-- 住房剩余天数 -->
<van-field model:value="{{ housingDays }}" label="住房剩余天数" input-align="right" type="digit" placeholder="请输入" border="{{ false }}" />
</van-cell-group>
</view>
<view style="width: 100%; text-align: center;margin-top: 20rpx;">
<view class="bot-btn">
<van-button slot="button" type="primary" round color="#f53e1f" bind:tap="submit">
提交
</van-button>
</view>
</view>
<van-popup show="{{ showAgency }}" round position="bottom">
<van-cascader wx:if="{{showAgency}}" field-names="{{ {text: 'label',value: 'value',children: 'children'} }}" value="{{ cascaderValue }}" title="请选择所在地区" options="{{ agencyList }}" bind:close="onCancelAgency" bind:change="onChangeAgency" bind:finish="onConfirmAgency" />
</van-popup>
<van-action-sheet cancel-text="确定" bind:cancel="onClose" close-on-click-action="{{false}}" show="{{ showIdentity }}" actions="{{ identityList }}" bind:select="onChangeIdentity" />
<van-action-sheet cancel-text="确定" bind:cancel="onCloseV" close-on-click-action="{{false}}" show="{{ showVolunOrg }}" actions="{{ volunOrgList }}" bind:select="onChangeVolunOrg" />