diff --git a/src/assets/styles/theme.scss b/src/assets/styles/theme.scss index c4b18b74..5b3f5514 100644 --- a/src/assets/styles/theme.scss +++ b/src/assets/styles/theme.scss @@ -8,6 +8,9 @@ .sidebar-title{ color: $menuGreenLogoColor !important; } + .el-submenu__icon-arrow{ + color: $menuGreenText !important; + } .sidebar-container{ background-color: $menuGreenBg !important; @@ -38,6 +41,7 @@ background: $menuGreenActive !important; color: $menuGreenActiveTxt !important; } + } .router-link-active>.is-active{ color: $menuGreenActiveTxt !important; diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 54f760c7..04100971 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -8,7 +8,7 @@ width="64" xmlns="http://www.w3.org/2000/svg" > - + @@ -20,6 +20,10 @@ export default { isActive: { type: Boolean, default: false + }, + svgColor: { + type: String, + default: '#000000' // default black color } }, methods: { diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 7db4ca1b..0a8e0491 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -20,7 +20,7 @@ - + @@ -55,6 +55,9 @@ export default { isCollapse() { return !this.sidebar.opened; }, + svgColor() { + return process.env.VUE_APP_THEME_CLASS !=='theme-blue-white'?'#ffffff':'#000000'; + } }, methods: { toggleSideBar() { @@ -90,3 +93,4 @@ export default { }, }; + diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index 9c7ae4cb..808fd7a4 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -152,27 +152,30 @@ type="index" width="60px" > - + + + - + - diff --git a/src/views/tenant/device/index.vue b/src/views/tenant/device/index.vue index 8aa35012..f1c8ea65 100644 --- a/src/views/tenant/device/index.vue +++ b/src/views/tenant/device/index.vue @@ -91,26 +91,27 @@ type="index" width="80px" > - + + - - + - +