From 15fa6a83ca8015d22db7664804e287b19d88ae57 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 20 Oct 2018 01:00:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/Public/Home/Default/Js/Cart.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/Public/Home/Default/Js/Cart.js b/service/Public/Home/Default/Js/Cart.js index 7de2fe546..1e0c9f88f 100755 --- a/service/Public/Home/Default/Js/Cart.js +++ b/service/Public/Home/Default/Js/Cart.js @@ -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();