Authored by whb

index, css

@@ -1637,7 +1637,7 @@ $('#brand-search-input').keyup(function() { @@ -1637,7 +1637,7 @@ $('#brand-search-input').keyup(function() {
1637 if (val === '') { 1637 if (val === '') {
1638 $brandAttrs.removeClass('hide'); 1638 $brandAttrs.removeClass('hide');
1639 } else { 1639 } else {
1640 - $brandAttrs.addClass('hide').filter('[data-key*=' + val + ']').removeClass('hide'); 1640 + $brandAttrs.addClass('hide').filter('[data-key*="' + val + '"]').removeClass('hide');
1641 } 1641 }
1642 }); 1642 });
1643 1643
@@ -4553,7 +4553,10 @@ require("jquery.placeholder"); @@ -4553,7 +4553,10 @@ require("jquery.placeholder");
4553 }*/ 4553 }*/
4554 4554
4555 function imgcode() { 4555 function imgcode() {
4556 - $('#captcha-img').attr('src', 'http://www.yohobuy.com/passport/images?t=' + Math.random()); 4556 + var time = new Date(),
  4557 + $captchaImg = $('#captcha-img'),
  4558 + captchaImgSrc = $captchaImg.attr('src').split('?')[0];
  4559 + $('#captcha-img').attr('src', captchaImgSrc + '?t=' + time.getTime());
4557 4560
4558 //getSource('yoho_family_web', '换一张', 'homepage_man'); 4561 //getSource('yoho_family_web', '换一张', 'homepage_man');
4559 } 4562 }
@@ -4610,8 +4613,8 @@ function vaCa() { @@ -4610,8 +4613,8 @@ function vaCa() {
4610 type: 'POST', 4613 type: 'POST',
4611 url: '/passport/back/authcode', 4614 url: '/passport/back/authcode',
4612 data: { 4615 data: {
4613 - code: v,  
4614 - mobile: $('#phone-num').val(), 4616 + verifyCode: v,
  4617 + phoneNum: $('#phone-num').val(),
4615 area: $('#country-code-hide').val() 4618 area: $('#country-code-hide').val()
4616 } 4619 }
4617 4620
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.