Selaa lähdekoodia

设计行政决策公开页面样式

sunjuan 2 vuotta sitten
vanhempi
commit
d45067f463

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

@@ -197,7 +197,7 @@
         </div>
     </div>
 </div>
-<div class="main">
+<div class="main" style="margin-bottom: 20px;">
     <div class="con">
         <div class="search">
             <input type="text" id="search" placeholder="请输入搜索内容">

+ 17 - 13
nngkxxdp/src/main/resources/static/zdjc/decisionmobile.html

@@ -10,6 +10,12 @@
     <link rel="stylesheet" href="./css/foot.css">
     <title>重庆市南岸区人民政府--重大行政决策公开</title>
     <style type="text/css">
+        html,body{
+            margin:0;
+            padding:0;
+            height:100%;
+            width:100%;
+        }
         /*chrome 和Safari*/
         body::-webkit-scrollbar {
             display: none;
@@ -40,7 +46,7 @@
         }
 
         .search button {
-            width: 20%;
+            width: 28%;
             color: #fff;
             text-align: center;
             cursor: pointer;
@@ -297,7 +303,6 @@
             </li>
             <img class="line" src="img/line1.png" style="width: 100vw;height: 2px">
         </ul>
-
         <div class="ly-first layui-hide mainTable">
             <div class="title">2021年度重庆市南岸区人民政府重大行政决策事项目录</div>
             <table class="layui-hide" id="tableData1"></table>
@@ -310,7 +315,6 @@
             <div class="title">2022年度重庆市南岸区人民政府重大行政决策事项目录</div>
             <table class="layui-hide" id="tableData"></table>
         </div>
-
     </div>
 </div>
 <div style="width: 100%;overflow: hidden;height: 100px;bottom: 0;position: absolute;">
@@ -407,11 +411,11 @@
             elem: '#tableData'
             , url: PATH + '/postManagement/queryAllImportmentByYear?year=2022'
             , cols: [[ //标题栏
-                {type: 'numbers', title: '序号', width: 80, align: "center"}
-                , {field: 'postTitle', title: '决策事项', templet: opra, align: "center"}
-                , {field: 'deptName', title: '承办单位', width: 220, align: "center"}
-                , {field: 'releaseTime', title: '决策时间', width: 150, templet: timeFormat, align: "center"}
-                , {field: 'type', title: '决策状态', width: 120, templet: typeFormat, align: "center"}
+                {type: 'numbers', title: '序号', width: "5%", align: "center"}
+                , {field: 'postTitle', title: '决策事项',width: "54%", templet: opra, align: "center"}
+                , {field: 'deptName', title: '承办单位', width: "16%", align: "center"}
+                , {field: 'releaseTime', title: '决策时间', width: "13%", templet: timeFormat, align: "center"}
+                , {field: 'type', title: '决策状态', width: "13%", templet: typeFormat, align: "center"}
             ]]
             //,skin: 'line' //表格风格
             , even: true
@@ -424,11 +428,11 @@
             elem: '#tableData1'
             , url: PATH + '/postManagement/queryAllImportmentByYear?year=2021'
             , cols: [[ //标题栏
-                {type: 'numbers', title: '序号', width: 80, align: "center"}
-                , {field: 'postTitle', title: '决策事项', templet: opra, align: "center"}
-                , {field: 'deptName', title: '承办单位', width: 220, align: "center"}
-                , {field: 'releaseTime', title: '决策时间', width: 150, templet: timeFormat, align: "center"}
-                , {field: 'type', title: '决策状态', width: 120, templet: typeFormat, align: "center"}
+                {type: 'numbers', title: '序号', width: "5%", align: "center"}
+                , {field: 'postTitle', title: '决策事项', width: "54%",templet: opra, align: "center"}
+                , {field: 'deptName', title: '承办单位', width: "14%", align: "center"}
+                , {field: 'releaseTime', title: '决策时间', width: "12%", templet: timeFormat, align: "center"}
+                , {field: 'type', title: '决策状态', width: "12%", templet: typeFormat, align: "center"}
             ]]
             //,skin: 'line' //表格风格
             , even: true