gy-webcode2 1.2.1 → 2.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/breadcrumb.vue +14 -9
- package/css/common.scss +13 -13
- package/css/layout.scss +132 -65
- package/css/login.scss +6 -6
- package/css/modules/common.scss +5 -5
- package/css/modules/header.scss +24 -13
- package/css/modules/sidebar.scss +103 -27
- package/css/modules/table.scss +30 -28
- package/css/modules/tabs.scss +63 -8
- package/css/theme/colors/cheng.scss +3 -2
- package/css/theme/colors/default.scss +7 -5
- package/css/theme/colors/hong.scss +4 -3
- package/css/theme/colors/huang.scss +2 -1
- package/css/theme/colors/lv.scss +2 -1
- package/css/theme/colors/qing.scss +2 -1
- package/css/theme/colors/shenaln.scss +4 -3
- package/css/theme/colors/zi.scss +2 -1
- package/css/theme/global.scss +13 -1
- package/css/theme/styles/default.scss +8 -4
- package/css/theme/styles/hailan.scss +5 -2
- package/css/theme/styles/shenlan.scss +8 -3
- package/css/theme/theme.scss +23 -17
- package/index.js +10 -1
- package/package.json +1 -1
|
@@ -6,6 +6,9 @@ $theme_hailan : (
|
|
|
6
6
|
sidebar_bgColor:#ffffff,
|
|
7
7
|
// 字体颜色
|
|
8
8
|
sidebar_color:#262626,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
//高亮背景色
|
|
10
|
+
sidebar_children_activeBgColor:#fff,
|
|
11
|
+
sidebar_children_activeColor:#1890ff,
|
|
12
|
+
wrapper_bgColor:#003a8c,
|
|
13
|
+
wrapper_bgColor2:#F1F6FC,
|
|
11
14
|
);
|
|
@@ -5,7 +5,12 @@ $theme_shenlan : (
|
|
|
5
5
|
// 背景
|
|
6
6
|
sidebar_bgColor:#ffffff,
|
|
7
7
|
// 字体颜色
|
|
8
|
-
sidebar_color:#
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
sidebar_color:#fff,
|
|
9
|
+
|
|
10
|
+
//高亮背景色
|
|
11
|
+
sidebar_children_activeBgColor:#233867,
|
|
12
|
+
sidebar_children_activeColor:#1890ff,
|
|
13
|
+
|
|
14
|
+
wrapper_bgColor:#0A1225,
|
|
15
|
+
wrapper_bgColor2:#192540,
|
|
11
16
|
);
|
package/css/theme/theme.scss
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
1
|
+
@import "global";
|
|
2
|
+
@import "styles/default";
|
|
3
|
+
@import "styles/shenlan";
|
|
4
|
+
@import "styles/hailan";
|
|
5
5
|
|
|
6
|
-
@import "
|
|
7
|
-
@import "
|
|
8
|
-
@import "
|
|
9
|
-
@import "
|
|
10
|
-
@import "
|
|
11
|
-
@import "
|
|
12
|
-
@import "
|
|
13
|
-
@import "
|
|
6
|
+
@import "colors/default";
|
|
7
|
+
@import "colors/hong";
|
|
8
|
+
@import "colors/cheng";
|
|
9
|
+
@import "colors/huang";
|
|
10
|
+
@import "colors/qing";
|
|
11
|
+
@import "colors/lv";
|
|
12
|
+
@import "colors/shenaln";
|
|
13
|
+
@import "colors/zi";
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -35,7 +35,7 @@ $themeColors:(
|
|
|
35
35
|
@each $theme-name, $theme-map in $themes {
|
|
36
36
|
//!global 把局部变量强升为全局变量
|
|
37
37
|
$theme-map: $theme-map !global;
|
|
38
|
-
[data-theme="#{$theme-name}"] & {
|
|
38
|
+
[data-theme="#{$theme-name}"] & {
|
|
39
39
|
@content;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ $themeColors:(
|
|
|
46
46
|
@each $theme-name, $theme-map in $themeColors {
|
|
47
47
|
//!global 把局部变量强升为全局变量
|
|
48
48
|
$theme-map: $theme-map !global;
|
|
49
|
-
[data-theme-color="#{$theme-name}"] & {
|
|
49
|
+
[data-theme-color="#{$theme-name}"] & {
|
|
50
50
|
@content;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -58,10 +58,16 @@ $themeColors:(
|
|
|
58
58
|
@return map-get($theme-map, $key);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
@mixin theme($key, $colorName: $key) {
|
|
61
|
+
@mixin theme($key, $colorName: $key,$opacity:null) {
|
|
62
62
|
@include themeMixin {
|
|
63
63
|
// #{$key}: #{$key};
|
|
64
|
-
|
|
64
|
+
|
|
65
|
+
@if($opacity == null){
|
|
66
|
+
#{$key}: themed($colorName);
|
|
67
|
+
}
|
|
68
|
+
@else {
|
|
69
|
+
#{$key}: rgba(themed($colorName),$opacity);
|
|
70
|
+
}
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
73
|
|
|
@@ -75,4 +81,4 @@ $themeColors:(
|
|
|
75
81
|
#{$key}: rgba(themed($colorName),$opacity);
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
|
-
}
|
|
84
|
+
}
|
package/index.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
// npm publish 发布
|
|
2
2
|
// npm adduser 登录
|
|
3
3
|
// npm login 登录
|
|
4
|
+
// 添加镜像
|
|
5
|
+
//npm config set registry https://registry.npmmirror.com
|
|
6
|
+
// 删除镜像
|
|
7
|
+
// npm config delete registry
|
|
8
|
+
// 查看镜像
|
|
9
|
+
// npm config get registry
|
|
10
|
+
// 清除缓存
|
|
11
|
+
// npm cache verify
|
|
4
12
|
|
|
5
13
|
// 版本号 x.y.z :
|
|
6
14
|
//其中z 表示一些小的bugfix, 更改z的号,
|
|
@@ -14,6 +22,7 @@
|
|
|
14
22
|
// https://registry.npmjs.org/gy-webcode2
|
|
15
23
|
|
|
16
24
|
// 1.2.0 breadcrumb 使用store的menuPath了
|
|
25
|
+
// 2.0.0 全新UI改版
|
|
17
26
|
module.exports = {
|
|
18
|
-
version :'
|
|
27
|
+
version :'2.0.0',
|
|
19
28
|
}
|