wrh 2 жил өмнө
parent
commit
74c2f39aa9

+ 1 - 2
nngkxxdp/src/main/resources/static/xmtjz/css/index.css

@@ -76,7 +76,7 @@
     width: 1400px;
     background: #FFFFFF;
     box-shadow: 0px 7px 24px 5px rgba(36, 60, 81, 0.08);
-    margin: 20px auto;
+    margin: 40px auto;
     padding: 35px 44px;
     box-sizing: border-box;
 }
@@ -190,7 +190,6 @@
     justify-content: flex-start;
     padding-bottom: 5px;
     box-sizing: border-box;
-    margin-bottom: 20px;
 }
 .first .message ul{
     width: 364px;

+ 5 - 1
nngkxxdp/src/main/resources/static/xmtjz/index.html

@@ -201,7 +201,11 @@
 </script>
 <script>
     // 热点
-    var hotList = []
+    var hotList = [];
+    // 刷新后回到顶部
+    window.onbeforeunload = function () {
+        window.scrollTo(0,0);
+    };
     // 进入页面调用
     window.onload = function () {
         //获取iframeID