41 |
42 | ###### 主页
43 |
44 |
45 |
46 | #### 参考项目
47 |
48 | - Avue-cli:https://gitee.com/smallweigit/avue-cli
49 |
--------------------------------------------------------------------------------
/src/styles/theme/beautiful.scss:
--------------------------------------------------------------------------------
1 | .theme-beautiful{
2 | .avue-sidebar{
3 | background: linear-gradient(90deg,#006cff,#399efd)!important;
4 | .el-menu-item, .el-sub-menu__title{
5 | background: linear-gradient(90deg,#006cff,#399efd)!important;
6 | }
7 | .el-menu-item,.el-sub-menu__title{
8 | i,span{
9 | color:#fff
10 | }
11 | .is-active{
12 | background: #399efd!important;
13 | }
14 | &:hover,&.is-active{
15 | background: #399efd!important;
16 | i,span{
17 | background: #399efd!important;
18 | }
19 | }
20 | }
21 | }
22 | .avue-logo{
23 | background: linear-gradient(90deg,#006cff,#399efd)!important;
24 | }
25 |
26 | .avue-tags{
27 | .el-tabs__item{
28 | font-size: 14px !important;
29 | color: #303133 !important;
30 | font-weight: 500 !important;
31 | border:1px solid #dcdfe6 !important;
32 | border-radius: 3px;
33 | height: 35px !important;
34 | line-height: 35px !important;
35 | margin: 5px 3px 8px 3px !important;
36 | &:hover{
37 | color:#409EFF !important;
38 | border-color: #409EFF !important;
39 | }
40 | }
41 | .is-active{
42 | color:#409EFF !important;
43 | border-color: #409EFF !important;
44 | }
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/src/styles/theme/dark.scss:
--------------------------------------------------------------------------------
1 | .theme-dark {
2 | .avue-logo{
3 | color: #fff;
4 | background-color: #2c3643;
5 | box-shadow: none;
6 | .avue-logo_title{
7 | font-size: 20px;
8 | font-weight: 400;
9 | }
10 | }
11 | .avue-top{
12 | background-color: #2c3643;
13 | box-shadow: none;
14 | color:#ccc;
15 | i, span{
16 | color:#ccc;
17 | }
18 | }
19 | .avue-main{
20 | padding: 0 5px;
21 | }
22 | .avue-tags{
23 | padding-left: 0;
24 | background-color: #2c3643;
25 | border-color: transparent;
26 | .el-tabs__item{
27 | margin: 0 !important;
28 | background-color: #262d37;
29 | &.is-active{
30 | color:#262d37 !important;
31 | background-color:#fff !important;
32 | border-color: #262d37 !important;
33 | }
34 | }
35 | }
36 | .avue-main{
37 | background-color: #2c3643;
38 | }
39 | .avue-sidebar{
40 | background-color: #2c3643;
41 | box-shadow: none;
42 | .el-menu-item,.el-sub-menu__title{
43 | i,span{
44 | color:#ccc;
45 | }
46 | &:hover,&.is-active{
47 | background: #262d37;
48 | i,span{
49 | color: #fff;
50 | }
51 | &:before{
52 | background-color: #000;
53 | }
54 | }
55 | }
56 | }
57 | }
--------------------------------------------------------------------------------
/src/page/index/top/top-lang.vue:
--------------------------------------------------------------------------------
1 |
2 | 目前项目正常运行,还有些问题有待尝试
5 |
10 | {{ $t('login.info') }}
11 |
15 | {{ $t('login.title') }}{{ website.title }}
16 |
自定义提示{{ error }}
23 | 24 | 25 | 26 |
9 | {{ $t('login.info') }}
10 |18 | {{ $t('wel.count') }} 19 |
20 |56
21 |24 | {{ $t('wel.team') }} 25 |
26 |8 / 24
27 |30 | {{ $t('wel.project') }} 31 |
32 |2,223
33 |