Showing
1 changed file
with
5 additions
and
2 deletions
@@ -116,8 +116,11 @@ $('.more-activity').click(function() { | @@ -116,8 +116,11 @@ $('.more-activity').click(function() { | ||
116 | }); | 116 | }); |
117 | 117 | ||
118 | // 页面(包括图片在内)全部加载完才能设置导航悬浮效果,否则位置结算会不准 | 118 | // 页面(包括图片在内)全部加载完才能设置导航悬浮效果,否则位置结算会不准 |
119 | -window.onload = function() { | 119 | + |
120 | +if(navigator.userAgent.indexOf('UCBrowser') === -1) { | ||
121 | + window.onload = function() { | ||
120 | $categoryNav.fixNav({ | 122 | $categoryNav.fixNav({ |
121 | autoRollTop: true | 123 | autoRollTop: true |
122 | }); | 124 | }); |
123 | -}; | 125 | + }; |
126 | +} |
-
Please register or login to post a comment