File tree Expand file tree Collapse file tree 5 files changed +13
-8
lines changed
Expand file tree Collapse file tree 5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 104104
105105
106106<script>
107- window.onload = function(){ //避免爆代码
107+ $(document).ready( function(){ //避免爆代码
108108
109109 var click = 0; //初始化加载次数
110110 var paged = 1; //获取当前页数
207207 });
208208
209209
210- }
210+ })
211211</script>
212212
213213
Original file line number Diff line number Diff line change 7979
8080
8181<script>
82- window.onload = function(){ //避免爆代码
82+ $(document).ready( function(){ //避免爆代码
8383
8484 var now = 20;
8585 var click = 0; //初始化加载次数
203203 });
204204
205205
206- }
206+ })
207207</script>
208208<?php get_footer (); ?>
Original file line number Diff line number Diff line change 5252
5353
5454<script>
55- window.onload = function(){ //避免爆代码
55+ $(document).ready( function(){ //避免爆代码
5656
5757
5858 var post_info = new Vue({ //axios获取顶部信息
8686 });
8787
8888
89- }
89+ })
9090</script>
9191
9292
Original file line number Diff line number Diff line change 8282
8383
8484<script>
85- window.onload = function() { //避免爆代码
85+ $(document).ready( function() { //避免爆代码
8686
8787
8888 var post_info = new Vue({ //axios获取顶部信息
217217 });
218218
219219
220- }
220+ });
221221</script>
222222
223223
Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ Version: 4.3
1414 background-color : rgb (246 , 247 , 248 ) !important ;
1515 background : rgb (246 , 247 , 248 ) !important ;
1616}
17+ html {
18+ -ms-overflow-style : none;
19+ overflow : -moz-scrollbars-none;
20+ }
21+ html ::-webkit-scrollbar {width : 0px }
1722body {
1823 margin : 0 ;
1924 background-color : rgb (246 , 247 , 248 ) !important ;
You can’t perform that action at this time.
0 commit comments