Authored by zhangxiaoru

gulp ge

@@ -8273,7 +8273,8 @@ var limitProductCode, @@ -8273,7 +8273,8 @@ var limitProductCode,
8273 // 限购商品的skn。只有限购商品时才会设置。 8273 // 限购商品的skn。只有限购商品时才会设置。
8274 skn; 8274 skn;
8275 8275
8276 -var $sizeInfo; 8276 +var $sizeInfo,
  8277 + $thumbImg;
8277 8278
8278 //禁用数字编辑 8279 //禁用数字编辑
8279 function disableNumEdit() { 8280 function disableNumEdit() {
@@ -8305,6 +8306,7 @@ function init() { @@ -8305,6 +8306,7 @@ function init() {
8305 $mnum = $('#mnum'); 8306 $mnum = $('#mnum');
8306 discountNum = $mnum.val() - 0; 8307 discountNum = $mnum.val() - 0;
8307 $sizeInfo = $('.size-info'); 8308 $sizeInfo = $('.size-info');
  8309 + $thumbImg = $('.thumb-img');
8308 } 8310 }
8309 8311
8310 /* 8312 /*
@@ -8574,7 +8576,7 @@ function chosedLength() { @@ -8574,7 +8576,7 @@ function chosedLength() {
8574 8576
8575 for (var i = 0; i < chosedStr.length; i++) { 8577 for (var i = 0; i < chosedStr.length; i++) {
8576 if (chosedStr.charCodeAt(i) > 255) { 8578 if (chosedStr.charCodeAt(i) > 255) {
8577 -      strlen += 2; 8579 + strlen += 2;
8578     } else { 8580     } else {
8579       strlen ++; 8581       strlen ++;
8580 } 8582 }
@@ -8964,10 +8966,10 @@ $yohoPage.on('click', '.close', function() { @@ -8964,10 +8966,10 @@ $yohoPage.on('click', '.close', function() {
8964 }); 8966 });
8965 8967
8966 $yohoPage.on('touchstart', '.thumb', function() { 8968 $yohoPage.on('touchstart', '.thumb', function() {
8967 - if ($(this).hasClass('hover')) {  
8968 - $(this).removeClass('hover'); 8969 + if ($thumbImg.hasClass('hover')) {
  8970 + $thumbImg.removeClass('hover');
8969 } else { 8971 } else {
8970 - $(this).addClass('hover'); 8972 + $thumbImg.addClass('hover');
8971 } 8973 }
8972 }) 8974 })
8973 8975
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.