From ccee429d379e0108b7445f72ade8d97c110a6fb3 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期二, 09 十一月 2021 18:01:59 +0800 Subject: [PATCH] 问题修复 --- src/pages/settings/index/App.vue | 51 +++++++++++++++++++++++---------------------------- 1 files changed, 23 insertions(+), 28 deletions(-) diff --git a/src/pages/settings/index/App.vue b/src/pages/settings/index/App.vue index 84c1bb0..8a8d3e9 100644 --- a/src/pages/settings/index/App.vue +++ b/src/pages/settings/index/App.vue @@ -5,22 +5,12 @@ </template> <script> -import AuthorityManagement from "../components/AuthorityManagement"; import BasicSetting from "../components/BasicSetting"; -import ClusterManagement from "../components/ClusterManagement"; -import LogManagement from "../components/LogManagement"; -import RadioSet from "../components/RadioSet"; -import SystemMaintenance from "../components/SystemMaintenance"; -//import EventPush from "../components/systemManage/EventPush/index"; export default { name: 'settings', components: { - AuthorityManagement, - BasicSetting, - LogManagement, - RadioSet, - SystemMaintenance + BasicSetting }, data() { return { @@ -53,28 +43,30 @@ }, }, created() { - if(this.isShow('videoSystem:base')){ - this.activeName = "basic" - }else if(this.isShow('videoSystem:permission')){ - this.activeName = "user" - }else if(this.isShow('videoSystem:broadcast')){ - this.activeName = "radio" - }else if(this.isShow('videoSystem:eventPush')){ - this.activeName = "event" - }else if(this.isShow('videoSystem:logManage')){ - this.activeName = "log" - }else if(this.isShow('videoSystem:sysManage')){ - this.activeName = "system" - } + if (this.isShow('videoSystem:base')) { + this.activeName = "basic" + } else if (this.isShow('videoSystem:permission')) { + this.activeName = "user" + } else if (this.isShow('videoSystem:broadcast')) { + this.activeName = "radio" + } else if (this.isShow('videoSystem:eventPush')) { + this.activeName = "event" + } else if (this.isShow('videoSystem:logManage')) { + this.activeName = "log" + } else if (this.isShow('videoSystem:sysManage')) { + this.activeName = "system" + } }, }; </script> <style lang="scss"> .s-system-manage { width: 100% !important; + min-width: 1067px; + height: 100%; box-sizing: border-box; padding: 10px; - background-color: #e9ebf2; + background-color: #f8f9fb; .s-system-manage-breadcrumb { height: 5%; box-sizing: border-box; @@ -107,7 +99,7 @@ } .el-tabs__item.is-active { color: #3d68e1; - font-weight: bold; + // border-right-color: #fff; // border-left-color: #fff; } @@ -116,12 +108,15 @@ } } } + .el-tabs__header { + margin-bottom: 0; + } .el-tabs__content { height: calc(100% - 64px); - width: calc(100% - 20px); box-sizing: border-box; overflow-y: auto; - padding: 10px 40px !important; + padding: 20px 40px !important; + background: #fff; .el-tab-pane { width: 100%; .s-title { -- Gitblit v1.8.0