...
|
...
|
@@ -34,6 +34,7 @@ var $chosePanel = $('#chose-panel'), |
|
|
$allChoseItems,
|
|
|
queryString,
|
|
|
$choseArea,
|
|
|
$cartBar,
|
|
|
$soonSoldOut = $('.soonSoldOut-tag'),
|
|
|
$yohoPage = $('.yoho-page');
|
|
|
|
...
|
...
|
@@ -54,6 +55,7 @@ function init() { |
|
|
$sizeRowList = $('.size-list ul');
|
|
|
$colorRowList = $('.color-list ul');
|
|
|
$leftNum = $('#left-num');
|
|
|
$cartBar = $('.cart-bar');
|
|
|
curColorIndex = 0;
|
|
|
curSizeIndex = 0;
|
|
|
isEdit = 0;
|
...
|
...
|
@@ -136,6 +138,10 @@ function show(html, cb) { |
|
|
function hide() {
|
|
|
$('.chose-panel').hide();
|
|
|
innerScroll.enableScroll($choseArea);
|
|
|
|
|
|
if ($cartBar.length > 0) {
|
|
|
$cartBar.show();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
//修改加入购物车的文字和背景
|
...
|
...
|
|