master
lion 1 year ago
parent fae1bb9362
commit df681da6cd

@ -42,9 +42,9 @@ export default {
// padding-top: 10px; // padding-top: 10px;
font-weight: bold; font-weight: bold;
font-size: 15px; font-size: 15px;
color: #0077CC; color: #b3241d;
white-space: nowrap; white-space: nowrap;
border-bottom: 2px solid #0077CC; border-bottom: 2px solid #b3241d;
> span { > span {
position: relative; position: relative;
@ -53,7 +53,7 @@ export default {
.content { .content {
line-height: 25px; line-height: 25px;
padding-left: 10px; padding-left: 10px;
padding: 6px 0 0 10px; padding: 6px 0 0 0px;
} }
.v-right-content { .v-right-content {
flex: 1; flex: 1;

@ -98,7 +98,7 @@
} }
</script> </script>
<style> <style>
.el-submenu__title i { /* .el-submenu__title i {
color: #fff !important; color: #fff !important;
} } */
</style> </style>

@ -1,7 +1,9 @@
/* 改变主题色变量 */ /* 改变主题色变量 */
$--color-primary: #0077CC; // $--color-primary: #0077CC;
$--color-primary: #b3241d;
/* 改变 icon 字体路径变量,必需 */ /* 改变 icon 字体路径变量,必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts'; $--font-path: '~element-ui/lib/theme-chalk/fonts';
@import "~element-ui/packages/theme-chalk/src/index"; @import "~element-ui/packages/theme-chalk/src/index";

@ -10,8 +10,8 @@
.sidebar-container { .sidebar-container {
transition: width 0.28s; transition: width 0.28s;
width: $sideBarWidth !important; width: $sideBarWidth !important;
//background-color: $menuBg; background-color: $menuBg;
background: linear-gradient(180deg, #0284cd, #0077CC); // background: linear-gradient(180deg, #0284cd, #0077CC);
box-shadow: 1px 1px 15px 0px rgba(17, 76, 157, 0.2); box-shadow: 1px 1px 15px 0px rgba(17, 76, 157, 0.2);
height: 100%; height: 100%;
position: fixed; position: fixed;
@ -89,7 +89,7 @@
//border-right: 5px solid $subMenuActiveText !important; //border-right: 5px solid $subMenuActiveText !important;
} }
.is-active>.el-submenu__title { .is-active>.el-submenu__title {
color: $subMenuActiveText !important; color: $subMenuActiveText;
} }

@ -1,19 +1,19 @@
// sidebar // sidebar
$menuText:#ffffff; $menuText:#606266;
$menuActiveText:#ffffff; $menuActiveText:#ffffff;
$subMenuActiveText:#ffffff; //https://github.com/ElemeFE/element/issues/12951 $subMenuActiveText:#ffffff; //https://github.com/ElemeFE/element/issues/12951
$menuBg:rgb(255, 255, 255,0);//#304156 $menuBg:#ffffff;//#304156
$menuHover:rgba(242, 242, 242, .4); $menuHover:#d96d68;
$menuActiveBg:rgba(242, 242, 242, .4); $menuActiveBg:#b3241d;
$subMenuBg:rgb(255, 255, 255,0);//#304156 $subMenuBg:#ffffff;//#1f2d3d
$subMenuHover:rgba(242, 242, 242, .4); $subMenuHover:#d96d68;
$submenuActiveBg:rgba(242, 242, 242, .4); $submenuActiveBg: #b3241d;
$sideBarWidth: 210px; $sideBarWidth: 210px;
$primaryColor: #0077CC; $primaryColor: #b3241d;
// the :export directive is the magic sauce for webpack // the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
:export { :export {

@ -1,4 +1,6 @@
@import '~view-design/src/styles/index.less'; @import '~view-design/src/styles/index.less';
// Here are the variables to cover, such as: // Here are the variables to cover, such as:
@primary-color: #0077CC; // @primary-color: #0077CC;
@primary-color: #b3241d;

@ -193,7 +193,7 @@ export default {
} }
&:focus { &:focus {
outline: none; outline: none;
border-color: #0077cc; border-color: #b3241d;
} }
} }
</style> </style>

@ -25,7 +25,7 @@ module.exports = {
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin', publicPath: process.env.ENV === 'staging' ? '/admin_test' : '/admin',
outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin', outputDir: '/Users/mac/Documents/朗业/2024/s-四世同堂-档案/sstt_dangan/public/admin_test',
assetsDir: 'static', assetsDir: 'static',
css: { css: {
loaderOptions: { // 向 CSS 相关的 loader 传递选项 loaderOptions: { // 向 CSS 相关的 loader 传递选项

Loading…
Cancel
Save