Authored by zhangxiaoru

gulp ge

... ... @@ -8273,7 +8273,8 @@ var limitProductCode,
// 限购商品的skn。只有限购商品时才会设置。
skn;
var $sizeInfo;
var $sizeInfo,
$thumbImg;
//禁用数字编辑
function disableNumEdit() {
... ... @@ -8304,7 +8305,8 @@ function init() {
isEdit = 0;
$mnum = $('#mnum');
discountNum = $mnum.val() - 0;
$sizeInfo = $('.size-info');
$sizeInfo = $('.size-info');
$thumbImg = $('.thumb-img');
}
/*
... ... @@ -8574,7 +8576,7 @@ function chosedLength() {
for (var i = 0; i < chosedStr.length; i++) {
if (chosedStr.charCodeAt(i) > 255) {
      strlen += 2;
strlen += 2;
    } else {
      strlen ++;
}
... ... @@ -8964,11 +8966,11 @@ $yohoPage.on('click', '.close', function() {
});
$yohoPage.on('touchstart', '.thumb', function() {
if ($(this).hasClass('hover')) {
$(this).removeClass('hover');
if ($thumbImg.hasClass('hover')) {
$thumbImg.removeClass('hover');
} else {
$(this).addClass('hover');
}
$thumbImg.addClass('hover');
}
})
exports.init = init;
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.