vip-login.wxml
3.88 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
<view class="page">
<view class="app__bgc bgc"></view>
<view class="app__bg bg"></view>
<view class="app__content main">
<view class="top-space"></view>
<view class="content">
<view class="table">
<!-- 表单 -->
<view class="form">
<view class="form-item">
<view class="label">真实姓名</view>
<input disabled="{{isModify}}" class="cont {{isModify ? 'modify' :''}}" value="{{name}}" bindinput="bindNameInput" placeholder="请输入" />
</view>
<view class="form-item">
<view class="label">店名</view>
<input disabled="{{isModify}}" class="cont {{isModify ? 'modify' :''}}" value="{{shopName}}" bindinput="bindShopNameInput" placeholder="选填" />
</view>
<picker disabled="{{isModify}}" value="{{membersShipIndex}}" range="{{membersShipList}}" range-key="memberTypeName" bindchange="bindMembersShipChange">
<view class="form-item">
<view class="label">会员身份</view>
<span class="cont {{isModify ? 'modify' :''}}">{{memberTypeName || '请选择'}}</span>
<view class="exts" data-data="{{contactInfo.contactTel}}">
<image class="icon" mode="aspectFit" src="../../image/icon/icon-arrow-right.png" />
</view>
</view>
</picker>
<view class="form-item">
<view class="label">销售区域</view>
<view class="cont address">
<picker disabled="{{isModify}}" class="area {{isModify ? 'modify' :''}}" bindchange="bindPickerChangeProvince" value="{{provinceIndex}}" range="{{provinceList}}" range-key="areaName">
{{province || '省'}}
</picker>
<view class="line"></view>
<picker disabled="{{isModify}}" class="area {{isModify ? 'modify' :''}}" bindchange="bindPickerChangeCity" value="{{cityIndex}}" range="{{cityList}}" range-key="areaName">
{{city || '市'}}
</picker>
</view>
</view>
<view class="form-item">
<view class="label">手机号码</view>
<input class="cont" value="{{mobile}}" bindinput="bindMobileInput" type="number" placeholder="请输入" />
</view>
<view class="form-item">
<view class="label">验证码</view>
<input class="cont" bindinput="bindVerifyCodeInput" type="number" placeholder="请输入" />
<view value="{{verifyCode}}" class="exts">
<view bindtap="reqGetSmsRequest" class="code">
{{sendAuthCode ? "获取验证码": auth_time+"(s)"}}
</view>
</view>
</view>
</view>
<!-- 上传 -->
<view class="upload">
<!-- <view class="upload-tit">请上传身份证或电工证,审核后,可签到及兑换积分</view> -->
<view class="upload-wrap">
<view class="upload-wrap-item">
<image class="image" bindtap="onUploadHandler" mode="aspectFit" src="{{files[0] && files[0].path?files[0].path:'../../image/icon/icon-plus.png'}}" />
<view class="tips">身份证正面</view>
</view>
<view class="upload-wrap-item">
<image class="image" mode="aspectFit" src="../../image/icon/icon-id-card.png" />
<view class="tips">示例</view>
</view>
</view>
<view class="submit-tips">
<text class="text">五金分销商请上传营业执照,其他用户上传身份证或电工证\n审核后可参与签到及兑换积分</text>
</view>
</view>
<!-- 提交按钮 -->
<view class="submit-btn" bindtap="onSubmitHandler">确认提交</view>
</view>
</view>
</view>
</view>
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>