gy-webcode2 1.0.10 → 1.0.11
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/css/modules/table.scss +5 -1
- package/css/modules/tags.scss +8 -0
- package/package.json +1 -1
- package/scripts/watermark.js +1 -1
package/css/modules/table.scss
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
padding: 7px 0 !important;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
|
|
36
37
|
}
|
|
37
38
|
.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{
|
|
38
39
|
@include themeColor("background-color",'hover',0.1)
|
|
@@ -74,10 +75,13 @@
|
|
|
74
75
|
bottom: -1px;
|
|
75
76
|
}
|
|
76
77
|
&.gutter .el-table th.gutter{
|
|
77
|
-
background: #
|
|
78
|
+
background: #fafafa;
|
|
78
79
|
display: table-cell!important;
|
|
79
80
|
}
|
|
80
81
|
|
|
82
|
+
.el-table__fixed-right-patch{
|
|
83
|
+
background: #fafafa;
|
|
84
|
+
}
|
|
81
85
|
.tr_error{
|
|
82
86
|
background: #fff0f0;
|
|
83
87
|
}
|
package/css/modules/tags.scss
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
&.hong{
|
|
36
36
|
background: #ff4d50;
|
|
37
37
|
border-color: #ff4d50;
|
|
38
|
+
color: #fff;
|
|
38
39
|
}
|
|
39
40
|
&.hong2{
|
|
40
41
|
background: #fff0f0;
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
&.lan3{
|
|
74
75
|
background: #353688;
|
|
75
76
|
border-color: #353688;
|
|
77
|
+
color: #fff;
|
|
76
78
|
}
|
|
77
79
|
&.lan4{
|
|
78
80
|
background: #f1f1f9;
|
|
@@ -86,6 +88,7 @@
|
|
|
86
88
|
&.lan5{
|
|
87
89
|
background: #155bd5;
|
|
88
90
|
border-color: #155bd5;
|
|
91
|
+
color: #fff;
|
|
89
92
|
}
|
|
90
93
|
&.lan6{
|
|
91
94
|
background: #edf3ff;
|
|
@@ -99,6 +102,7 @@
|
|
|
99
102
|
&.lv{
|
|
100
103
|
background: #4fc519;
|
|
101
104
|
border-color: #4fc519;
|
|
105
|
+
color: #fff;
|
|
102
106
|
}
|
|
103
107
|
&.lv2{
|
|
104
108
|
border-color: #f8ffed;
|
|
@@ -112,6 +116,7 @@
|
|
|
112
116
|
&.huang{
|
|
113
117
|
background: #fbad15;
|
|
114
118
|
border-color: #fbad15;
|
|
119
|
+
color: #fff;
|
|
115
120
|
}
|
|
116
121
|
&.huang2{
|
|
117
122
|
background: #fefbe8;
|
|
@@ -125,6 +130,7 @@
|
|
|
125
130
|
&.cheng{
|
|
126
131
|
background: #eb6a0c;
|
|
127
132
|
border-color: #eb6a0c;
|
|
133
|
+
color: #fff;
|
|
128
134
|
}
|
|
129
135
|
&.cheng2{
|
|
130
136
|
background: #fff4f1;
|
|
@@ -138,6 +144,7 @@
|
|
|
138
144
|
&.zi{
|
|
139
145
|
background: #893fd4;
|
|
140
146
|
border-color: #893fd4;
|
|
147
|
+
color: #fff;
|
|
141
148
|
}
|
|
142
149
|
&.zi2{
|
|
143
150
|
background: #faeffd;
|
|
@@ -151,6 +158,7 @@
|
|
|
151
158
|
&.fen{
|
|
152
159
|
background: #d42a8d;
|
|
153
160
|
border-color: #d42a8d;
|
|
161
|
+
color: #fff;
|
|
154
162
|
}
|
|
155
163
|
|
|
156
164
|
&.fen2{
|
package/package.json
CHANGED
package/scripts/watermark.js
CHANGED
|
@@ -17,7 +17,7 @@ export default function({text="",color="rgba(0,0,0,0.07)",width=300,height=300})
|
|
|
17
17
|
ctx.fillStyle = color;
|
|
18
18
|
|
|
19
19
|
ctx.rotate(-25*Math.PI/180);
|
|
20
|
-
ctx.fillText(`(${text}
|
|
20
|
+
ctx.fillText(`(${text}`, 50, 80);
|
|
21
21
|
// ctx.rotate(30*Math.PI/180);
|
|
22
22
|
let img = cw.toDataURL("image/webp");
|
|
23
23
|
// console.log(a);
|