Authored by 张丽霞

手机确认及验证与确认&https

... ... @@ -34,7 +34,7 @@
</div>
<div class="under-title">
<div class="input-content phone-input-content has-clear">
<div class="input-content phone-input-content">
<input id="phone" type="text" placeholder="请输入手机号" maxlength="11"/>
<i class="clear-input iconfont hidden clear-mobile">&#xe626;</i>
... ...
... ... @@ -5218,9 +5218,6 @@ a{
background: #fff;
color: #444;
}
.receive-coupon-page .coupon-centent .has-clear{
padding-right: 0.75rem;
}
.receive-coupon-page .coupon-centent .clear-input{
position: absolute;
padding: 0.25rem;
... ...
This diff could not be displayed because it is too large.
... ... @@ -7,7 +7,6 @@ var $ = require('yoho-jquery'),
newUserCouponPic = $('#newUserCouponPic').html(),
tipMessage = $('#tipMessage').html(),
activityID = $('#activityID').html(),
pageInfo = $('#pageInfo').html(),
_weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage',
shareTitle = $('#shareTitle').val(),
shareImg = $('#shareImg').val(),
... ... @@ -132,7 +131,7 @@ if (typeof wx !== 'undefined') {
});
}
$('.input-content div').on('click', function() {
$('.phone-input-content div').on('click', function() {
phone = $(this).siblings('input').val();
reg = /[0-9]{11}/;
if (!reg.test(phone)) {
... ... @@ -222,7 +221,7 @@ $('.input-content div').on('click', function() {
}
});
});
$('.input-content').on('click', '.get', function() {
$('.vertify-input-content').on('click', '.get', function() {
$('.input-content div').eq('1').removeClass('get');
if ($(this).siblings('input').val().length === 4) {
$.ajax({
... ...
... ... @@ -94,10 +94,6 @@
}
}
.has-clear {
padding-right: 30px;
}
.clear-input {
position: absolute;
padding: 10px;
... ...