sh-chart 2.1.7 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sh-chart",
3
- "version": "2.1.7",
3
+ "version": "2.2.0",
4
4
  "description": "基于echart二次封装",
5
5
  "main": "packages/index.js",
6
6
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "license": "ISC",
14
14
  "dependencies": {
15
15
  "echarts": "^5.4.3",
16
- "sh-tools": "^2.1.7"
16
+ "sh-tools": "^2.2.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.12.16",
@@ -214,6 +214,8 @@ export default {
214
214
 
215
215
  <style lang="scss" scoped>
216
216
  .sh-screen-header1 {
217
+ position: relative;
218
+ overflow: hidden;
217
219
  .sh-screen-header-content {
218
220
  position: absolute;
219
221
  width: 100%;
@@ -210,6 +210,8 @@ export default {
210
210
 
211
211
  <style lang="scss" scoped>
212
212
  .sh-screen-header2 {
213
+ position: relative;
214
+ overflow: hidden;
213
215
  .st0 {
214
216
  fill: none;
215
217
  stroke-linecap: round;
@@ -350,6 +350,8 @@ export default {
350
350
 
351
351
  <style lang="scss" scoped>
352
352
  .sh-screen-header3 {
353
+ position: relative;
354
+ overflow: hidden;
353
355
  .st0 {
354
356
  fill: url(#sh_screen_header3_svg_1_);
355
357
  }
@@ -448,6 +448,8 @@ export default {
448
448
 
449
449
  <style lang="scss" scoped>
450
450
  .sh-screen-header4 {
451
+ position: relative;
452
+ overflow: hidden;
451
453
  .st0 {
452
454
  opacity: 0.2;
453
455
  }
@@ -230,6 +230,8 @@ export default {
230
230
 
231
231
  <style lang="scss" scoped>
232
232
  .sh-screen-header5 {
233
+ position: relative;
234
+ overflow: hidden;
233
235
  .st0 {
234
236
  fill: url(#sh_screen_header5_svg_1_);
235
237
  }
@@ -154,6 +154,8 @@ export default {
154
154
 
155
155
  <style lang="scss" scoped>
156
156
  .sh-screen-header6 {
157
+ position: relative;
158
+ overflow: hidden;
157
159
  .st0 {
158
160
  fill: url(#sh_screen_header6_svg_1_);
159
161
  }