EntryInformation.wxml
5.3 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!--pages/EntryInformation/EntryInformation.wxml-->
<form bindsubmit='listVerify'>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>姓名</text>
</view>
<view class='list_input'>
<input type='text' placeholder='请输入姓名' value='{{list.name}}' bindinput='setName'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>性别</text>
</view>
<view class='list_input'>
<picker class='picker' range='{{sexArray}}' value='{{sex_index}}' bindchange='selectSex'>
<input placeholder='请输入性别' value='{{list.sex}}' disabled='true'></input>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>家庭角色</text>
</view>
<view class='list_input'>
<input type='text' placeholder='请输入家庭角色' value='{{list.family_role}}' bindinput='familyRole'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>个人年收入</view>
<view class='list_input'>
<input type='digit' placeholder='请输入个人年收入' value='{{list.income}}' bindinput='income'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>手机号 </view>
<view class='list_input'>
<input type='number' placeholder='请输入手机号' value='{{list.mobile}}' bindinput='setMobile'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>出生日期</text>
</view>
<view class='list_input'>
<picker class='picker' mode="date" value='{{list.birthday }}' bindchange='birthDate'>
<input placeholder='请选择出生日期' value='{{list.birthday }}' disabled='true'></input>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>单位名称 </view>
<view class='list_input'>
<input type='text' placeholder='请输入单位名称' value='{{list.work}}' bindinput='setWork'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>单位地址 </view>
<view class='list_input'>
<input type='text' placeholder='请输入单位地址' value='{{list.work_address}}' bindinput='setworkAddress'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>家庭地址 </view>
<view class='list_input'>
<input type='text' placeholder='请输入家庭地址' value='{{list.address}}' bindinput='setSddress'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>通讯地址 </view>
<view class='list_input'>
<view class="address_btn {{addsess_current==0?'unit_address':''}}" data-current='0' bindtap='addressCharge'>家庭地址</view>
<view class="address_btn {{addsess_current==1?'unit_address':''}}" data-current='1' bindtap='addressCharge'>单位地址</view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>证件类型</view>
<view class='list_input'>
<picker class='picker' range='{{card_Array}}' value='{{card_index}}' bindchange='selectIdCard'>
<input placeholder='请选择证件类型' value='{{card_Array[card_index]}}' disabled='true'></input>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>证件号 </view>
<view class='list_input'>
<input type='text' placeholder='请输入证件号' value='{{list.id_num}}' bindinput='setIdNum'></input>
</view>
</view>
</view>
<view class='box'>
<!-- 上传图片 -->
<view class='upload_box'>
<view class='popup_img' wx:if='{{hasimg}}' bindtap='chooseImg'>
<image src='{{list.picurl}}' bindtap='viewImg'></image>
</view>
<view bindtap='chooseImg' wx:else>
<view class='iconfont icon-add'></view>
<view>请上传清晰的保单照片</view>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>用户描述</view>
</view>
<view class='list_textarea'>
<textarea placeholder='请在此添加对用户的描述' value='{{list.text}}' placeholder-class='font_color' bindinput='descript'></textarea>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>添加用户标签</view>
</view>
<view class='item_list item_label_box' wx:for='{{label_type}}' wx:key='' data-Mindex='{{index}}'>
<view class='list_label_title'>{{item.label}} </view>
<view class='list_label'>
<view class="address_btn {{item.status?'unit_address':''}}" data-id='{{item.id}}' data-status='{{item.status}}' wx:for='{{item.data}}' wx:key='' data-Sindex='{{index}}' data-Mindex='{{index}}' bindtap='selectLabel'>{{item.name}}</view>
</view>
</view>
</view>
<!-- 底部按钮 -->
<view class='null_box'></view>
<view class='bottom_box'>
<button class='bottom_btn' data-type='complete' formType='submit'>完成</button>
</view>
</form>