Showing
1 changed file
with
5 additions
and
2 deletions
@@ -170,6 +170,7 @@ function closeMask() { | @@ -170,6 +170,7 @@ function closeMask() { | ||
170 | $('.backdrop').hide(); | 170 | $('.backdrop').hide(); |
171 | } | 171 | } |
172 | }); | 172 | }); |
173 | + | ||
173 | $(document).on('click', '#bindconfirm', function(e) { | 174 | $(document).on('click', '#bindconfirm', function(e) { |
174 | $target = $(e.target); | 175 | $target = $(e.target); |
175 | if ($target.hasClass('mask') || $target.hasClass('backdrop')) { | 176 | if ($target.hasClass('mask') || $target.hasClass('backdrop')) { |
@@ -189,6 +190,7 @@ function yohoBindBtn() { | @@ -189,6 +190,7 @@ function yohoBindBtn() { | ||
189 | $('#bindconfirm').hide(); | 190 | $('#bindconfirm').hide(); |
190 | $('.backdrop').hide(); | 191 | $('.backdrop').hide(); |
191 | }); | 192 | }); |
193 | + | ||
192 | $(document).on('click', '#yohobindbtn2', function() { | 194 | $(document).on('click', '#yohobindbtn2', function() { |
193 | $('.phonenum').val(''); | 195 | $('.phonenum').val(''); |
194 | $('#alreayregist').hide(); | 196 | $('#alreayregist').hide(); |
@@ -228,8 +230,6 @@ function circleTime() { | @@ -228,8 +230,6 @@ function circleTime() { | ||
228 | * @return {[type]} [description] | 230 | * @return {[type]} [description] |
229 | */ | 231 | */ |
230 | function sendMessageValidate() { | 232 | function sendMessageValidate() { |
231 | - circleTime($('#mobile').val()); | ||
232 | - | ||
233 | $(document).on('click', '#sendmessage', function() { | 233 | $(document).on('click', '#sendmessage', function() { |
234 | if ($('#sendmessage').attr('disabled') === 'disabled') { | 234 | if ($('#sendmessage').attr('disabled') === 'disabled') { |
235 | return; | 235 | return; |
@@ -375,6 +375,9 @@ function nextStep() { | @@ -375,6 +375,9 @@ function nextStep() { | ||
375 | 'padding-top': winHeight > 440 ? winHeight / 2 : 217 | 375 | 'padding-top': winHeight > 440 ? winHeight / 2 : 217 |
376 | }); | 376 | }); |
377 | $('#alreayregist').show(); | 377 | $('#alreayregist').show(); |
378 | + | ||
379 | + // 201 code send msg | ||
380 | + circleTime($('#mobile').val()); | ||
378 | } else if (data.code === 203) { | 381 | } else if (data.code === 203) { |
379 | // 已注册 可关联 | 382 | // 已注册 可关联 |
380 | $('#bindmobileform').attr('action', data.data.next); | 383 | $('#bindmobileform').attr('action', data.data.next); |
-
Please register or login to post a comment