Browse Source

修改css

chenrui  2 years ago
parent
commit
589eba715a

+ 12 - 6
src/styles/index.scss

@@ -1,8 +1,8 @@
-@import './variables.scss';
-@import './transition.scss';
-@import './scss-suger.scss';
-@import './reset-style.scss';
-@import './elemenet-style-overflow.scss';
+@import "./variables.scss";
+@import "./transition.scss";
+@import "./scss-suger.scss";
+@import "./reset-style.scss";
+@import "./elemenet-style-overflow.scss";
 
 //scroll
 @mixin main-show-wh() {
@@ -85,7 +85,7 @@
       background: #eb2f3b;
       border-radius: 50%;
       margin-right: 15px;
-      background: url('@/assets/status/ic_close_hint.png') no-repeat;
+      background: url("@/assets/status/ic_close_hint.png") no-repeat;
       background-size: 100% 100%;
       display: inline-block;
       position: relative;
@@ -142,3 +142,9 @@
 .L12 {
   margin-left: 12px;
 }
+.wrap {
+  height: 100%;
+}
+.app-containers {
+  height: calc(100vh - 180px);
+}

+ 5 - 2
src/views/BasicsData/airlineCompany/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"
@@ -212,4 +212,7 @@ const delRest = () => {
 ::v-deep .el-form-item__label {
   width: 100px;
 }
+.app-containers {
+  height: calc(100vh - 180px);
+}
 </style>

+ 2 - 2
src/views/BasicsData/airportCompany/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/airportInfo/airportInfoChild/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 1 - 1
src/views/BasicsData/airportInfo/index.vue

@@ -19,7 +19,7 @@
           </div>
         </el-col>
         <el-col :span="18">
-          <div class="app-container scroll-y">
+          <div class="app-containers">
             <DataTable
               :tableColumnProperty="tableColumnProperty"
               :tableHeader="state.list"

+ 2 - 2
src/views/BasicsData/airportInfo/positionSetting/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/cargoInformation/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/containerMaintenance/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/deployNode/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/equipmentMaintenance/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/modelMaintenance/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/shippingSpace/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/BasicsData/specialCargoMaintenance/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 2 - 2
src/views/systemSettings/protocolManagement/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
         <template #header>
@@ -8,7 +8,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"

+ 4 - 1
src/views/systemSettings/warningEdit/index.vue

@@ -104,7 +104,7 @@
         </template></Minheader
       >
     </div>
-    <div class="app-container scroll-y">
+    <div class="containers scroll-y">
       <DataTable
         :tableHeader="state.list"
         :tableData="tableData"
@@ -418,6 +418,9 @@ const btnClick = (row, index, param) => {
   .centerBox {
     padding: 0 24px;
   }
+  .containers {
+    height: 540px;
+  }
 }
 ::v-deep .el-form-item__label {
   width: 90px;

+ 2 - 2
src/views/systemSettings/warningSet/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="airportInfo">
+  <div class="airportInfo scroll-y">
     <div class="wrap">
       <Minheader
         :is-auth="true"
@@ -13,7 +13,7 @@
           </div>
         </template></Minheader
       >
-      <div class="app-container scroll-y">
+      <div class="app-containers">
         <DataTable
           :tableHeader="state.list"
           :tableData="tableData"