fix 小图标没有边框 & 页面切换会没有定位
Showing
4 changed files
with
6 additions
and
5 deletions
@@ -243,7 +243,9 @@ $.jqtab = function(nav, posNav, main) { | @@ -243,7 +243,9 @@ $.jqtab = function(nav, posNav, main) { | ||
243 | $nav2.removeClass('fixed-top'); | 243 | $nav2.removeClass('fixed-top'); |
244 | $nav2.removeClass('absolute'); | 244 | $nav2.removeClass('absolute'); |
245 | } | 245 | } |
246 | - myScroll.scrollTo(0, 0); | 246 | + if (!$nav1.hasClass('hide')) { |
247 | + myScroll.scrollTo(0, 0 - imgH); | ||
248 | + } | ||
247 | $nav1.addClass('hide'); | 249 | $nav1.addClass('hide'); |
248 | 250 | ||
249 | return false; | 251 | return false; |
@@ -16,8 +16,7 @@ | @@ -16,8 +16,7 @@ | ||
16 | float: left; | 16 | float: left; |
17 | width: 158px; | 17 | width: 158px; |
18 | height: 174px; | 18 | height: 174px; |
19 | - border-bottom: 1px solid #e0e0e0; | ||
20 | - border-left: 1px solid #e0e0e0; | 19 | + border: 1px solid #e0e0e0; |
21 | .img-box { | 20 | .img-box { |
22 | width: 100%; | 21 | width: 100%; |
23 | height: 138px; | 22 | height: 138px; |
@@ -17,8 +17,7 @@ | @@ -17,8 +17,7 @@ | ||
17 | float: left; | 17 | float: left; |
18 | width: 158px; | 18 | width: 158px; |
19 | height: 174px; | 19 | height: 174px; |
20 | - border-top: 1px solid #e0e0e0; | ||
21 | - border-left: 1px solid #e0e0e0; | 20 | + border: 1px solid #e0e0e0; |
22 | overflow: hidden; | 21 | overflow: hidden; |
23 | 22 | ||
24 | .img-box { | 23 | .img-box { |
-
Please register or login to post a comment