addinfo.wxml
3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!--pages/main/addinfo/addinfo.wxml-->
<import src="../../../common/picker_cell" />
<view class='page__'>
<view class="divide_line"></view>
<form bindsubmit='formSubmit'>
<view class='data_list' hidden="{{isself}}">
<view class='data_item'>
<template is="picker_cell_normal" data="{{...relativeData}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...cardtypeData}}" />
<!-- <view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left'>证照类型</text>
<text class='text_black_30 float_right' style='line-height: 90rpx'>居民身份证</text>
</view> -->
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left'style='line-height: 90rpx'>证照号码</text>
<view wx:if="{{isIdCard}}" >
<image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo'></image>
<!-- <text class='text_333_28 float_right'>{{card_number}}</text> -->
<input class='input_wrap' placeholder='请输入或拍摄身份证' placeholder-class='text_999_30' name='id_card_no' maxlength='18' value='{{card_number}}' bindblur="idDone" bindinput="idChange" disabled='{{isDisable}}' type='idcard' ></input>
</view>
<view wx:else>
<input class='input_wrap' placeholder='请输入证照号码' placeholder-class='text_999_30' name='id_card_no' maxlength='30' value='{{card_number}}' bindblur="idDone" bindinput="idChange" disabled='{{isDisable}}'></input>
</view>
</view>
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>姓名</text>
<input class='input_wrap' placeholder='请填写姓名' name='person_name' value='{{name}}' placeholder-class='text_999_30' maxlength='15' disabled='{{isDisable}}' bindinput='nameInput'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...genderData}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...birthDate}}" />
<!-- <view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>年龄</text>
<input class='input_wrap' name='age' type='number' placeholder-class='text_999_30' placeholder='年龄' maxlength='2' value='{{age}}' disabled='{{isIdCard}}'></input>
</view> -->
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...countryData}}" />
<!-- <view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>国籍</text>
<text class='text_black_30 float_right' style='line-height: 90rpx' >中国</text>
</view> -->
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...forignerInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='text_777_30 float_left head_in' style='line-height: 90rpx'>联系电话</text>
<input class='input_wrap' placeholder="请输入手机号" value='{{mobile}}' name='mobile' type='number' maxlength='11' bindblur='bindinputmobile' type='number'></input>
</view>
</view>
</view>
<view class="btn_bottom">
<button class="btn_bottom" formType="submit"> 保存</button>
</view>
</form>
</view>
<!-- 普通选择器 -->