Authored by 梁志锋

Merge remote-tracking branch 'remotes/origin/develop/wap' into beta/wap

... ... @@ -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();
}
}
//修改加入购物车的文字和背景
... ...
... ... @@ -64,6 +64,7 @@ $('#likeBtn').on('touchstart', function() {
});
$('#addtoCart').on('touchstart', function() {
$('.cart-bar').hide();
chosePanel.show();
//统计代码:用于统计用户加入购物车的动作
... ...
... ... @@ -52,9 +52,9 @@
font-size: 50px;
}
p{
width: 59.517241%;
width: 61.517241%;
height: auto;
margin: 0 3% 16em / $pxConvertRem;
margin: 0 2% 16em / $pxConvertRem;
float: left;
&:first-of-type{
margin-top: 0.75rem;
... ...