瀏覽代碼

样式优化

mengy 3 年之前
父節點
當前提交
294936339f

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

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