Authored by 梁志锋

gulp ge文件提交

... ... @@ -5544,8 +5544,20 @@ function changeSizeChosed(newSizeIndex) {
return $curSizeBlock.data('num');
}
}
//特殊处理: 老的选中尺码在新选中的颜色对应尺码中不存在,需要下述1,2,3
// 1.重置尺码选择的标志变量.
$curSizeBlock = null;
return 0;
hasChooseSize = false;
// 2.当前颜色行隐藏
$colorRowList.eq(curColorIndex).addClass('hide');
// 3.目标颜色行第一行显示
$colorRowList.eq(0).removeClass('hide');
curColorIndex = 0;
return -1;
}
return 0;
}
... ... @@ -5623,7 +5635,15 @@ $yohoPage.on('touchstart', '.color-list .block', function() {
// 颜色块切换勾选样式
$this.siblings('.chosed').removeClass('chosed');
$this.toggleClass('chosed');
// 特殊处理
if (-1 === curGoodNum) {
$curColorBlock = $($colorRowList.eq(0).children().get(index));
$curColorBlock.addClass('chosed');
} else {
$this.toggleClass('chosed');
}
$('#good-num').val(1);
// 设置按钮的样式和文字
... ... @@ -8826,7 +8846,7 @@ define("js/me/currency-new", ["jquery","hammer","lazyload"], function(require, e
*/
function getGender() {
return window.cookie('_Channel');
return window.cookie('_Channel') || 'boys';
}
require("js/home/maybe-like")(getGender());
... ...
This diff could not be displayed because it is too large.