Authored by whb

index,js.css

@@ -1744,9 +1744,12 @@ if ($udPrice.length > 0) { @@ -1744,9 +1744,12 @@ if ($udPrice.length > 0) {
1744 1744
1745 //【高级选项】鼠标移入显示子项 1745 //【高级选项】鼠标移入显示子项
1746 $seniorAttrWrap.on('mouseenter', '.attr', function() { 1746 $seniorAttrWrap.on('mouseenter', '.attr', function() {
1747 - var index = $(this).addClass('hover').index(); 1747 + var $this = $(this);
  1748 + var index = $this.index();
  1749 +
  1750 + $this.addClass('hover').siblings().removeClass('hover');
1748 1751
1749 - $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide'); 1752 + $seniorSubWrap.children('.senior-sub:eq(' + index + ')').removeClass('hide').siblings().addClass('hide');
1750 }).on('mouseleave', '.attr', function() { 1753 }).on('mouseleave', '.attr', function() {
1751 var $this = $(this), 1754 var $this = $(this),
1752 index = $this.index(); 1755 index = $this.index();
@@ -1782,6 +1785,7 @@ $('.senior-sub').on('click', '.multi-select', function() { @@ -1782,6 +1785,7 @@ $('.senior-sub').on('click', '.multi-select', function() {
1782 }).on('mouseleave', function() { 1785 }).on('mouseleave', function() {
1783 hideSeniorPanel(); 1786 hideSeniorPanel();
1784 }); 1787 });
  1788 +
1785 }); 1789 });
1786 define("js/product/sort-pager", ["jquery"], function(require, exports, module){ 1790 define("js/product/sort-pager", ["jquery"], function(require, exports, module){
1787 /** 1791 /**
@@ -3962,7 +3966,7 @@ function picCaptchaAjaxFn(page, callback) { @@ -3962,7 +3966,7 @@ function picCaptchaAjaxFn(page, callback) {
3962 type: 'POST', 3966 type: 'POST',
3963 url: url, 3967 url: url,
3964 data: { 3968 data: {
3965 - code: $ca.val() 3969 + verifyCode: $ca.val()
3966 3970
3967 //mobile: $pn.val(), 3971 //mobile: $pn.val(),
3968 //area: $region.text().split('+')[1] 3972 //area: $region.text().split('+')[1]
@@ -3995,7 +3999,7 @@ function msgCaptchaAjaxFn(page, callback) { @@ -3995,7 +3999,7 @@ function msgCaptchaAjaxFn(page, callback) {
3995 type: 'POST', 3999 type: 'POST',
3996 url: url, 4000 url: url,
3997 data: { 4001 data: {
3998 - code: $ca.val(), 4002 + verifyCode: $ca.val(),
3999 mobile: $pn.val(), 4003 mobile: $pn.val(),
4000 area: $region.text().split('+')[1] 4004 area: $region.text().split('+')[1]
4001 } 4005 }
@@ -4291,7 +4295,7 @@ exports.init = function(page) { @@ -4291,7 +4295,7 @@ exports.init = function(page) {
4291 4295
4292 $regionSelect.change(function() { 4296 $regionSelect.change(function() {
4293 4297
4294 - $region.text('+' + $('#region').val()); 4298 + $region.text($('#region').val());
4295 4299
4296 validateRule(page, $pn, showErrTip); //验证 4300 validateRule(page, $pn, showErrTip); //验证
4297 }); 4301 });
@@ -4319,7 +4323,7 @@ exports.init = function(page) { @@ -4319,7 +4323,7 @@ exports.init = function(page) {
4319 data: { 4323 data: {
4320 area: $region.text().split('+')[1], 4324 area: $region.text().split('+')[1],
4321 mobile: $pn.val(), 4325 mobile: $pn.val(),
4322 - code: $ca.val() 4326 + verifyCode: $ca.val()
4323 } 4327 }
4324 }).then(function(data) { 4328 }).then(function(data) {
4325 if (data.code === 200) { 4329 if (data.code === 200) {
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.