购物车

feat/task1-c-wallet
gongfuxiang 2018-10-20 01:00:47 +08:00
parent e04e6afbd9
commit 15fa6a83ca
1 changed files with 2 additions and 0 deletions

View File

@ -150,8 +150,10 @@ $(function()
if(location < nav_top)
{
$('.cart-nav').css({"position":"fixed", "bottom":bottom, "width":$('.cart-content').width()+"px", "z-index":1000});
$('body').css({"padding-top":"50px"});
} else {
$('.cart-nav').css({"position":"relative", "bottom":0, "z-index":0, "width":"100%"});
$('body').css({"padding-top":"0"});
}
}
cart_nav_pop();