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.

25 lines
1.1 KiB

4 years ago
<!--pages/user/address/add/index.wxml-->
<view>
<title-header title="{{id?'编辑':'添加'}}出行人"></title-header>
<view class="input-item">
<text class="input-label">姓名:</text>
<input bindinput="nameInput" value="{{formData.username}}" class="weui-input" auto-focus placeholder="请输入姓名" />
</view>
<view class="input-item">
<text class="input-label">手机号:</text>
<input bindinput="telInput" type="number" value="{{formData.mobile}}" class="weui-input" placeholder="请输入手机号" />
</view>
<view class="input-item" style="height:240rpx">
<picker bindchange="selectType" value="{{selectIndex}}" range="{{typeList}}">
<view class="picker com-flex">
<text>{{typeList[selectIndex]}}</text>
<view class="iconfont icon-xia"></view>
</view>
</picker>
<textarea bindinput="idNumberInput" type="number" value="{{formData.idNumber}}" class="weui-input" placeholder="请选择证件并输入证件号"></textarea>
</view>
<view class="com-flex btns">
<view bindtap="cancel">取消</view>
<view class="active" bindtap="submit">确定</view>
</view>
</view>