Commit a8ea65da by liimin

主题调整 登录页面调整 新增注册页面 其他样式调整

1 parent e6b2bb70
Showing 65 changed files with 636 additions and 450 deletions
......@@ -13,4 +13,6 @@ VUE_APP_REPO=http://192.168.3.171:7300/mock/5d638b3b6fbe9a0ac59d872e/tFIMS
VUE_APP_I18N_LOCALE=zh-chs
VUE_APP_I18N_FALLBACK_LOCALE=en
VUE_APP_ELEMENT_COLOR=#409EFF
\ No newline at end of file
VUE_APP_ELEMENT_COLOR=#409EFF
VUE_APP_MAIN_COLOR=#3D6FE4
\ No newline at end of file
No preview for this file type
......@@ -26,7 +26,7 @@
width: 100%;
}
.d2-home {
background-color: #000;
background-color: #2A343D;
height: 100%;
display: flex;
flex-direction: column;
......@@ -97,8 +97,8 @@
</div>
</div>
<div class="d2-home__footer">
<a href="https://github.com/d2-projects/d2-admin" target="_blank">
https://github.com/d2-projects/d2-admin
<a href="http://www.glsx.com.cn" target="_blank">
版权所有&copy-2019 GLSX粤ICP备12020087号
</a>
</div>
</div>
......
......@@ -2,7 +2,7 @@
html, body {
margin: 0px;
height: 100%;
font-family: "微软雅黑","Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
font-family: 12px/150% Tahoma,Helvetica,Arial,Verdana,"Microsoft YaHei","SimSun","宋体";
#app {
@extend %full;
a {
......
......@@ -16,4 +16,7 @@
.el-tabs__item:focus.is-active.is-focus:not(:active) {
box-shadow: none !important;
}
.el-tabs__nav-scroll{
padding-left: 20px;
}
\ No newline at end of file
// 主题名称
$theme-name: 'blue';
// diff
$private-left-side-color:#652DED;
// diff
$private-menu-active-background-color:#521ADA;
$private-item-hover:rgba(#000,.2);
// 主题背景颜色
$theme-bg-color: $private-left-side-color;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// 主区域背景色 --- limin diff
$theme-container-main-background-color:#F5F5F5;
// container组件
$theme-container-background-color: rgba(#FFF, 1);
$theme-container-header-footer-background-color: rgb(255, 255, 255);
$theme-container-border-inner: 1px solid $color-border-1;
$theme-container-border-outer: 1px solid #E7EAEC;
$theme-multiple-page-control-color: #888;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #FFF;
$theme-multiple-page-control-nav-next-color: #FFF;
$theme-multiple-page-control-border-color: #E7EAEC;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#FFF, .2);
$theme-multiple-page-control-background-color-active: #FFF;
// hamberg --limin diff
$theme-header-hamberg-color:#FFF;
$theme-header-hamberg-color-hover:#ccc;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 头部背景色 --- limin
$theme-header-background-color:$private-left-side-color;
//logo 背景色 --- limin
$theme-header-logo-background-color:$private-left-side-color;
// 顶栏上的文字颜色 diff
$theme-header-item-color: #FFF;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFF;
$theme-header-item-background-color-hover: $private-item-hover;
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFF;
$theme-header-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFF;
$theme-header-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏上的文字颜色
$theme-aside-item-color: #C4D0DF;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFF;
$theme-aside-item-background-color-hover: $private-item-hover;
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFF;
$theme-aside-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFF;
$theme-aside-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #1F3147;
$theme-aside-menu-empty-text-color: #1F3147;
$theme-aside-menu-empty-background-color: rgba(#FFF, .1);
$theme-aside-menu-empty-icon-color-hover: #FFEBA4;
$theme-aside-menu-empty-text-color-hover: #FFEBA4;
$theme-aside-menu-empty-background-color-hover: rgba(#FFF, .2);
\ No newline at end of file
// 主题名称
$theme-name: 'classic';
$private-left-side-color:#2A58AD;
$private-menu-active-background-color:#154190;
$private-item-hover:rgba(#000,.2);
// 主题背景颜色
$theme-bg-color: $private-left-side-color;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// 主区域背景色 --- limin
$theme-container-main-background-color:#FFF;
// container组件
$theme-container-background-color: rgba(#FFF, 1);
$theme-container-header-footer-background-color: rgb(255, 255, 255);
$theme-container-border-inner: 1px solid $color-border-1;
$theme-container-border-outer: 1px solid #E7EAEC;
$theme-multiple-page-control-color: #888;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #FFF;
$theme-multiple-page-control-nav-next-color: #FFF;
$theme-multiple-page-control-border-color: #E7EAEC;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#FFF, .2);
$theme-multiple-page-control-background-color-active: #FFF;
// hamberg --limin
$theme-header-hamberg-color:$private-left-side-color;
$theme-header-hamberg-color-hover:#ccc;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 头部背景色 --- limin
$theme-header-background-color:#F3F3F4;
//logo 背景色 --- limin
$theme-header-logo-background-color:$private-left-side-color;
// 顶栏上的文字颜色
$theme-header-item-color: #666;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFF;
$theme-header-item-background-color-hover: $private-item-hover;
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFF;
$theme-header-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFF;
$theme-header-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏上的文字颜色
$theme-aside-item-color: #C4D0DF;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFF;
$theme-aside-item-background-color-hover: $private-item-hover;
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFF;
$theme-aside-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFF;
$theme-aside-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #1F3147;
$theme-aside-menu-empty-text-color: #1F3147;
$theme-aside-menu-empty-background-color: rgba(#FFF, .1);
$theme-aside-menu-empty-icon-color-hover: #FFEBA4;
$theme-aside-menu-empty-text-color-hover: #FFEBA4;
$theme-aside-menu-empty-background-color-hover: rgba(#FFF, .2);
\ No newline at end of file
// 主题名称
$theme-name: 'd2';
// 主题背景颜色
$theme-bg-color: #ebf1f6;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// container组件
$theme-container-background-color: rgba(#FFF, 1);
$theme-container-header-footer-background-color: #FFF;
$theme-container-border-inner: 1px solid #cfd7e5;
$theme-container-border-outer: 1px solid #cfd7e5;
$theme-multiple-page-control-color: $color-text-normal;
$theme-multiple-page-control-color-active: #2f74ff;
$theme-multiple-page-control-nav-prev-color: #cfd7e5;
$theme-multiple-page-control-nav-next-color: #cfd7e5;
$theme-multiple-page-control-border-color: #cfd7e5;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#000, .03);
$theme-multiple-page-control-background-color-active: #FFF;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 顶栏上的文字颜色
$theme-header-item-color: $color-text-normal;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #2f74ff;
$theme-header-item-background-color-hover: rgba(#FFF, .5);
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #2f74ff;
$theme-header-item-background-color-focus: rgba(#FFF, .5);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #2f74ff;
$theme-header-item-background-color-active: rgba(#FFF, .5);
// 侧边栏上的文字颜色
$theme-aside-item-color: $color-text-normal;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #2f74ff;
$theme-aside-item-background-color-hover: rgba(#FFF, .5);
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #2f74ff;
$theme-aside-item-background-color-focus: rgba(#FFF, .5);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #2f74ff;
$theme-aside-item-background-color-active: rgba(#FFF, .5);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: $color-text-normal;
$theme-aside-menu-empty-text-color: $color-text-normal;
$theme-aside-menu-empty-background-color: rgba(#000, .03);
$theme-aside-menu-empty-icon-color-hover: $color-text-main;
$theme-aside-menu-empty-text-color-hover: $color-text-main;
$theme-aside-menu-empty-background-color-hover: rgba(#000, .05);
\ No newline at end of file
// 主题名称
$theme-name: 'tomorrow-night-blue';
$theme-name: 'dark';
$private-left-side-color:#314256;
$private-menu-active-background-color:#1F3147;
$private-item-hover:rgba(#000,.2);
// 主题背景颜色
$theme-bg-color: #002253;
$theme-bg-color: $private-left-side-color;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// 主区域背景色 --- limin
$theme-container-main-background-color:#F5F5F5;
// container组件
$theme-container-background-color: rgba(#FFF, 1);
$theme-container-header-footer-background-color: #FFF;
$theme-container-border-inner: 1px solid $color-border-1;
$theme-container-border-outer: 1px solid #002253;
$theme-container-border-outer: 1px solid #E7EAEC;
$theme-multiple-page-control-color: #FFF;
$theme-multiple-page-control-color: #888;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #FFF;
$theme-multiple-page-control-nav-next-color: #FFF;
$theme-multiple-page-control-border-color: #002253;
$theme-multiple-page-control-border-color: #E7EAEC;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#FFF, .2);
$theme-multiple-page-control-background-color-active: #FFF;
// hamberg --limin
$theme-header-hamberg-color:#FFF;
$theme-header-hamberg-color-hover:#ccc;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 头部背景色 --- limin
$theme-header-background-color:#3B4F67;
//logo 背景色 --- limin
$theme-header-logo-background-color:$private-left-side-color;
// 顶栏上的文字颜色
$theme-header-item-color: #FF929A;
$theme-header-item-color: #C4D0DF;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFEBA4;
$theme-header-item-background-color-hover: rgba(#FFF, .05);
$theme-header-item-color-hover: #FFF;
$theme-header-item-background-color-hover: $private-item-hover;
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFB870;
$theme-header-item-background-color-focus: rgba(#FFF, .05);
$theme-header-item-color-focus: #FFF;
$theme-header-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFB870;
$theme-header-item-background-color-active: rgba(#FFF, .05);
$theme-header-item-color-active: #FFF;
$theme-header-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏上的文字颜色
$theme-aside-item-color: #FF929A;
$theme-aside-item-color: #C4D0DF;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFEBA4;
$theme-aside-item-background-color-hover: rgba(#FFF, .05);
$theme-aside-item-color-hover: #FFF;
$theme-aside-item-background-color-hover: $private-item-hover;
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFB870;
$theme-aside-item-background-color-focus: rgba(#FFF, .05);
$theme-aside-item-color-focus: #FFF;
$theme-aside-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFB870;
$theme-aside-item-background-color-active: rgba(#FFF, .05);
$theme-aside-item-color-active: #FFF;
$theme-aside-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #FFB870;
$theme-aside-menu-empty-text-color: #FFB870;
$theme-aside-menu-empty-icon-color: #1F3147;
$theme-aside-menu-empty-text-color: #1F3147;
$theme-aside-menu-empty-background-color: rgba(#FFF, .1);
$theme-aside-menu-empty-icon-color-hover: #FFEBA4;
$theme-aside-menu-empty-text-color-hover: #FFEBA4;
......
// 主题名称
$theme-name: 'line';
// 主题背景颜色
$theme-bg-color: #f8f8f9;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// container组件
$theme-container-background-color: rgba(#FFF, .8);
$theme-container-header-footer-background-color: #FFF;
$theme-container-border-inner: 1px solid $color-border-2;
$theme-container-border-outer: 1px solid #cfd7e5;
$theme-multiple-page-control-color: #FFF;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #cfd7e5;
$theme-multiple-page-control-nav-next-color: #cfd7e5;
$theme-multiple-page-control-border-color: #cfd7e5;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: #cfd7e5;
$theme-multiple-page-control-background-color-active: #FFF;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #EFEFEF;
// 顶栏上的文字颜色
$theme-header-item-color: $color-text-normal;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: $color-text-main;
$theme-header-item-background-color-hover: rgba(#000, .02);
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: $color-text-main;
$theme-header-item-background-color-focus: rgba(#000, .02);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: $color-text-main;
$theme-header-item-background-color-active: rgba(#000, .03);
// 侧边栏上的文字颜色
$theme-aside-item-color: $color-text-normal;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: $color-text-main;
$theme-aside-item-background-color-hover: rgba(#000, .02);
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: $color-text-main;
$theme-aside-item-background-color-focus: rgba(#000, .02);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: $color-text-main;
$theme-aside-item-background-color-active: rgba(#000, .03);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: $color-text-normal;
$theme-aside-menu-empty-text-color: $color-text-normal;
$theme-aside-menu-empty-background-color: rgba(#000, .03);
$theme-aside-menu-empty-icon-color-hover: $color-text-main;
$theme-aside-menu-empty-text-color-hover: $color-text-main;
$theme-aside-menu-empty-background-color-hover: rgba(#000, .05);
\ No newline at end of file
// 主题名称
$theme-name: 'plane';
// diff
$private-left-side-color:transparent;
// diff
$private-menu-active-background-color:#002253;
$private-item-hover:rgba(#000,.2);
// 主题背景颜色
$theme-bg-color: $private-left-side-color;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// 主区域背景色 --- limin diff
$theme-container-main-background-color:transparent;
// container组件
$theme-container-background-color: rgba(#FFF, 1);
$theme-container-header-footer-background-color: rgb(255, 255, 255);
$theme-container-border-inner: 1px solid $color-border-1;
$theme-container-border-outer: 1px solid #E7EAEC;
$theme-multiple-page-control-color: #888;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #FFF;
$theme-multiple-page-control-nav-next-color: #FFF;
$theme-multiple-page-control-border-color: #E7EAEC;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#FFF, .8);
$theme-multiple-page-control-background-color-active: #FFF;
// hamberg --limin diff
$theme-header-hamberg-color:#FFF;
$theme-header-hamberg-color-hover:#ccc;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 头部背景色 --- limin
$theme-header-background-color:$private-left-side-color;
//logo 背景色 --- limin
$theme-header-logo-background-color:$private-left-side-color;
// 顶栏上的文字颜色 diff
$theme-header-item-color: #FFF;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFF;
$theme-header-item-background-color-hover: $private-item-hover;
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFF;
$theme-header-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFF;
$theme-header-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏上的文字颜色
$theme-aside-item-color: #C4D0DF;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFF;
$theme-aside-item-background-color-hover: $private-item-hover;
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFF;
$theme-aside-item-background-color-focus: rgba($private-menu-active-background-color, 1);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFF;
$theme-aside-item-background-color-active: rgba($private-menu-active-background-color, 1);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #1F3147;
$theme-aside-menu-empty-text-color: #1F3147;
$theme-aside-menu-empty-background-color: rgba(#FFF, .1);
$theme-aside-menu-empty-icon-color-hover: #FFEBA4;
$theme-aside-menu-empty-text-color-hover: #FFEBA4;
$theme-aside-menu-empty-background-color-hover: rgba(#FFF, .2);
\ No newline at end of file
@import '~@/assets/style/theme/theme-base.scss';
@import '~@/assets/style/theme/d2/index.scss';
@import '~@/assets/style/theme/line/index.scss';
@import '~@/assets/style/theme/star/index.scss';
@import '~@/assets/style/theme/tomorrow-night-blue/index.scss';
@import '~@/assets/style/theme/violet/index.scss';
\ No newline at end of file
// @import '~@/assets/style/theme/d2/index.scss';
// @import '~@/assets/style/theme/line/index.scss';
// @import '~@/assets/style/theme/star/index.scss';
// @import '~@/assets/style/theme/tomorrow-night-blue/index.scss';
// @import '~@/assets/style/theme/violet/index.scss';
@import '~@/assets/style/theme/classic/index.scss';
@import '~@/assets/style/theme/dark/index.scss';
@import '~@/assets/style/theme/blue/index.scss';
@import '~@/assets/style/theme/plane/index.scss';
\ No newline at end of file
// 主题名称
$theme-name: 'star';
// 主题背景颜色
$theme-bg-color: #EFF4F8;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, .3);
// container组件
$theme-container-background-color: rgba(#FFF, .9);
$theme-container-header-footer-background-color: #FFF;
$theme-container-border-inner: 1px solid $color-border-1;
$theme-container-border-outer: 1px solid #114450;
$theme-multiple-page-control-color: #FFF;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #FFF;
$theme-multiple-page-control-nav-next-color: #FFF;
$theme-multiple-page-control-border-color: #114450;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#FFF, .5);
$theme-multiple-page-control-background-color-active: #FFF;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 顶栏上的文字颜色
$theme-header-item-color: #FFF;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFF;
$theme-header-item-background-color-hover: rgba(#000, .2);
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFF;
$theme-header-item-background-color-focus: rgba(#000, .2);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFF;
$theme-header-item-background-color-active: rgba(#000, .3);
// 侧边栏上的文字颜色
$theme-aside-item-color: #FFF;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFF;
$theme-aside-item-background-color-hover: rgba(#000, .2);
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFF;
$theme-aside-item-background-color-focus: rgba(#000, .2);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFF;
$theme-aside-item-background-color-active: rgba(#000, .3);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #FFF;
$theme-aside-menu-empty-text-color: #FFF;
$theme-aside-menu-empty-background-color: rgba(#FFF, .2);
$theme-aside-menu-empty-icon-color-hover: #FFF;
$theme-aside-menu-empty-text-color-hover: #FFF;
$theme-aside-menu-empty-background-color-hover: rgba(#FFF, .3);
\ No newline at end of file
......@@ -27,7 +27,7 @@
.d2-layout-header-aside-content {
@extend %full;
.d2-theme-header {
height: 60px;
height: 58px;
.d2-theme-header-menu {
overflow: hidden;
&.is-scrollable {
......@@ -87,7 +87,7 @@
overflow: hidden;
.d2-theme-container-main-layer {
position: absolute;
top: 0px;
top: 2px;
bottom: 0px;
left: 0px;
right: 0px;
......@@ -120,23 +120,14 @@
float: left;
text-align: center;
img {
height: 60px;
height: 65px;
transform: translateX(-16px);
}
}
// 折叠侧边栏切换按钮
// .toggle-aside-btn {
// float: left;
// height: 60px;
// width: 60px;
// display: flex;
// justify-content: center;
// align-items: center;
// @extend %unable-select;
// i {
// font-size: 20px;
// margin-top: 4px;
// }
// }
.toggle-aside-btn {
margin-left: 26px;
}
// [菜单] 顶栏
.el-menu {
float: left;
......
......@@ -63,6 +63,10 @@
// 顶栏
.d2-theme-header {
background-color: $theme-header-background-color;
.d2-theme-header-logo{
background-color: $theme-header-logo-background-color
}
// 顶栏菜单空间不足时显示的滚动控件
.d2-theme-header-menu {
.d2-theme-header-menu__prev, .d2-theme-header-menu__next {
......@@ -77,10 +81,10 @@
// 切换按钮
.toggle-aside-btn {
// i {
fill: $theme-header-item-color;
fill: $theme-header-hamberg-color;
background: $theme-header-item-background-color;
&:hover {
fill: $theme-header-item-color-hover;
fill: $theme-header-hamberg-color-hover;
}
// }
}
......@@ -236,6 +240,7 @@
}
}
.d2-theme-container-main {
background-color: $theme-container-main-background-color;
// 主体部分分为多页面控制器 和主体
.d2-theme-container-main-header {
// 多页面控制器
......
@import './setting.scss';
@import '../theme.scss';
.theme-#{$theme-name} {
.d2-layout-header-aside-group {
background: #bc00e3;
background: linear-gradient(120deg, #bc00e3 0%, #4EFFFB 100%);
}
}
\ No newline at end of file
// 主题名称
$theme-name: 'violet';
// 主题背景颜色
$theme-bg-color: #000;
// 主题背景图片遮罩
$theme-bg-mask: rgba(#000, 0);
// container组件
$theme-container-background-color: #FFF;
$theme-container-header-footer-background-color: #FFF;
$theme-container-border-inner: 1px solid $color-border-2;
$theme-container-border-outer: 1px solid #8C40E2;
$theme-multiple-page-control-color: #FFF;
$theme-multiple-page-control-color-active: $color-text-normal;
$theme-multiple-page-control-nav-prev-color: #FFF;
$theme-multiple-page-control-nav-next-color: #FFF;
$theme-multiple-page-control-border-color: #8C40E2;
$theme-multiple-page-control-border-color-active: #FFF;
$theme-multiple-page-control-background-color: rgba(#FFF, .3);
$theme-multiple-page-control-background-color-active: #FFF;
// 顶栏和侧边栏中展开的菜单 hover 状态下
$theme-menu-item-color-hover: #293849;
$theme-menu-item-background-color-hover: #ecf5ff;
// 顶栏上的文字颜色
$theme-header-item-color: #FFF;
$theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFF;
$theme-header-item-background-color-hover: linear-gradient(-180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.12) 100%);
// 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFF;
$theme-header-item-background-color-focus: linear-gradient(-180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.12) 100%);
// 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFF;
$theme-header-item-background-color-active: linear-gradient(-180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.12) 100%);
// 侧边栏上的文字颜色
$theme-aside-item-color: #FFF;
$theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFF;
$theme-aside-item-background-color-hover: linear-gradient(90deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.00) 100%);
// 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFF;
$theme-aside-item-background-color-focus: linear-gradient(90deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.00) 100%);
// 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFF;
$theme-aside-item-background-color-active: linear-gradient(90deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.00) 100%);
// 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #FFF;
$theme-aside-menu-empty-text-color: #FFF;
$theme-aside-menu-empty-background-color: rgba(#000, .1);
$theme-aside-menu-empty-icon-color-hover: #FFF;
$theme-aside-menu-empty-text-color-hover: #FFF;
$theme-aside-menu-empty-background-color-hover: rgba(#000, .15);
\ No newline at end of file
......@@ -25,13 +25,14 @@
v-if="activeName === scope.row.name"
type="success"
icon="el-icon-check"
class="btn-active-success"
round>
已激活
</el-button>
<el-button
v-else
round
@click="handleSelectTheme(scope.row.name)">
@click="handleSelectTheme(scope.row)">
使用
</el-button>
</template>
......@@ -61,8 +62,11 @@ export default {
...mapActions('d2admin/theme', [
'set'
]),
handleSelectTheme (name) {
...mapActions('d2admin/color',{ setColor:'set'}),
handleSelectTheme (row) {
const {name,color} = row
this.set(name)
this.setColor(color)
}
}
}
......@@ -77,3 +81,10 @@ export default {
border: 1px solid $color-border-1;
}
</style>
<style lang="scss">
.btn-active-success{
&:hover{
background-color: "#67C23A" !important;
}
}
</style>
......@@ -15,7 +15,7 @@
}"
flex-box="0"
flex>
<div class="logo-group" :style="{width: asideCollapse ? asideWidthCollapse : asideWidth}" flex-box="0">
<div class="logo-group d2-theme-header-logo" :style="{width: asideCollapse ? asideWidthCollapse : asideWidth}" flex-box="0">
<img v-if="asideCollapse" :src="`${$baseUrl}image/theme/${themeActiveSetting.name}/logo/icon-only.png`">
<img v-else :src="`${$baseUrl}image/theme/${themeActiveSetting.name}/logo/all.png`">
</div>
......@@ -69,7 +69,7 @@
</div>
<!-- 页面 -->
<div class="d2-theme-container-main-body" flex-box="1">
<transition :name="transitionActive ? 'fade-transverse' : ''" mode="in-out">
<transition :name="transitionActive ? 'fade-transverse' : ''" mode="out-in">
<keep-alive :include="keepAlive">
<router-view/>
</keep-alive>
......@@ -125,6 +125,9 @@ export default {
asideWidthCollapse: '65px'
}
},
mounted () {
console.log(this.keepAlive);
},
computed: {
...mapState('d2admin', {
keepAlive: state => state.page.keepAlive,
......
......@@ -67,28 +67,31 @@ export const resources = {
auth: true,
title: '页面',
id: '102',
pid: '0'
pid: '0',
cache:true
}
},
'10201': {
path: '/page1',
name: '页面 1',
name: 'page1',
meta: {
auth: true,
title: '页面 1',
id: '10201',
pid: '102'
pid: '102',
cache:true
},
component: _import('demo/page1')
},
'10202': {
path: '/page2',
name: '页面 2',
name: 'page2',
meta: {
auth: true,
title: '页面 2',
id: '10202',
pid: '102'
pid: '102',
cache:true
},
component: _import('demo/page2'),
auth: {
......@@ -141,7 +144,7 @@ export const resources = {
// },
'103': {
path: 'subSysManagement',
icon: 'folder-o',
icon: 'th-list',
name: '子系统管理',
meta: {
auth: true,
......@@ -153,7 +156,7 @@ export const resources = {
},
'104': {
path: 'trafficManagement',
icon: 'folder-o',
icon: 'train',
name: '车辆管理',
meta: {
auth: true,
......@@ -165,7 +168,7 @@ export const resources = {
},
'105': {
path: 'bb',
icon: 'folder-o',
icon: 'file-text-o',
name: '单据管理',
meta: {
auth: true,
......@@ -176,7 +179,7 @@ export const resources = {
},
'10501': {
path: '/cc',
icon: 'folder-o',
icon: 'archive',
name: '物料订单管理',
meta: {
auth: true,
......@@ -188,7 +191,7 @@ export const resources = {
},
'10502': {
path: '/dd',
icon: 'folder-o',
icon: 'list-ol',
name: '作业单管理',
meta: {
auth: true,
......@@ -200,7 +203,7 @@ export const resources = {
},
'107': {
path: 'user',
icon: 'folder-o',
icon: 'users',
name: '用户管理',
meta: {
auth: true,
......@@ -212,6 +215,7 @@ export const resources = {
'10701': {
path: '/userManage',
name: '用户管理',
icon:'user',
meta: {
auth: true,
title: '用户管理',
......@@ -223,6 +227,7 @@ export const resources = {
'10702': {
path: '/jurisdictionManage',
name: '权限管理',
icon:'sitemap',
meta: {
auth: true,
title: '权限管理',
......@@ -234,6 +239,7 @@ export const resources = {
'10703': {
path: '/loginLogs',
name: '登录日志',
icon:'file-text',
meta: {
auth: true,
title: '登录日志',
......@@ -244,7 +250,7 @@ export const resources = {
},
'108': {
path: 'reportingLogs',
icon: 'folder-o',
icon: 'upload',
name: '上报日志',
meta: {
auth: true,
......
......@@ -32,32 +32,57 @@ export default {
theme: {
list: [
{
title: 'd2admin 经典',
name: 'd2',
preview: 'image/theme/d2/preview@2x.png'
title: 'classic',
name: 'classic',
color:'#E28B0C',
preview: 'image/theme/classic/preview@2x.png'
},
{
title: '紫罗兰',
name: 'violet',
preview: 'image/theme/violet/preview@2x.png'
title: 'dark',
name: 'dark',
color:'#377DE7',
preview: 'image/theme/dark/preview@2x.png'
},
{
title: '简约线条',
name: 'line',
backgroundImage: 'image/theme/line/bg.jpg',
preview: 'image/theme/line/preview@2x.png'
title: 'blue',
name: 'blue',
color:'#E28B0C',
preview: 'image/theme/blue/preview@2x.png'
},
{
title: '流星',
name: 'star',
backgroundImage: 'image/theme/star/bg.jpg',
preview: 'image/theme/star/preview@2x.png'
},
{
title: 'Tomorrow Night Blue (vsCode)',
name: 'tomorrow-night-blue',
preview: 'image/theme/tomorrow-night-blue/preview@2x.png'
title: 'plane',
name: 'plane',
color:'#377DE7',
backgroundImage: 'image/theme/plane/bg.jpg',
preview: 'image/theme/plane/preview@2x.png'
}
// {
// title: 'd2admin 经典',
// name: 'd2',
// preview: 'image/theme/d2/preview@2x.png'
// },
// {
// title: '紫罗兰',
// name: 'violet',
// preview: 'image/theme/violet/preview@2x.png'
// },
// {
// title: '简约线条',
// name: 'line',
// backgroundImage: 'image/theme/line/bg.jpg',
// preview: 'image/theme/line/preview@2x.png'
// },
// {
// title: '流星',
// name: 'star',
// backgroundImage: 'image/theme/star/bg.jpg',
// preview: 'image/theme/star/preview@2x.png'
// },
// {
// title: 'Tomorrow Night Blue (vsCode)',
// name: 'tomorrow-night-blue',
// preview: 'image/theme/tomorrow-night-blue/preview@2x.png'
// }
]
},
// 是否默认开启页面切换动画
......
......@@ -108,6 +108,8 @@ export default {
await dispatch('d2admin/menu/asideCollapseLoad', null, { root: true })
// DB -> store 持久化数据加载全局尺寸
await dispatch('d2admin/size/load', null, { root: true })
// // store 设置系统主色
// await dispatch('d2admin/color/set', process.env.VUE_APP_MAIN_COLOR)
// 后台接口 -> store
// await dispatch('d2admin/auth/init', null, { root: true })
// end
......
......@@ -134,6 +134,7 @@ export default {
state.opened.push(newTag)
// 如果这个页面需要缓存 将其添加到缓存设置
if (isKeepAlive(newTag)) {
console.log(newTag);
commit('keepAlivePush', tag.name)
}
// 持久化
......
......@@ -53,10 +53,12 @@ export default {
user: true
}, { root: true })
// 检查这个主题在主题列表里是否存在
if (state.list.find(e => e.name === activeName)) {
let __theme= state.list.find(e => e.name === activeName)
if (__theme) {
state.activeName = activeName
} else {
state.activeName = state.list[0].name
__theme = state.list[0]
state.activeName = __theme.name
// 持久化
await dispatch('d2admin/db/set', {
dbName: 'sys',
......@@ -65,6 +67,8 @@ export default {
user: true
}, { root: true })
}
// 设置ui 颜色
await dispatch('d2admin/color/set',__theme.color,{root:true})
// 将 vuex 中的主题应用到 dom
commit('dom')
// end
......
......@@ -46,12 +46,13 @@
</template>
</el-table-column>
</el-table>
<el-input v-model="testCache" type="text"></el-input>
</d2-container>
</template>
<script>
export default {
name:'page2',
methods: {
handleClick (row) {
alert(JSON.stringify(row))
......@@ -59,6 +60,7 @@ export default {
},
data () {
return {
testCache:'',
btn: {
lable: '测试',
action: 'test'
......
<template>
<el-dialog
center
title="用户注册"
:visible.sync="dialogVisible"
:before-close="handleClose"
width="720px"
custom-class="reg-dialog"
>
<el-form ref="regForm" :model="regForm" label-width="80px" class="reg-dialog-form">
<el-form-item label="用户名:" :rules="rules.loginName">
<el-input v-model="regForm.loginName" requred></el-input>
</el-form-item>
<el-form-item label="密码:">
<el-input type="password" v-model="regForm.password"></el-input>
</el-form-item>
<el-form-item label="确认密码:">
<el-input type="password" v-model="regForm.comfirm"></el-input>
</el-form-item>
<el-row>
<el-col :span="12">
<el-form-item label="姓名:">
<el-input v-model="regForm.userName"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="联系方式:">
<el-input v-model="regForm.mobile"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="所属公司:">
<el-select v-model="regForm.companyCode" placeholder="请选择" class="sigle-select">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
</el-select>
</el-form-item>
<el-row>
<el-col :span="12">
<el-form-item label="部门:">
<el-select v-model="regForm.departCode" placeholder="请选择">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="职务:">
<el-select v-model="regForm.postCode" placeholder="请选择">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-form-item label="所属站点:">
<el-select v-model="regForm.stationCode" placeholder="请选择" class="sigle-select">
<el-option label="区域一" value="shanghai"></el-option>
<el-option label="区域二" value="beijing"></el-option>
</el-select>
</el-form-item>
<el-form-item class="form-action" flex="main:left cross:center">
<el-button size="default" @click="submit" type="primary" class="button-submit">提交</el-button>
</el-form-item>
</el-form>
</el-dialog>
</template>
<script>
export default {
name: "DialogReg",
props: {
isVisible: {
type: Boolean,
default: false
}
},
computed: {
dialogVisible() {
return this.isVisible;
}
},
data() {
return {
company: [],
regForm: {
loginName: "",
password: "",
comfirm: "",
userName: "",
mobile: "",
companyCode: [],
departName: "",
postCode: "",
stationCode: ""
},
rules: Object.freeze({
loginName: [{ required: true, message: "用户名不能为空" }],
password: [{ required: true, message: "密码不能为空" }],
userName: [{ required: true, message: "姓名不能为空" }],
companyCode: [{ required: true, message: "用户名不能为空" }],
loginName: [{ required: true, message: "用户名不能为空" }]
})
};
},
methods: {
handleClose(done) {
this.$event.$emit("e-reg-dialog", false);
}
}
};
</script>
<style lang="scss">
$login-dialog-lable-width: 70px;
$login-dialog-font: 13px;
.reg-dialog {
background: #fff;
box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.06);
border-radius: 9px;
.reg-dialog-form {
width: 370px;
.el-form-item {
margin-bottom: 20px;
.el-input__inner {
height: 35px;
line-height: 35px;
border-radius: 2px;
}
}
.form-action {
.button-submit {
width: 145px;
height: 35px;
border-radius: 2px;
letter-spacing: 2px;
font-size: 14px;
line-height: 35px;
display: flex;
justify-content: center;
box-sizing: border-box;
span {
transform: translateY(-12px);
}
}
}
}
.el-dialog__title {
font-size: 20px;
color: #333;
}
.el-dialog__body {
display: flex;
justify-content: center;
.el-form-item__label {
width: $login-dialog-lable-width;
text-align: right;
font-size: $login-dialog-font;
}
.el-form-item__content {
margin-left: $login-dialog-lable-width;
font-size: $login-dialog-font;
}
}
.sigle-select {
width: 290px;
}
}
</style>
\ No newline at end of file
<template>
<div class="page-login">
<!-- <bg opacity="1" :oBg.sync="bing" :refresh="true" :withAnimation="true"></bg> -->
<dialog-reg :isVisible="registerDialogVisible"/>
<div class="page-login--layer page-login--layer-area">
<ul class="circles">
<li v-for="n in 10" :key="n"></li>
......@@ -62,7 +62,7 @@
</el-button>
<el-button
size="default"
@click="submit"
@click.prevent="openRegisterDialog"
type="primary"
class="button-reg">
注册
......@@ -73,7 +73,6 @@
</div>
<div class="form-right">
<div class="img-top">
</div>
<div class="img-bg"></div>
</div>
......@@ -88,19 +87,6 @@
</div>
</div>
</div>
<el-dialog
title="快速选择用户"
:visible.sync="dialogVisible"
width="400px">
<el-row :gutter="10" style="margin: -20px 0px -10px 0px;">
<el-col v-for="(user, index) in users" :key="index" :span="8">
<div class="page-login--quick-user" @click="handleUserBtnClick(user)">
<d2-icon name="user-circle-o"/>
<span>{{user.name}}</span>
</div>
</el-col>
</el-row>
</el-dialog>
</div>
</template>
......@@ -109,35 +95,13 @@ import dayjs from 'dayjs'
import { mapActions } from 'vuex'
export default {
components: {
'Bg': () => import('./Bg')
'DialogReg':()=>import('./dialogReg')
},
data () {
return {
bing: {
copyright: '',
copyrightlink: ''
},
registerDialogVisible:false,
timeInterval: null,
time: dayjs().format('HH:mm:ss'),
// 快速选择用户
dialogVisible: false,
users: [
{
name: 'Admin',
username: 'admin',
password: 'admin'
},
{
name: 'Editor',
username: 'editor',
password: 'editor'
},
{
name: 'User1',
username: 'user1',
password: 'user1'
}
],
// 表单
formLogin: {
username: 'admin',
......@@ -145,7 +109,7 @@ export default {
code: 'v9am'
},
// 表单校验
rules: {
rules: Object.freeze({
username: [
{
required: true,
......@@ -159,21 +123,13 @@ export default {
message: '请输入密码',
trigger: 'blur'
}
],
code: [
{
required: true,
message: '请输入验证码',
trigger: 'blur'
}
]
}
})
}
},
mounted () {
this.timeInterval = setInterval(() => {
this.refreshTime()
}, 1000)
this.timeInterval = setInterval(() =>this.refreshTime(),1000)
this.$event.$on('e-reg-dialog',res => this.registerDialogVisible = res)
},
beforeDestroy () {
clearInterval(this.timeInterval)
......@@ -194,6 +150,9 @@ export default {
this.formLogin.password = user.password
this.submit()
},
openRegisterDialog(){
this.registerDialogVisible=!this.registerDialogVisible
},
/**
* @description 提交表单
*/
......@@ -233,38 +192,81 @@ export default {
height: 100%;
position: relative;
// 层
.page-login--layer {
&--layer {
@extend %full;
overflow: auto;
}
.page-login--layer-area {
overflow: hidden;
}
// 时间
.page-login--layer-time {
font-size: 24em;
font-weight: bold;
color: rgba(0, 0, 0, 0.05);
overflow: hidden;
&-area {
overflow: hidden;
}
// 时间
&-time {
font-size: 24em;
font-weight: bold;
color: rgba(0, 0, 0, 0.05);
overflow: hidden;
}
}
// 登陆页面控件的容器
.page-login--content {
&--content {
height: 100%;
min-height: 500px;
}
// header
.page-login--content-header {
// header
&-header {
padding: 1em 0;
&-motto {
margin: 0px;
padding: 0px;
color: $color-text-normal;
text-align: center;
font-size: 12px;
}
}
// footer
&-footer {
padding: 1em 0;
.page-login--content-header-motto {
margin: 0px;
&-locales {
padding: 0px;
margin: 0px;
margin-bottom: 15px;
font-size: 12px;
line-height: 12px;
text-align: center;
color: $color-text-normal;
a {
color: $color-text-normal;
margin: 0 .5em;
&:hover {
color: $color-text-main;
}
}
}
&-copyright {
padding: 0px;
margin: 0px;
margin-bottom: 10px;
font-size: 16px;
line-height: 12px;
text-align: center;
color: $color-text-normal;
a {
color: $color-text-normal;
}
}
&-options {
padding: 0px;
margin: 0px;
font-size: 12px;
line-height: 12px;
text-align: center;
a {
color: $color-text-normal;
margin: 0 1em;
}
}
}
}
// 登录表单
.page-login--form {
&--form {
width: 720px;
height:400px;
background: #FFFFFF;
......@@ -282,7 +284,7 @@ export default {
margin-bottom: 62px;
.form-title{
font-size: 20px;
color: #333333;
color: #333;
line-height: 28px;
}
.form-sub{
......@@ -298,7 +300,7 @@ export default {
height: 35px;
margin-bottom: 24px;
background: #FFFFFF;
border: 1px solid #DDDDDD;
border: 1px solid #DDD;
border-radius: 2px;
}
}
......@@ -318,8 +320,8 @@ export default {
}
}
.button-login{
background-color: #3D6FE4;
color: #FFF;
// background-color: #3D6FE4 !important;
// color: #FFF;
letter-spacing: 2px;
float: left;
}
......@@ -349,50 +351,14 @@ export default {
// border:6px solid #F4F9FF;
}
}
}
// footer
.page-login--content-footer {
padding: 1em 0;
.page-login--content-footer-locales {
padding: 0px;
margin: 0px;
margin-bottom: 15px;
font-size: 12px;
line-height: 12px;
text-align: center;
color: $color-text-normal;
a {
color: $color-text-normal;
margin: 0 .5em;
&:hover {
color: $color-text-main;
}
}
}
.page-login--content-footer-copyright {
padding: 0px;
margin: 0px;
margin-bottom: 10px;
font-size: 16px;
line-height: 12px;
text-align: center;
color: $color-text-normal;
a {
color: $color-text-normal;
}
}
.page-login--content-footer-options {
padding: 0px;
margin: 0px;
font-size: 12px;
line-height: 12px;
text-align: center;
a {
color: $color-text-normal;
margin: 0 1em;
}
@keyframes login-form-animate {
0%{transform:scale(1)}
50%{transform:scale(1.1)}
100%{transform:scale(1)}
}
animation: login-form-animate .5s ease;
}
// 背景
.circles {
position: absolute;
......@@ -415,7 +381,7 @@ export default {
@keyframes animate {
0%{
transform: translateY(0) rotate(0deg);
opacity: 1;
opacity: .1;
border-radius: 0;
}
100%{
......
......@@ -88,6 +88,9 @@ module.exports = {
.plugin('theme-color-replacer')
.use(ThemeColorReplacer, [{
fileName: 'css/theme-colors.[contenthash:8].css',
resolveCss(resultCss) { // optional. Resolve result css code as you wish.
return resultCss.replace(/process.env.VUE_APP_ELEMENT_COLOR/g, process.env.VUE_APP_ELEMENT_COLOR)
},
matchColors: [
...forElementUI.getElementUISeries(process.env.VUE_APP_ELEMENT_COLOR) // Element-ui主色系列
],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!