Browse Source

样式优化

mengy 3 years ago
parent
commit
294936339f

+ 7 - 6
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/maintenance/index.vue

@@ -1,6 +1,6 @@
1
 <template>
1
 <template>
2
-    <div class="contentContainer">
3
-      <div class="container">
2
+    <div >
3
+      <div>
4
         <div class="header">
4
         <div class="header">
5
           <el-form :inline="true" :model="query" class="demo-form-inline">
5
           <el-form :inline="true" :model="query" class="demo-form-inline">
6
             <el-form-item label="检测时间">
6
             <el-form-item label="检测时间">
@@ -33,9 +33,8 @@
33
                 >查询</el-button
33
                 >查询</el-button
34
               >
34
               >
35
             </el-form-item>
35
             </el-form-item>
36
-          </el-form>
37
-          <div>
38
-            <el-button
36
+            <el-form-item style="float:right">
37
+              <el-button
39
               v-if="$tools.IsPermission(342)"
38
               v-if="$tools.IsPermission(342)"
40
               type="success"
39
               type="success"
41
               icon="el-icon-circle-plus"
40
               icon="el-icon-circle-plus"
@@ -43,7 +42,8 @@
43
               @click="add(1)"
42
               @click="add(1)"
44
               >新增</el-button
43
               >新增</el-button
45
             >
44
             >
46
-          </div>
45
+            </el-form-item>
46
+          </el-form>
47
         </div>
47
         </div>
48
 
48
 
49
         <el-table
49
         <el-table
@@ -126,6 +126,7 @@
126
           :page-size="pagination.pageSize"
126
           :page-size="pagination.pageSize"
127
           layout="total, sizes, prev, pager, next, jumper"
127
           layout="total, sizes, prev, pager, next, jumper"
128
           :total="pagination.total"
128
           :total="pagination.total"
129
+          style="float:right;margin:15px 15px 0 0"
129
         ></el-pagination>
130
         ></el-pagination>
130
       </div>
131
       </div>
131
     </div>
132
     </div>