gy-webcode2 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/bar.vue +37 -0
- package/components/breadcrumb.vue +127 -0
- package/components/javaEditor.vue +88 -0
- package/components/sqlEditor.vue +92 -0
- package/components/waterfall.vue +484 -0
- package/css/common.scss +106 -0
- package/css/layout.scss +338 -0
- package/css/login.scss +122 -0
- package/css/modules/button.scss +2 -0
- package/css/modules/color.scss +58 -0
- package/css/modules/common.scss +217 -0
- package/css/modules/elementUI.scss +426 -0
- package/css/modules/form.scss +56 -0
- package/css/modules/header.scss +342 -0
- package/css/modules/sidebar.scss +214 -0
- package/css/modules/table.scss +134 -0
- package/css/modules/tabs.scss +54 -0
- package/css/modules/tags.scss +149 -0
- package/css/modules/tree.scss +120 -0
- package/css/modules/tree_check.scss +53 -0
- package/css/theme/colors/cheng.scss +17 -0
- package/css/theme/colors/default.scss +19 -0
- package/css/theme/colors/hong.scss +17 -0
- package/css/theme/colors/huang.scss +17 -0
- package/css/theme/colors/lv.scss +17 -0
- package/css/theme/colors/qing.scss +17 -0
- package/css/theme/colors/shenaln.scss +17 -0
- package/css/theme/colors/zi.scss +18 -0
- package/css/theme/global.scss +8 -0
- package/css/theme/styles/default.scss +11 -0
- package/css/theme/styles/hailan.scss +11 -0
- package/css/theme/styles/shenlan.scss +11 -0
- package/css/theme/theme.scss +78 -0
- package/extend/axios.js +173 -0
- package/extend/formatTime.js +54 -0
- package/img/btnActive/1.png +0 -0
- package/img/btnActive/2.png +0 -0
- package/img/btnActive/3.png +0 -0
- package/img/btnActive/4.png +0 -0
- package/img/btnActive/5.png +0 -0
- package/img/btnActive/6.png +0 -0
- package/img/btnActive/7.png +0 -0
- package/img/btnActive/8.png +0 -0
- package/img/login_bg.jpg +0 -0
- package/img/login_bg2.jpg +0 -0
- package/img/login_bg2.png +0 -0
- package/img/mrtx.jpg +0 -0
- package/img/slogan.png +0 -0
- package/img/theme/pageStyle_1.png +0 -0
- package/img/theme/pageStyle_2.png +0 -0
- package/img/theme/pageStyle_3.png +0 -0
- package/index.js +17 -0
- package/jsconfig.json +19 -0
- package/package.json +15 -0
- package/plugins/jsencrypt.js +5370 -0
- package/plugins/jsencrypt.min.js +1 -0
- package/plugins/swiper-4.5.3/css/swiper.css +619 -0
- package/plugins/swiper-4.5.3/css/swiper.min.css +12 -0
- package/plugins/swiper-4.5.3/js/swiper.esm.bundle.js +7184 -0
- package/plugins/swiper-4.5.3/js/swiper.esm.js +7166 -0
- package/plugins/swiper-4.5.3/js/swiper.js +8149 -0
- package/plugins/swiper-4.5.3/js/swiper.min.js +13 -0
- package/plugins/swiper-4.5.3/js/swiper.min.js.map +1 -0
- package/scripts/$u.mixin.js +27 -0
- package/scripts/crypto.js +184 -0
- package/scripts/jsencrypt.js +180 -0
- package/scripts/md5.js +259 -0
- package/scripts/numberAnimate.js +134 -0
- package/scripts/uuid.js +33 -0
- package/updateLog.txt +0 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.tabs{
|
|
2
|
+
height: 55px;
|
|
3
|
+
background: #fff;
|
|
4
|
+
border-bottom: 1px solid #d9d9d9;
|
|
5
|
+
display: flex;
|
|
6
|
+
padding: 0 10px;
|
|
7
|
+
// padding: 0 16px;
|
|
8
|
+
.item{
|
|
9
|
+
margin: 0 10px;
|
|
10
|
+
position: relative;
|
|
11
|
+
display: flex;
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
transition: all 0.3s ease;
|
|
15
|
+
color: #000;
|
|
16
|
+
padding-top: 22px;
|
|
17
|
+
min-width: 60px;
|
|
18
|
+
text-align: center;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
// border: 1px solid #000;
|
|
21
|
+
&:hover{
|
|
22
|
+
@include themeColor('color','hover');
|
|
23
|
+
}
|
|
24
|
+
&:active{
|
|
25
|
+
@include themeColor('color','active');
|
|
26
|
+
}
|
|
27
|
+
&.active{
|
|
28
|
+
@include themeColor('color','active');
|
|
29
|
+
&::before{
|
|
30
|
+
content: "";
|
|
31
|
+
display: block;
|
|
32
|
+
position: absolute;
|
|
33
|
+
bottom: -1px;
|
|
34
|
+
// left: 6px;
|
|
35
|
+
// right: 6px;
|
|
36
|
+
left: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
width: 60px;
|
|
39
|
+
height: 2px;
|
|
40
|
+
margin: auto;
|
|
41
|
+
@include themeColor('background-color','active');
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
}
|
|
46
|
+
.other{
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: flex-end;
|
|
50
|
+
// padding-right: 10px;
|
|
51
|
+
flex: 1;
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
.tags{
|
|
2
|
+
background: #000;
|
|
3
|
+
color: #fff;
|
|
4
|
+
border-radius: 3px;
|
|
5
|
+
padding: 2px ;
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
border:1px solid #000;
|
|
8
|
+
display: inline-block;
|
|
9
|
+
line-height: 1;
|
|
10
|
+
|
|
11
|
+
&.wide{
|
|
12
|
+
padding: 4px 8px ;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.hui{
|
|
16
|
+
background: #f5f5f5;
|
|
17
|
+
border-color: hsl(0, 0%, 96%);
|
|
18
|
+
color: #262626;
|
|
19
|
+
&.plain{
|
|
20
|
+
background: #f5f5f5;
|
|
21
|
+
border-color: #d9d9d9;
|
|
22
|
+
}
|
|
23
|
+
&.plain2{
|
|
24
|
+
background: #fff;
|
|
25
|
+
border-color: #d9d9d9;
|
|
26
|
+
}
|
|
27
|
+
&.plain3{
|
|
28
|
+
background: #fff;
|
|
29
|
+
border-color: #d9d9d9;
|
|
30
|
+
border-style: dashed;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.hong{
|
|
35
|
+
background: #ff4d50;
|
|
36
|
+
border-color: #ff4d50;
|
|
37
|
+
&.plain{
|
|
38
|
+
background: #fff1f1;
|
|
39
|
+
border-color: #ffa49f;
|
|
40
|
+
color: #f5212d;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
&.lan{
|
|
44
|
+
background: #1890ff;
|
|
45
|
+
border-color: #1890ff;
|
|
46
|
+
color: #fff;
|
|
47
|
+
&.plain{
|
|
48
|
+
background: #e6f7ff;
|
|
49
|
+
border-color: #91d5fc;
|
|
50
|
+
color: #1690fd;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
&.lan2{
|
|
54
|
+
background: #e6f7ff;
|
|
55
|
+
border-color: #e6f7ff;
|
|
56
|
+
color: #1690fd;
|
|
57
|
+
&.plain{
|
|
58
|
+
border-color: #90d5ff;
|
|
59
|
+
}
|
|
60
|
+
&.plain2{
|
|
61
|
+
border-color: #1791fe;
|
|
62
|
+
color: #1791ff;
|
|
63
|
+
background: #fff;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&.lan3{
|
|
68
|
+
background: #353688;
|
|
69
|
+
border-color: #353688;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.lan4{
|
|
73
|
+
background: #155bd5;
|
|
74
|
+
border-color: #155bd5;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.lv{
|
|
78
|
+
background: #4fc519;
|
|
79
|
+
border-color: #4fc519;
|
|
80
|
+
&.plain{
|
|
81
|
+
background: #f8ffed;
|
|
82
|
+
border-color: #b8eb8e;
|
|
83
|
+
color: #51c51a;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
&.lv2{
|
|
87
|
+
border-color: #f8ffed;
|
|
88
|
+
background: #f8ffed;
|
|
89
|
+
color: #51c51a;
|
|
90
|
+
&.plain{
|
|
91
|
+
border-color: #b9ea8f;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.huang{
|
|
96
|
+
background: #fbad15;
|
|
97
|
+
border-color: #fbad15;
|
|
98
|
+
&.plain{
|
|
99
|
+
background: #fefbe8;
|
|
100
|
+
border-color: #ffe58e;
|
|
101
|
+
color: #ffa83f;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.cheng{
|
|
106
|
+
background: #eb6a0c;
|
|
107
|
+
border-color: #eb6a0c;
|
|
108
|
+
}
|
|
109
|
+
&.cheng2{
|
|
110
|
+
background: #fff4f1;
|
|
111
|
+
border-color: #fff4f1;
|
|
112
|
+
color: #ed6a0f;
|
|
113
|
+
&.plain{
|
|
114
|
+
border-color: #f8ba93;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&.zi{
|
|
119
|
+
background: #8a40d5;
|
|
120
|
+
border-color: #8a40d5;
|
|
121
|
+
&.plain{
|
|
122
|
+
background: #f8f3fa;
|
|
123
|
+
border-color: #c7a7ea;
|
|
124
|
+
color: #883ed3;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.fen{
|
|
129
|
+
background: #d42a8d;
|
|
130
|
+
border-color: #d42a8d;
|
|
131
|
+
&.plain{
|
|
132
|
+
background: #fff0fa;
|
|
133
|
+
border-color: #ea9ecd;
|
|
134
|
+
color: #d5298b;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
&.myHover{
|
|
144
|
+
cursor: pointer;
|
|
145
|
+
&:hover{
|
|
146
|
+
opacity: 0.8;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.treeHeader{
|
|
2
|
+
display: flex;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
padding: 12px 16px;
|
|
5
|
+
align-items: center;
|
|
6
|
+
.removeBtn{
|
|
7
|
+
border: 1px solid #ccc;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.treeBox{
|
|
11
|
+
position: absolute;
|
|
12
|
+
left: 2px;
|
|
13
|
+
right: 2px;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
top: 0;
|
|
16
|
+
overflow: auto;
|
|
17
|
+
padding: 0 12px 0 12px;
|
|
18
|
+
.el-tree{
|
|
19
|
+
color: #000;
|
|
20
|
+
}
|
|
21
|
+
.el-tree-node__content{
|
|
22
|
+
height: 30px;
|
|
23
|
+
line-height: 30px;
|
|
24
|
+
&:hover{
|
|
25
|
+
border-radius: 6px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
.el-tree--highlight-current .el-tree-node.is-current:focus>.el-tree-node__content{
|
|
29
|
+
@include themeColor('background-color','active',0.1);
|
|
30
|
+
@include themeColor('color','active');
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{
|
|
35
|
+
// background: #f5f7fa !important;
|
|
36
|
+
// color:#13939e !important;
|
|
37
|
+
@include themeColor('background-color','active',0.1);
|
|
38
|
+
@include themeColor('color','active');
|
|
39
|
+
border-radius: 6px;
|
|
40
|
+
.iconBox{
|
|
41
|
+
opacity: 1
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.el-tree>.el-tree-node{
|
|
45
|
+
min-width:100%;
|
|
46
|
+
display: inline-block;
|
|
47
|
+
}
|
|
48
|
+
.tree_content{
|
|
49
|
+
|
|
50
|
+
.icon{
|
|
51
|
+
color:#aaa;
|
|
52
|
+
&.icon_lan{
|
|
53
|
+
color:#4867af;
|
|
54
|
+
}
|
|
55
|
+
&.icon_huang{
|
|
56
|
+
color: #ffcf2a;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.edit_treeBox{
|
|
63
|
+
|
|
64
|
+
.el-tree>.el-tree-node{
|
|
65
|
+
|
|
66
|
+
min-width:initial;
|
|
67
|
+
display:initial;
|
|
68
|
+
}
|
|
69
|
+
.el-tree-node__content{
|
|
70
|
+
position: relative;
|
|
71
|
+
}
|
|
72
|
+
// .el-tree-node__content .el-tree-node__expand-icon.is-leaf{
|
|
73
|
+
// display:none;
|
|
74
|
+
// }
|
|
75
|
+
.tree_content{
|
|
76
|
+
// flex: 1;
|
|
77
|
+
width: 100%;
|
|
78
|
+
display: flex;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
.tree_title{
|
|
81
|
+
flex: 1;
|
|
82
|
+
// width: 90%;
|
|
83
|
+
overflow: hidden;
|
|
84
|
+
text-overflow: ellipsis;
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
padding-right: 10px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.iconBox{
|
|
90
|
+
// position: absolute;
|
|
91
|
+
// right: 10px;
|
|
92
|
+
// top: 0;
|
|
93
|
+
opacity: 0.5;
|
|
94
|
+
font-size: 12px;
|
|
95
|
+
margin-right: 5px;
|
|
96
|
+
// display:none;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover{
|
|
100
|
+
.tree_title{
|
|
101
|
+
// width:60%;
|
|
102
|
+
// width: calc(100% - 70px)
|
|
103
|
+
}
|
|
104
|
+
.iconBox{
|
|
105
|
+
opacity: 1;
|
|
106
|
+
// display:block;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.noEdit{
|
|
111
|
+
&:hover{
|
|
112
|
+
.tree_title{
|
|
113
|
+
width: 100%;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.zyBox{
|
|
2
|
+
background: #f3f3f3;
|
|
3
|
+
padding: 10px;
|
|
4
|
+
display:flex;
|
|
5
|
+
>div{
|
|
6
|
+
width: 50%;
|
|
7
|
+
background: #fff;
|
|
8
|
+
height: 245px;
|
|
9
|
+
}
|
|
10
|
+
.left{
|
|
11
|
+
margin-right: 10px;
|
|
12
|
+
position: relative;
|
|
13
|
+
.searchBox{
|
|
14
|
+
padding:5px;
|
|
15
|
+
}
|
|
16
|
+
.treeBox{
|
|
17
|
+
top: 40px;
|
|
18
|
+
bottom: 0;
|
|
19
|
+
overflow: auto;
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.right{
|
|
26
|
+
overflow: auto;
|
|
27
|
+
}
|
|
28
|
+
ul{
|
|
29
|
+
padding:10px;
|
|
30
|
+
li{
|
|
31
|
+
height: 25px;
|
|
32
|
+
margin-bottom: 5px;
|
|
33
|
+
display: flex;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
line-height: 25px;
|
|
36
|
+
div:nth-of-type(1){
|
|
37
|
+
border: 1px solid #efefef;
|
|
38
|
+
flex: 1;
|
|
39
|
+
color:#666666;
|
|
40
|
+
padding-left: 10px;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
}
|
|
45
|
+
div:nth-of-type(2){
|
|
46
|
+
width: 30px;
|
|
47
|
+
text-align:center;
|
|
48
|
+
color:#a5becf;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_cheng:(
|
|
4
|
+
color:#fb551b,
|
|
5
|
+
hover:#ff855b,
|
|
6
|
+
down:#ef480e,
|
|
7
|
+
active:#fb551b,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#fb551b,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#fb551b,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #fb551b, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#fb551b,
|
|
16
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/3.png")
|
|
17
|
+
);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
$themeColor_default:(
|
|
3
|
+
color:#1890ff,
|
|
4
|
+
hover:#60abff,
|
|
5
|
+
down:#096dd9,
|
|
6
|
+
active:#1890ff,
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
// 一级菜单选中颜色
|
|
10
|
+
sidebar_menu1_activeColor:#1f90ff,
|
|
11
|
+
// 二级菜单选中颜色
|
|
12
|
+
sidebar_menu2_activeColor:#1f90ff,
|
|
13
|
+
// 二级菜单选中背景颜色
|
|
14
|
+
sidebar_menu2_activeBgColor:rgba($color: #1f90ff, $alpha: 0.2),
|
|
15
|
+
// 二级菜单移入字体颜色
|
|
16
|
+
sidebar_menu2_hoverColor:#1890ff,
|
|
17
|
+
|
|
18
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/1.png")
|
|
19
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_hong:(
|
|
4
|
+
color:#f5222d,
|
|
5
|
+
hover:#ff5e66,
|
|
6
|
+
down:#cf1322,
|
|
7
|
+
active:#f5222d,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#f5222d,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#f5222d,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #f5222d, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#ff5e66,
|
|
16
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/2.png")
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_huang:(
|
|
4
|
+
color:#fa8c16,
|
|
5
|
+
hover:#ffb361,
|
|
6
|
+
down:#e17706,
|
|
7
|
+
active:#fa8c16,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#fa8c16,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#fa8c16,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #fa8c16, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#fa8c16,
|
|
16
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/4.png")
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_lv:(
|
|
4
|
+
color:#52c41a,
|
|
5
|
+
hover:#95de64,
|
|
6
|
+
down:#389e0d,
|
|
7
|
+
active:#52c41a,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#52c41a,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#52c41a,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #52c41a, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#52c41a,
|
|
16
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/6.png")
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_qing:(
|
|
4
|
+
color:#15c3c1,
|
|
5
|
+
hover:#5cdbd3,
|
|
6
|
+
down:#13a8a8,
|
|
7
|
+
active:#15c3c1,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#15c3c1,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#15c3c1,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #15c3c1, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#15c3c1,
|
|
16
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/5.png")
|
|
17
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_shenaln:(
|
|
4
|
+
color:#2f54eb,
|
|
5
|
+
hover:#597ef7,
|
|
6
|
+
down:#1d39c4,
|
|
7
|
+
active:#2f54eb,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#2f54eb,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#2f54eb,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #2f54eb, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#2f54eb,
|
|
16
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/7.png")
|
|
17
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
$themeColor_zi:(
|
|
4
|
+
color:#722ed1,
|
|
5
|
+
hover:#9254de,
|
|
6
|
+
down:#531dab,
|
|
7
|
+
active:#722ed1,
|
|
8
|
+
// 一级菜单选中颜色
|
|
9
|
+
sidebar_menu1_activeColor:#9e6ae6,
|
|
10
|
+
// 二级菜单选中颜色
|
|
11
|
+
sidebar_menu2_activeColor:#9e6ae6,
|
|
12
|
+
// 二级菜单选中背景颜色
|
|
13
|
+
sidebar_menu2_activeBgColor:rgba($color: #722ed1, $alpha: 0.2),
|
|
14
|
+
// 二级菜单移入背景颜色
|
|
15
|
+
sidebar_menu2_hoverColor:#9e6ae6,
|
|
16
|
+
sidebar_menu2_hoverBgColor:rgba($color: #722ed1, $alpha: 0.2),
|
|
17
|
+
button_activeImg:url("~gy-webcode2/img/btnActive/8.png")
|
|
18
|
+
);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
@import "./global.scss";
|
|
2
|
+
@import "./styles/default.scss";
|
|
3
|
+
@import "./styles/shenlan.scss";
|
|
4
|
+
@import "./styles/hailan.scss";
|
|
5
|
+
|
|
6
|
+
@import "./colors/default.scss";
|
|
7
|
+
@import "./colors/hong.scss";
|
|
8
|
+
@import "./colors/cheng.scss";
|
|
9
|
+
@import "./colors/huang.scss";
|
|
10
|
+
@import "./colors/qing.scss";
|
|
11
|
+
@import "./colors/lv.scss";
|
|
12
|
+
@import "./colors/shenaln.scss";
|
|
13
|
+
@import "./colors/zi.scss";
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
$themes:(
|
|
19
|
+
default:$theme_default,
|
|
20
|
+
shenlan:$theme_shenlan,
|
|
21
|
+
hailan:$theme_hailan
|
|
22
|
+
);
|
|
23
|
+
$themeColors:(
|
|
24
|
+
lan:$themeColor_default,
|
|
25
|
+
hong:$themeColor_hong,
|
|
26
|
+
cheng:$themeColor_cheng,
|
|
27
|
+
huang:$themeColor_huang,
|
|
28
|
+
qing:$themeColor_qing,
|
|
29
|
+
lv:$themeColor_lv,
|
|
30
|
+
shenaln:$themeColor_shenaln,
|
|
31
|
+
zi:$themeColor_zi
|
|
32
|
+
|
|
33
|
+
);
|
|
34
|
+
@mixin themeMixin {
|
|
35
|
+
@each $theme-name, $theme-map in $themes {
|
|
36
|
+
//!global 把局部变量强升为全局变量
|
|
37
|
+
$theme-map: $theme-map !global;
|
|
38
|
+
[data-theme="#{$theme-name}"] & {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@mixin themeColorMixin {
|
|
46
|
+
@each $theme-name, $theme-map in $themeColors {
|
|
47
|
+
//!global 把局部变量强升为全局变量
|
|
48
|
+
$theme-map: $theme-map !global;
|
|
49
|
+
[data-theme-color="#{$theme-name}"] & {
|
|
50
|
+
@content;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
//根据Key获取颜色的function
|
|
57
|
+
@function themed($key) {
|
|
58
|
+
@return map-get($theme-map, $key);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@mixin theme($key, $colorName: $key) {
|
|
62
|
+
@include themeMixin {
|
|
63
|
+
// #{$key}: #{$key};
|
|
64
|
+
#{$key}: themed($colorName);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@mixin themeColor($key, $colorName: $key,$opacity:null) {
|
|
69
|
+
@include themeColorMixin {
|
|
70
|
+
// #{$key}: #{$key};
|
|
71
|
+
@if($opacity == null){
|
|
72
|
+
#{$key}: themed($colorName);
|
|
73
|
+
}
|
|
74
|
+
@else {
|
|
75
|
+
#{$key}: rgba(themed($colorName),$opacity);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|