register.wxml
3.6 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
<!--pages/my/register/register.wxml-->
<block wx:if='{{state}}'>
<view class='banner_box'>
<view class='head_portrait'>
<image src='{{user_info.picurl}}'></image>
</view>
<view class='banner_info'>{{sharetext}}</view>
</view>
</block>
<block wx:else>
<view class='banner_box'>
<view class='head_portrait'>
<text class='iconfont icon-anquan'></text>
<!-- <image src='{{userinfo.picurl}}'></image> -->
</view>
<view class='banner_info'>{{promote_language}}</view>
</view>
</block>
<form bindsubmit="formSubmit">
<view class='content_box'>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>真实姓名</view>
<view class='list_input'>
<input type='text' placeholder='请填写您的真实姓名' name='name' placeholder-class='pl_style'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>所属机构</view>
<view class='list_input'>
<!-- bindchange="company" -->
<view class='list_picker' value='{{index}}' range='{{company_array}}' range-key="{{firm}}" >
<!-- <input placeholder='请选择保险公司' value='{{company_array[company_index]}}' disabled='true' placeholder-class='pl_style'></input> -->
<input placeholder='请填写保险公司' value='{{work}}' placeholder-class='pl_style' bindinput='company'></input>
<!-- <view class='iconfont icon-xiala'></view> -->
</view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>职业名称</view>
<view class='list_input' bindtap='chargePicker'>
<picker class='list_picker' value='{{titleindex}}' range='{{jobTitle_array}}' bindchange="jobTitle">
<input placeholder='请选择当前职位' value='{{jobTitle_array[titleindex]}}' disabled='true' placeholder-class='pl_style'></input>
<view class='iconfont icon-xiala'></view>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>所在城市</view>
<view class='list_input'>
<input type='text' placeholder='请填写您的所在城市' name='city' placeholder-class='pl_style'></input>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>手机号</view>
<view class='list_input'>
<input type='number' placeholder='请填写手机号' name='tel' bindinput='telNum' placeholder-class='pl_style'></input>
</view>
</view>
<!-- 获取验证码 -->
<view class='item_list'>
<view class='list_title'>验证码</view>
<view class='list_input '>
<input type='number' placeholder='请填写验证码' class='verification_code' name='code' placeholder-class='pl_style'></input>
<view class='code_btn' wx:if='{{disabled}}' bindtap="getVerificationCode">{{time}}</view>
<view class='code_btn' wx:else>{{time}}</view>
</view>
</view>
</view>
<view class='register_agreement'>
<view class="iconfont {{choose_state?'icon-xuanzhong':'icon-xuanzhongyuandian'}}" bindtap='chooseState'></view>
<view>
<text>我已阅读并同意《</text>
<text class='agreement_hint' bindtap='agreement'>注册协议</text>
<text> 》</text>
</view>
</view>
<view class='null_box '></view>
<view class='bottom_box '>
<view class='introduce_btn ' bindtap='goabout'>戳我看介绍</view>
<button formType="submit" class='submit_btn '>提交注册</button>
</view>
</view>
</form>