diff --git a/service/Public/Home/Default/Css/Detail.css b/service/Public/Home/Default/Css/Detail.css index be1d69ce8..238fdbdf7 100644 --- a/service/Public/Home/Default/Css/Detail.css +++ b/service/Public/Home/Default/Css/Detail.css @@ -311,6 +311,7 @@ li.am-comment{ width:100%} @media only screen and (min-width:640px) { + .listMain{padding-top: 10px;} /*导航固定*/ ul.am-tabs-nav.am-nav.am-nav-tabs {margin-right:10px ;margin-left: 10px;width: auto;} @@ -462,4 +463,13 @@ ul.am-tabs-nav.am-nav.am-nav-tabs {left:20% ;max-width:960px ;margin-right: 0px; /*导航固定*/ ul.am-tabs-nav.am-nav.am-nav-tabs {left:auto;right:auto;width:960px ;} +} + +/* 手机模式下 */ +@media only screen and (max-width:640px) +{ + .nav.white { display: none; } + body { + padding-top: 0px; + } } \ No newline at end of file diff --git a/service/Public/Home/Default/Js/Detail.js b/service/Public/Home/Default/Js/Detail.js index d8c1c78d1..b1aeecb04 100644 --- a/service/Public/Home/Default/Js/Detail.js +++ b/service/Public/Home/Default/Js/Detail.js @@ -1502,7 +1502,8 @@ $(document).ready(function() { if (st >= tp) { if (dv.css('position') != 'fixed') dv.css({ 'position': 'fixed', - top: 53, + top: 0, + left: 0, 'z-index': 1000009 });