guhongwei vor 3 Jahren
Ursprung
Commit
b9805be09a
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      src/components/frame/filter-page-table.vue
  2. 2 2
      src/components/frame/form.vue

+ 1 - 1
src/components/frame/filter-page-table.vue

@@ -38,7 +38,7 @@
             <el-button type="primary" size="mini" @click="filterSearch">查询</el-button>
           </el-form-item>
         </el-col>
-        <el-col :span="2">
+        <el-col :span="2" style="text-align:right">
           <slot name="selfbtn"></slot>
         </el-col>
       </el-row>

+ 2 - 2
src/components/frame/form.vue

@@ -12,7 +12,7 @@
       :inline="inline"
     >
       <el-row type="flex" justify="end" align="middle" v-if="returns" style="padding:10px">
-        <el-col :span="2">
+        <el-col :span="2" style="text-align:right">
           <el-button type="primary" size="mini" @click="toReturn">返回</el-button>
         </el-col>
       </el-row>
@@ -214,7 +214,7 @@ export default {
 
 <style lang="less" scoped>
 .form {
-  padding: 2rem 1rem;
+  padding: 0 1rem;
   background: #fff;
   border-radius: 20px;
 }