diff --git a/src/App.vue b/src/App.vue index 4b5a899c..5db5212b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -138,6 +138,10 @@ export default { } } } +.resi-btns { + margin-top: 20px; + text-align: center; +} .scroll-h { &::-webkit-scrollbar { // display: none; diff --git a/src/views/modules/workPc/guidance/categoryList.vue b/src/views/modules/workPc/guidance/categoryList.vue index 730477ae..c03cd029 100644 --- a/src/views/modules/workPc/guidance/categoryList.vue +++ b/src/views/modules/workPc/guidance/categoryList.vue @@ -2,13 +2,13 @@
-
+
上下拖动可改变角色顺序 保存顺序 - 新增
@@ -17,6 +17,8 @@ :data="tableData" row-key="id" border + :height="tableHeight" + class="resi-table" style="width: 100%;margin-top:20px"> 禁用 启用 - 修改 - 删除 @@ -72,25 +76,42 @@ :close-on-click-modal="false" :close-on-press-escape="false" :title="diaTitle" - width="30%" + width="50%" + class="dialog-h" @closed="diaClose"> -
- 分类名称 + + + + + + + +
+
+ 取消 + 提交 +
@@ -139,7 +160,11 @@ export default { }, - + computed: { + tableHeight() { + return document.documentElement.clientHeight - 220; + } + }, methods: { //获取分类列表 @@ -347,7 +372,19 @@ export default { } -