diff --git a/static/app.js b/static/app.js index 36ee5b2f7..09ec3b941 100644 --- a/static/app.js +++ b/static/app.js @@ -61,8 +61,8 @@ }); // 全局字体文件 - const icons = await loadVue("https://unpkg.com/@element-plus/icons@0.0.11/lib/index.js"); - for (let i in icons) window.$think.component(i, icons[i]); + // const icons = await loadVue("https://unpkg.com/@element-plus/icons@0.0.11/lib/index.js"); + // for (let i in icons) window.$think.component(i, icons[i]); window.$think.use(router).use(ElementPlus).mount(document.body); diff --git a/static/template/layout.vue b/static/template/layout.vue index c00d7f571..d1adb90e5 100644 --- a/static/template/layout.vue +++ b/static/template/layout.vue @@ -3,10 +3,11 @@ ThinkAdmin For HTML @@ -21,52 +22,28 @@ - - - - - - - - - - item one - item one - - - item three - - - - item one - - - - - - - Navigator Two - - - - - - Navigator Three - - - - - - Navigator Four - - - - + + + +

ONE - MENU

+
+ + +

TWO - MENU

+
+ + +

THR - MENU

+
+ + +

FUR - MENU

+
+ + +

FIV - MENU

+
+
@@ -116,6 +93,50 @@ body > .el-container { } } } + +.el-tabs__header { + width: 60px; + margin: 0 !important; + background: rgba(54, 25, 88, 0.8); + + .el-tabs__active-bar { + display: none !important; + + } + + .el-tabs__nav-wrap { + margin-right: 0 !important; + + &::after { + display: none; + } + } + + .el-tabs__item { + color: #FFF; + width: 100% !important; + height: 60px !important; + padding: 0 !important; + line-height: 60px !important; + text-align: center !important; + + &.is-active { + background: rgba(0, 0, 0, 0.4); + } + + &:hover:not(.is-active) { + background: rgba(0, 0, 0, 0.1); + } + } +} + +.el-tabs__content { + width: 220px !important; + height: 100% !important; + background: red; + text-align: center; +} +