bindPhoneNumber.wxml
3.93 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
<view name="bindPhoneView">
<view class="view-title">验证手机号</view>
<view class="view-tip">Yoho!Family账号可登录YOHO!旗下所有应用(含:Yoho!Buy有货、Yoho!Now、mars、BLK、Yoho!Store)</view>
<view class='countryCode' bindtap="chooseCountry">
<text class='countryTitle'>国家/地区</text>
<text class='countryContent'>{{country_name}}</text>
<view style='margin-right:15rpx;'>
<!-- <text>hi</text> -->
<image src="./images/arrow-down@2x.png" class="right-arrow" mode="widthFix"></image>
</view>
</view>
<view class='line'> </view>
<view class='phoneNumber'>
<text class='phoneTitle'>{{'+'+country_area}}</text>
<input class="phoneNumberContent" placeholder="请输入手机号" bindinput="phoneInputChanged" placeholder-style="color:#e2e2e2" style="margin-top:30rpx;"/>
</view>
<view class='line'> </view>
<view class='verifyCode'>
<text class='verifyCodeTitle'>验证码</text>
<input maxlength="10" class="verifyCondeContent" placeholder="请输入验证码" bindinput="verifyCodeInputChanged" placeholder-style="color:#e2e2e2"/>
<view class="view-verifyKeyInputContainer">
<view catchtap="getVerifyCode" class="view-getVerifyCode {{counting ? 'disable' : 'enable'}}">{{verifyBtnText == undefined ? '获取验证码' : verifyBtnText}}</view>
</view>
</view>
<view class='line'> </view>
<block wx:if="{{graphicsCodeSwitch}}">
<view class='graphicsHeaderView'>
<text class='title'>请将下列图片点击翻转至正向朝上</text>
<text class='button' catchtap="update">换一批</text>
</view>
<view class='graphicsContentView'>
<view class='itemView' data-itemIndex='0' catchtap="didSelectImage" style='margin-left: 30rpx;'>
<image class='item{{graphicsCodeElement[0].dataVal}} image0' src="{{graphicsCodeUrl}}"></image>
</view>
<view class='itemView' data-itemIndex='1' catchtap="didSelectImage">
<image class='item{{graphicsCodeElement[1].dataVal}} image1' src="{{graphicsCodeUrl}}"></image>
</view>
<view class='itemView' data-itemIndex='2' catchtap="didSelectImage">
<image class='item{{graphicsCodeElement[2].dataVal}} image2' src="{{graphicsCodeUrl}}"></image>
</view>
<view class='itemView' data-itemIndex='3' catchtap="didSelectImage" style='margin-right: 30rpx;'>
<image class='item{{graphicsCodeElement[3].dataVal}} image3' src="{{graphicsCodeUrl}}"></image>
</view>
<!-- <image data-itemIndex='0' catchtap="didSelectImage" class='item' src="{{graphicsCodeUrl}}" style='margin-left: 30rpx; background-position: {{graphicsCodeElement[0].position}};'></image>
<image data-itemIndex='1' catchtap="didSelectImage" class='item' style="background-image: url({{graphicsCodeUrl}}); background-position: {{graphicsCodeElement[1].position}}"></image>
<image data-itemIndex='2' catchtap="didSelectImage" class='item' src="{{graphicsCodeUrl}}" style="background-image: url({{graphicsCodeUrl}}); background-position: {{graphicsCodeElement[2].position}}"></image>
<image data-itemIndex='3' catchtap="didSelectImage" class='item' src="{{graphicsCodeUrl}}" style='margin-right: 30rpx;background-image: url({{graphicsCodeUrl}}); background-position: {{graphicsCodeElement[3].position}}'></image> -->
</view>
</block>
<button catchtap="bindBtnAction" class="view-bindBtn {{disabledClass == undefined ? 'disabled' : disabledClass}}" >完成</button>
<!-- <button class="view-verifyBtn" open-type="{{hasUnionID?'getPhoneNumber':'getUserInfo'}}" bindgetphonenumber="getPhoneNumber" bindgetuserinfo='getUserInfo'>自动验证</button> -->
</view>
<import src="../../vendors/zanui/toast/index.wxml"/>
<template is="zan-toast" data="{{zanToast}}"/>
<import src="../../vendors/toast/wetoast.wxml"/>
<template is="wetoast" data="{{...__wetoast__}}"/>