Authored by xuqi

remove autohide

... ... @@ -180,16 +180,5 @@ $('.chose').on('touchend', function() {
chosePanel.show();
});
function notAllowScroll() {
var docH = $(document).height(),
winH = $(window).height();
if (docH - winH <= 10) {
$('body').css('overflow', 'hidden');
}
}
notAllowScroll();
//提前触发lazyload
$(window).scrollTop(1).scrollTop(0);
... ...
... ... @@ -15,6 +15,11 @@
.cart-content > * {
background: #fff;
&:first-child {
border-top: none;
margin-top: 0;
}
}
.cart-nav {
... ...
<div class="cart-goods">
{{# goods}}
{{> cart/good}}
{{/ goods}}
</div>
{{#if goods}}
<div class="cart-goods">
{{# goods}}
{{> cart/good}}
{{/ goods}}
</div>
{{/if}}
{{#if notValidGoods}}
<div class="invalid-goods">
... ...