12345678910111213141516171819202122232425262728293031323334353637383940 |
- <nav type="back" title="添加入住人" />
- <view class="page-section">
- <list-item label="姓名" >
- <view slot="content">
- <input type="text" placeholder="请填写入住人姓名" model:value="{{realname}}" bind:input="onChange" />
- </view>
- </list-item>
- <van-divider customStyle="margin:8rpx 0;"/>
- <list-item label="证件类型" arrow="arrow" bind:arrowtap="selectCardtype">
- <view slot="content" bind:tap="selectCardtype">
- <text class="text text-left">{{cardtype}}</text>
- </view>
- </list-item>
- <van-divider customStyle="margin:8rpx 0;"/>
- <list-item label="证件号码" >
- <view slot="content">
- <input type="idcard" placeholder="请填写真实证件号码" model:value="{{idcard}}"/>
- </view>
- </list-item>
- <van-divider customStyle="margin:8rpx 0;"/>
- <list-item label="手机号码" >
- <view slot="content">
- <input type="text" placeholder="请填写手机号码" model:value="{{mobile}}"/>
- </view>
- </list-item>
- <van-divider customStyle="margin:8rpx 0;"/>
- </view>
- <view class="page-section">
- <view class="text-small spacing-small grey">
- <van-icon name="warning" class="warning"></van-icon>
- <text class="tips">根据国家相关法律法规,入住经营性质的酒店、民宿,必须提供入住者的身份信息。\n 您的身份信息会严格保密,仅用于必要的身份核实。\n上述手机号码将用于房东在提供入住和相关服务时联系房客,请您知悉。
- </text>
- </view>
- </view>
- <view class="page-section">
- <button class="save-btn" size="large" bind:tap="save">保存</button>
- </view>
- <!-- 证件类型选择 -->
- <van-picker wx:if="{{ showTypePicker }}" show-toolbar title="证件类型" columns="{{columns}}" bind:cancel="typePickerCancel"
- bind:confirm="typePickerEnter" class="type-picker" default-index="{{ 0 }}"/>
|