bindPhoneNumber.wxml
1.85 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
<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">{{verifyBtnText == undefined ? '获取验证码' : verifyBtnText}}</view>
</view>
</view>
<view class='line'> </view>
<button catchtap="bindBtnAction" class="view-bindBtn {{disabledClass == undefined ? 'disabled' : disabledClass}}" >完成</button>
<button catchtap="verifyBtnAction" class="view-verifyBtn" bindtap="{{!hasUnionID?'verifyBtnAction':''}}" open-type="{{hasUnionID?'getPhoneNumber':''}}" bindgetphonenumber="getPhoneNumber">自动验证</button>
</view>
<import src="../../vendors/toast/wetoast.wxml"/>
<template is="wetoast" data="{{...__wetoast__}}"/>