Authored by 张丽霞

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

@@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
34 </div> 34 </div>
35 35
36 <div class="under-title"> 36 <div class="under-title">
37 - <div class="input-content phone-input-content has-clear"> 37 + <div class="input-content phone-input-content">
38 <input id="phone" type="text" placeholder="请输入手机号" maxlength="11"/> 38 <input id="phone" type="text" placeholder="请输入手机号" maxlength="11"/>
39 <i class="clear-input iconfont hidden clear-mobile">&#xe626;</i> 39 <i class="clear-input iconfont hidden clear-mobile">&#xe626;</i>
40 40
@@ -5218,9 +5218,6 @@ a{ @@ -5218,9 +5218,6 @@ a{
5218 background: #fff; 5218 background: #fff;
5219 color: #444; 5219 color: #444;
5220 } 5220 }
5221 -.receive-coupon-page .coupon-centent .has-clear{  
5222 - padding-right: 0.75rem;  
5223 -}  
5224 .receive-coupon-page .coupon-centent .clear-input{ 5221 .receive-coupon-page .coupon-centent .clear-input{
5225 position: absolute; 5222 position: absolute;
5226 padding: 0.25rem; 5223 padding: 0.25rem;
This diff could not be displayed because it is too large.
@@ -7,7 +7,6 @@ var $ = require('yoho-jquery'), @@ -7,7 +7,6 @@ var $ = require('yoho-jquery'),
7 newUserCouponPic = $('#newUserCouponPic').html(), 7 newUserCouponPic = $('#newUserCouponPic').html(),
8 tipMessage = $('#tipMessage').html(), 8 tipMessage = $('#tipMessage').html(),
9 activityID = $('#activityID').html(), 9 activityID = $('#activityID').html(),
10 - pageInfo = $('#pageInfo').html(),  
11 _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage', 10 _weChatInterface = 'http://www.yohoshow.com/api/wechat/getSignPackage',
12 shareTitle = $('#shareTitle').val(), 11 shareTitle = $('#shareTitle').val(),
13 shareImg = $('#shareImg').val(), 12 shareImg = $('#shareImg').val(),
@@ -132,7 +131,7 @@ if (typeof wx !== 'undefined') { @@ -132,7 +131,7 @@ if (typeof wx !== 'undefined') {
132 }); 131 });
133 } 132 }
134 133
135 -$('.input-content div').on('click', function() { 134 +$('.phone-input-content div').on('click', function() {
136 phone = $(this).siblings('input').val(); 135 phone = $(this).siblings('input').val();
137 reg = /[0-9]{11}/; 136 reg = /[0-9]{11}/;
138 if (!reg.test(phone)) { 137 if (!reg.test(phone)) {
@@ -222,7 +221,7 @@ $('.input-content div').on('click', function() { @@ -222,7 +221,7 @@ $('.input-content div').on('click', function() {
222 } 221 }
223 }); 222 });
224 }); 223 });
225 -$('.input-content').on('click', '.get', function() { 224 +$('.vertify-input-content').on('click', '.get', function() {
226 $('.input-content div').eq('1').removeClass('get'); 225 $('.input-content div').eq('1').removeClass('get');
227 if ($(this).siblings('input').val().length === 4) { 226 if ($(this).siblings('input').val().length === 4) {
228 $.ajax({ 227 $.ajax({
@@ -94,10 +94,6 @@ @@ -94,10 +94,6 @@
94 } 94 }
95 } 95 }
96 96
97 - .has-clear {  
98 - padding-right: 30px;  
99 - }  
100 -  
101 .clear-input { 97 .clear-input {
102 position: absolute; 98 position: absolute;
103 padding: 10px; 99 padding: 10px;