소스 검색

样式修改

lilei 1 년 전
부모
커밋
8f06623595

+ 2 - 2
src/views/power/role/menuModal.vue

@@ -39,8 +39,8 @@
           </a-tree>
           </div>
           <a-form-model-item :label-col="{span: 0}" :wrapper-col="{span: 24}" style="text-align: center;margin: 18px 0 0;">
-            <a-button type="primary" id="roleMenuEdit-save" @click="handleSubmit()" :style="{ marginRight: '8px' }">保存</a-button>
-            <a-button id="roleMenuEdit-cancel" :style="{ marginLeft: '8px' }" @click="isshow=false">取消</a-button>
+            <a-button id="roleMenuEdit-cancel" :style="{ marginRight: '10px' }" @click="isshow=false">取消</a-button>
+            <a-button type="primary" id="roleMenuEdit-save" @click="handleSubmit()">保存</a-button>
           </a-form-model-item>
         </a-form-model>
       </a-spin>

+ 3 - 3
src/views/power/role/roleList.vue

@@ -31,12 +31,12 @@
     <a-card size="small" :bordered="false">
       <a-spin :spinning="spinning" tip="Loading...">
         <div class="table-operator">
-          <a-button type="primary" v-if="$hasPermissions('B_power_role_add')" class="button-error" @click="openModal" id="roleList-openModal">新增</a-button>
+          <a-button type="primary" v-if="$hasPermissions('B_power_role_add')" @click="openModal" id="roleList-openModal">新增</a-button>
         </div>
         <s-table
           class="sTable fixPagination"
           ref="table"
-          :style="{ height: tableHeight+84.5+'px' }"
+          :style="{ height: tableHeight+70+'px' }"
           size="small"
           rowKey="id"
           :columns="columns"
@@ -269,7 +269,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 250
+      this.tableHeight = window.innerHeight - tableSearchH - 236
     }
   },
   watch: {

+ 2 - 2
src/views/power/role/roleModal.vue

@@ -44,8 +44,8 @@
               placeholder="请输入描述(最多500个字符)"/>
           </a-form-model-item>
           <a-form-model-item :label-col="{span: 0}" :wrapper-col="{span: 24}" style="text-align: center;">
-            <a-button type="primary" @click="handleSubmit()" :style="{ marginRight: '8px' }">保存</a-button>
-            <a-button :style="{ marginLeft: '8px' }" @click="isshow=false">取消</a-button>
+            <a-button :style="{ marginRight: '10px' }" @click="isshow=false">取消</a-button>
+            <a-button type="primary" @click="handleSubmit()">保存</a-button>
           </a-form-model-item>
         </a-form-model>
       </a-spin>

+ 3 - 3
src/views/power/user/userList.vue

@@ -30,13 +30,13 @@
     <a-card size="small" :bordered="false">
       <a-spin :spinning="spinning" tip="Loading...">
         <div class="table-operator">
-          <a-button type="primary" v-if="$hasPermissions('B_power_user_add')" class="button-error" @click="openModal">新增</a-button>
+          <a-button type="primary" v-if="$hasPermissions('B_power_user_add')" @click="openModal">新增</a-button>
         </div>
         <s-table
           class="sTable fixPagination"
           ref="table"
           size="small"
-          :style="{ height: tableHeight+84.5+'px' }"
+          :style="{ height: tableHeight+70+'px' }"
           rowKey="id"
           :columns="columns"
           :data="loadData"
@@ -238,7 +238,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 255
+      this.tableHeight = window.innerHeight - tableSearchH - 240
     }
   },
   watch: {

+ 2 - 2
src/views/power/user/userModal.vue

@@ -101,8 +101,8 @@
             </a-col>
           </a-row>
           <a-form-model-item :label-col="{span: 0}" :wrapper-col="{span: 24}" style="text-align: center;">
-            <a-button type="primary" @click="handleSubmit()" :style="{ marginRight: '8px' }">保存</a-button>
-            <a-button :style="{ marginLeft: '8px' }" @click="isshow=false">取消</a-button>
+            <a-button :style="{ marginRight: '10px' }" @click="isshow=false">取消</a-button>
+            <a-button type="primary" @click="handleSubmit()">保存</a-button>
           </a-form-model-item>
         </a-form-model>
       </a-spin>

+ 2 - 2
src/views/setting/erpMessageManagement/list.vue

@@ -41,7 +41,7 @@
         <s-table
           class="sTable fixPagination"
           ref="table"
-          :style="{ height: tableHeight+84.5+'px' }"
+          :style="{ height: tableHeight+70+'px' }"
           size="small"
           :rowKey="(record) => record.id"
           :columns="columns"
@@ -184,7 +184,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 215
+      this.tableHeight = window.innerHeight - tableSearchH - 200
     }
   },
   watch: {

+ 1 - 1
src/views/setting/noticeManagement/editModal.vue

@@ -75,8 +75,8 @@
       </a-spin>
     </div>
     <div class="btn-cont">
+      <a-button id="product-brand-edit-modal-back" @click="isShow = false" style="margin-right: 15px;">取消</a-button>
       <a-button type="primary" id="product-brand-edit-modal-save" @click="handleSave">保存</a-button>
-      <a-button id="product-brand-edit-modal-back" @click="isShow = false" style="margin-left: 15px;">返回列表</a-button>
     </div>
   </a-modal>
 </template>

+ 1 - 1
src/views/setting/noticeManagement/list.vue

@@ -32,7 +32,7 @@
       <a-spin :spinning="spinning" tip="Loading...">
         <!-- 操作按钮 -->
         <div class="table-operator">
-          <a-button id="noticeManagementList-add" type="primary" class="button-error" @click="handleAdd">新增</a-button>
+          <a-button id="noticeManagementList-add" type="primary" @click="handleAdd">新增</a-button>
         </div>
         <!-- 总计 -->
         <!-- <a-alert type="info" style="margin-bottom:10px">