Bläddra i källkod

解决移动端适配问题

sunjuan 2 år sedan
förälder
incheckning
607b6f5b90
1 ändrade filer med 7 tillägg och 7 borttagningar
  1. 7 7
      nngkxxdp/src/main/resources/static/zdjc/decision.html

+ 7 - 7
nngkxxdp/src/main/resources/static/zdjc/decision.html

@@ -10,7 +10,7 @@
     <title>重庆市南岸区人民政府--重大行政决策公开</title>
     <style type="text/css">
         body{
-            min-width: 1100px;
+            min-width: 1280px;
         }
         /*chrome 和Safari*/
         body::-webkit-scrollbar {
@@ -79,7 +79,7 @@
         /*	cursor: pointer;*/
         /*}*/
         .yearChioce {
-            max-width: 1158px;
+            width: 1158px;
             margin: auto;
             height: 60px;
             position: relative;
@@ -120,15 +120,13 @@
         }
 
         .mainTable {
-            max-width: 1159px;
-            min-width: 1100px;
+            width: 1159px;
             margin: auto;
             margin-bottom: 50px;
         }
 
         .title {
-            max-width: 1159px;
-            min-width: 1100px;
+            width: 1159px;
             height: 75px;
             background: linear-gradient(90deg, #F9DDAB, #D4AB63);
             font-size: 28px;
@@ -219,7 +217,7 @@
                 <div class="num">2021</div>
                 <img class="diamond" src="img/lingxing.png"></img>
             </li>
-            <img class="line" src="img/line1.png" style="max-width: 1158px;height: 2px">
+            <img class="line" src="img/line1.png" style="width: 1158px;height: 2px">
         </ul>
 
         <div class="ly-first layui-hide mainTable">
@@ -305,6 +303,7 @@
         table.render({
             elem: '#tableData'
             ,url: PATH + '/postManagement/queryAllImportmentByYear?year=2022'
+            , width: 1158
             , cols: [[ //标题栏
                 {type: 'numbers', title: '序号', width: 80,align:"center"}
                 , {field: 'postTitle', title: '决策事项', templet: opra,align:"center"}
@@ -322,6 +321,7 @@
         table.render({
             elem: '#tableData1'
             ,url: PATH + '/postManagement/queryAllImportmentByYear?year=2021'
+            , width: 1158
             , cols: [[ //标题栏
                 {type: 'numbers', title: '序号', width: 80,align:"center"}
                 , {field: 'postTitle', title: '决策事项', templet: opra,align:"center"}