...
|
...
|
@@ -26,6 +26,8 @@ var $tradeWrapper = $('.trade-wrapper'), |
|
|
var $addToBag = $('#add-to-bag'),
|
|
|
$soldOut = $('#sold-out');
|
|
|
|
|
|
var $sizeInfo = $('.size-info');
|
|
|
|
|
|
var $thumbCur = $('.thumb-wrap .cur'); // 当前选中展示图片
|
|
|
|
|
|
var SLIDETIME = 200;
|
...
|
...
|
@@ -304,3 +306,13 @@ $('#collect-product').click(function() { |
|
|
}
|
|
|
});
|
|
|
});
|
|
|
|
|
|
$sizeInfo.on('click', '.show-img', function() {
|
|
|
var img = $sizeInfo.data('img');
|
|
|
|
|
|
new Dialog({
|
|
|
className: 'item-doubt-dialog',
|
|
|
content: '<img src="' + img + '">',
|
|
|
btns: []
|
|
|
}).show();
|
|
|
}); |
...
|
...
|
|