From 2779ba0ee00e06c3d6ee75e58896c22545423668 Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 20 Oct 2018 08:18:27 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/Public/Home/Default/Js/Cart.js b/service/Public/Home/Default/Js/Cart.js index 1e0c9f88f..276669ecd 100755 --- a/service/Public/Home/Default/Js/Cart.js +++ b/service/Public/Home/Default/Js/Cart.js @@ -150,10 +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"}); + $('body').css({"padding-bottom":"50px"}); } else { $('.cart-nav').css({"position":"relative", "bottom":0, "z-index":0, "width":"100%"}); - $('body').css({"padding-top":"0"}); + $('body').css({"padding-bottom":"0"}); } } cart_nav_pop();