feat: 🎸 重构sider组件中

This commit is contained in:
chenkl
2020-12-15 17:22:34 +08:00
parent 26d4c7c568
commit 51313d7116
17 changed files with 613 additions and 139 deletions

View File

@@ -1,15 +1,25 @@
// Silder
@menuText: #bfcbd9;
@menuActiveText: #409EFF;
@menuActiveBg: #2d8cf0;
@menuBg: #001529;
@subMenuBg: #1f2d3d;
@subMenuHover: #1f2d3d;
@subMenuActiveText: #fff;
@menuWidth: 200px;
@menuMinWidth: 64px;
@menuLightActiveText: #1890ff;
@menuLightActiveBg: #e6f7ff;
@menuDarkActiveText: #fff;
@menuDarkActiveBg: #1890ff;
@menuBg: #001529;
@menuLightBg: #fff;
@menuWidth: 200px;
// topSilder
@topSilderHeight: 50px;
@@ -26,4 +36,16 @@
@minWidth: 992px;
// deep
@deep: ~'::v-deep';
@deep: ~'::v-deep';
// the :export directive is the magic sauce for webpack
:export {
menuText: @menuText;
menuActiveText: @menuActiveText;
menuActiveBg: @menuActiveBg;
menuBg: @menuBg;
subMenuBg: @subMenuBg;
subMenuHover: @subMenuHover;
menuWidth: @menuWidth;
menuMinWidth: @menuMinWidth;
}