浏览代码

样式更改

chenrui 3 年之前
父节点
当前提交
0d39ce535a
共有 2 个文件被更改,包括 2 次插入5 次删除
  1. 1 4
      src/views/bnSetting/menu/adminMenus.vue
  2. 1 1
      src/views/power/user/userList.vue

+ 1 - 4
src/views/bnSetting/menu/adminMenus.vue

@@ -1,10 +1,9 @@
 <template>
-  <a-card :bordered="false">
+  <a-card :bordered="false" :bodyStyle="{overflowY: 'auto'}">
     <a-row :gutter="24">
       <a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild">添加子菜单</a-button>
       <a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle">添加顶部菜单</a-button>
       <a-button style="margin-right: 10px;background-color: red;color: #fff;" type="" icon="delete" @click="delect()">删除</a-button>
-
     </a-row>
     <a-row :gutter="24">
       <!-- 左侧菜单树列表 -->
@@ -13,7 +12,6 @@
           <a-icon type="info-circle" style="color: #1890FF;margin-right: 10px;" />
           <span>当前选择:<span style="color: #40a9ff;font-weight: 600;">{{ selectedMenu }}</span><span v-if="selectedKeys.length" class="imgSize" @click="cancelSel">取消选择</span></span>
         </a-row>
-
         <a-row :gutter="24" >
           <a-input-search placeholder="输入搜索菜单名搜索" style="width: 100%" @change="onChange" />
           <a-tree
@@ -49,7 +47,6 @@
               <a-icon type="pushpin" style="margin-right: 10px;" /><span >操作按钮</span>
             </div>
           </a-form-item>
-
           <!-- 名称 -->
           <a-form-item label="名称" :label-col="{ span: 5 }" :wrapper-col="{ span: 14 }">
             <a-input

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

@@ -222,7 +222,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 255
+      this.tableHeight = window.innerHeight - tableSearchH - 245
     }
   },
   mounted () {