sh-chart 1.5.2
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/.eslintrc.js +21 -0
- package/README.en.md +36 -0
- package/README.md +39 -0
- package/package.json +42 -0
- package/packages/components/global-components/mixin/autoResize.js +152 -0
- package/packages/components/global-components/sh-border/components/border1.vue +70 -0
- package/packages/components/global-components/sh-border/components/border10.vue +54 -0
- package/packages/components/global-components/sh-border/components/border11.vue +207 -0
- package/packages/components/global-components/sh-border/components/border12.vue +112 -0
- package/packages/components/global-components/sh-border/components/border13.vue +50 -0
- package/packages/components/global-components/sh-border/components/border2.vue +50 -0
- package/packages/components/global-components/sh-border/components/border3.vue +53 -0
- package/packages/components/global-components/sh-border/components/border4.vue +95 -0
- package/packages/components/global-components/sh-border/components/border5.vue +64 -0
- package/packages/components/global-components/sh-border/components/border6.vue +60 -0
- package/packages/components/global-components/sh-border/components/border7.vue +57 -0
- package/packages/components/global-components/sh-border/components/border8.vue +75 -0
- package/packages/components/global-components/sh-border/components/border9.vue +92 -0
- package/packages/components/global-components/sh-border/index.vue +73 -0
- package/packages/components/global-components/sh-border/mixin/border.js +62 -0
- package/packages/components/global-components/sh-charts/config/config.js +58 -0
- package/packages/components/global-components/sh-charts/index.vue +169 -0
- package/packages/components/global-components/sh-decoration/components/decoration1.vue +81 -0
- package/packages/components/global-components/sh-decoration/components/decoration10.vue +80 -0
- package/packages/components/global-components/sh-decoration/components/decoration11.vue +63 -0
- package/packages/components/global-components/sh-decoration/components/decoration12.vue +171 -0
- package/packages/components/global-components/sh-decoration/components/decoration2.vue +78 -0
- package/packages/components/global-components/sh-decoration/components/decoration3.vue +65 -0
- package/packages/components/global-components/sh-decoration/components/decoration4.vue +72 -0
- package/packages/components/global-components/sh-decoration/components/decoration5.vue +96 -0
- package/packages/components/global-components/sh-decoration/components/decoration6.vue +84 -0
- package/packages/components/global-components/sh-decoration/components/decoration7.vue +31 -0
- package/packages/components/global-components/sh-decoration/components/decoration8.vue +32 -0
- package/packages/components/global-components/sh-decoration/components/decoration9.vue +63 -0
- package/packages/components/global-components/sh-decoration/index.vue +71 -0
- package/packages/components/global-components/sh-decoration/mixin/decoration.js +69 -0
- package/packages/components/global-components/sh-screen-header/components/header1.vue +228 -0
- package/packages/components/global-components/sh-screen-header/components/header2.vue +285 -0
- package/packages/components/global-components/sh-screen-header/components/header3.vue +452 -0
- package/packages/components/global-components/sh-screen-header/components/header4.vue +544 -0
- package/packages/components/global-components/sh-screen-header/components/header5.vue +291 -0
- package/packages/components/global-components/sh-screen-header/components/header6.vue +206 -0
- package/packages/components/global-components/sh-screen-header/index.vue +50 -0
- package/packages/components/global-components/sh-screen-header/mixin/header.js +62 -0
- package/packages/components/global-components/sh-spin/index.vue +44 -0
- package/packages/components/index.js +24 -0
- package/packages/echarts/index.js +94 -0
- package/packages/echarts/map/110000.json +1 -0
- package/packages/echarts/map/120000.json +1 -0
- package/packages/echarts/map/130000.json +1 -0
- package/packages/echarts/map/140000.json +1 -0
- package/packages/echarts/map/150000.json +1 -0
- package/packages/echarts/map/210000.json +1 -0
- package/packages/echarts/map/220000.json +1 -0
- package/packages/echarts/map/230000.json +1 -0
- package/packages/echarts/map/310000.json +1 -0
- package/packages/echarts/map/320000.json +1 -0
- package/packages/echarts/map/330000.json +1 -0
- package/packages/echarts/map/340000.json +1 -0
- package/packages/echarts/map/350000.json +1 -0
- package/packages/echarts/map/360000.json +1 -0
- package/packages/echarts/map/370000.json +1 -0
- package/packages/echarts/map/410000.json +1 -0
- package/packages/echarts/map/420000.json +1 -0
- package/packages/echarts/map/430000.json +1 -0
- package/packages/echarts/map/440000.json +1 -0
- package/packages/echarts/map/450000.json +1 -0
- package/packages/echarts/map/460000.json +1 -0
- package/packages/echarts/map/500000.json +1 -0
- package/packages/echarts/map/510000.json +1 -0
- package/packages/echarts/map/520000.json +1 -0
- package/packages/echarts/map/530000.json +1 -0
- package/packages/echarts/map/540000.json +1 -0
- package/packages/echarts/map/610000.json +1 -0
- package/packages/echarts/map/620000.json +1 -0
- package/packages/echarts/map/630000.json +1 -0
- package/packages/echarts/map/640000.json +1 -0
- package/packages/echarts/map/650000.json +1 -0
- package/packages/echarts/map/710000.json +1 -0
- package/packages/echarts/map/china.json +1 -0
- package/packages/echarts/theme/dark.js +128 -0
- package/packages/echarts/theme/infographic.js +181 -0
- package/packages/echarts/theme/macarons.js +194 -0
- package/packages/echarts/theme/roma.js +66 -0
- package/packages/echarts/theme/shine.js +136 -0
- package/packages/echarts/theme/vintage.js +11 -0
- package/packages/index.js +31 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<component :is="decorationName" class="sh-decoration" v-bind="$props">
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</component>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import decoration1 from './components/decoration1'
|
|
9
|
+
import decoration2 from './components/decoration2'
|
|
10
|
+
import decoration3 from './components/decoration3'
|
|
11
|
+
import decoration4 from './components/decoration4'
|
|
12
|
+
import decoration5 from './components/decoration5'
|
|
13
|
+
import decoration6 from './components/decoration6'
|
|
14
|
+
import decoration7 from './components/decoration7'
|
|
15
|
+
import decoration8 from './components/decoration8'
|
|
16
|
+
import decoration9 from './components/decoration9'
|
|
17
|
+
import decoration10 from './components/decoration10'
|
|
18
|
+
import decoration11 from './components/decoration11'
|
|
19
|
+
import decoration12 from './components/decoration12'
|
|
20
|
+
export default {
|
|
21
|
+
name: 'ShDecoration',
|
|
22
|
+
components: {
|
|
23
|
+
decoration1,
|
|
24
|
+
decoration2,
|
|
25
|
+
decoration3,
|
|
26
|
+
decoration4,
|
|
27
|
+
decoration5,
|
|
28
|
+
decoration6,
|
|
29
|
+
decoration7,
|
|
30
|
+
decoration8,
|
|
31
|
+
decoration9,
|
|
32
|
+
decoration10,
|
|
33
|
+
decoration11,
|
|
34
|
+
decoration12
|
|
35
|
+
},
|
|
36
|
+
props: {
|
|
37
|
+
type: {
|
|
38
|
+
type: [String, Number],
|
|
39
|
+
default: '1'
|
|
40
|
+
},
|
|
41
|
+
color: {
|
|
42
|
+
type: Array,
|
|
43
|
+
default() {
|
|
44
|
+
return []
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
backgroundColor: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: 'transparent'
|
|
50
|
+
},
|
|
51
|
+
dur: {
|
|
52
|
+
type: Number,
|
|
53
|
+
default: 3
|
|
54
|
+
},
|
|
55
|
+
reverse: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: false
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
computed: {
|
|
61
|
+
decorationType() {
|
|
62
|
+
return +this.type > 0 && +this.type < 13 ? this.type : 1
|
|
63
|
+
},
|
|
64
|
+
decorationName() {
|
|
65
|
+
return `decoration${this.decorationType}`
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
</script>
|
|
70
|
+
|
|
71
|
+
<style lang="scss" scoped></style>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import autoResize from '../../mixin/autoResize'
|
|
2
|
+
export default {
|
|
3
|
+
mixins: [autoResize],
|
|
4
|
+
props: {
|
|
5
|
+
type: {
|
|
6
|
+
type: [String, Number],
|
|
7
|
+
default: '1'
|
|
8
|
+
},
|
|
9
|
+
color: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default() {
|
|
12
|
+
return []
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
backgroundColor: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: 'transparent'
|
|
18
|
+
},
|
|
19
|
+
dur: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 3
|
|
22
|
+
},
|
|
23
|
+
reverse: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
data() {
|
|
29
|
+
return {
|
|
30
|
+
defaultColors: [
|
|
31
|
+
['#fff', '#0de7c2'],
|
|
32
|
+
['#3faacb', '#fff'],
|
|
33
|
+
['#7acaec', 'transparent'],
|
|
34
|
+
['rgba(255, 255, 255, 0.3)', 'rgba(255, 255, 255, 0.3)'],
|
|
35
|
+
['#3f96a5', '#3f96a5'],
|
|
36
|
+
['#7acaec', '#7acaec'],
|
|
37
|
+
['#1dc1f5', '#1dc1f5'],
|
|
38
|
+
['#3f96a5', '#3f96a5'],
|
|
39
|
+
['rgba(3, 166, 224, 0.8)', 'rgba(3, 166, 224, 0.5)'],
|
|
40
|
+
['#00c2ff', 'rgba(0, 194, 255, 0.3)'],
|
|
41
|
+
['#1a98fc', '#2cf7fe'],
|
|
42
|
+
['#2783ce', '#2cf7fe']
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
computed: {
|
|
47
|
+
ref() {
|
|
48
|
+
return `sh-decoration-${this.type}`
|
|
49
|
+
},
|
|
50
|
+
decorationId() {
|
|
51
|
+
return this.uuid()
|
|
52
|
+
},
|
|
53
|
+
mergedColor() {
|
|
54
|
+
let defaultColor = this.defaultColors[this.type - 1]
|
|
55
|
+
return this.deepMerge(defaultColor, this.color)
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
methods: {
|
|
59
|
+
afterAutoResizeMixinInit() {
|
|
60
|
+
const { calcSVGData } = this
|
|
61
|
+
calcSVGData && calcSVGData()
|
|
62
|
+
},
|
|
63
|
+
onResize() {
|
|
64
|
+
const { calcSVGData } = this
|
|
65
|
+
calcSVGData && calcSVGData()
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
mounted() {}
|
|
69
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div v-resize="resize" class="sh-screen-header sh-screen-header1" :style="{ width: width, height: height }">
|
|
3
|
+
<svg width="1920px" height="147px" :style="svgStyle">
|
|
4
|
+
<path opacity="0.1" d="M1184.9,145.2H735.3c-1.7,0-3-1.4-3-3v-29.4c0-1.7,1.3-3,3-3h449.6c1.7,0,3,1.3,3,3v29.4 C1187.9,143.9,1186.5,145.2,1184.9,145.2z" />
|
|
5
|
+
<path
|
|
6
|
+
:fill="color"
|
|
7
|
+
d="M9,4.9v22.8h175.5l22.1-22.8H9z M132.3,25.7h-4.9l3.3-3.4h4.9L132.3,25.7z M136.6,25.7l6.2-6.4h4.9l-6.2,6.4 H136.6z M145.8,25.7l9-9.3h4.9l-9,9.3H145.8z M154.6,25.7l12.6-12.9h4.9l-12.6,12.9H154.6z M163.9,25.7L179,10.1h4.9l-15.1,15.6 H163.9z M177.9,25.7H173L191.1,7h4.9L177.9,25.7z" />
|
|
8
|
+
<polygon :fill="color" points="6,4.9 9,4.9 9,27.7 4.1,27.7" />
|
|
9
|
+
<rect x="3" y="4.9" :fill="color" width="6" height="57" />
|
|
10
|
+
<polygon :fill="color" points="491.6,44.2 273.8,44.2 251.8,22.2 206.5,22.2 192.9,35.9 4.8,35.9 4.8,34.9 192.4,34.9 206.1,21.2 252.2,21.2 274.2,43.2 491.6,43.2" />
|
|
11
|
+
<path :fill="color" d="M154.5,42.6H6.8c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5h147.8c0.3,0,0.5,0.2,0.5,0.5S154.8,42.6,154.5,42.6z" />
|
|
12
|
+
<path
|
|
13
|
+
:fill="color"
|
|
14
|
+
d="M713.7,126.5c-0.1,0-0.3,0-0.4-0.1l-57.7-57.7H393l-8.8,8.8H267.5l-25.9-25.9H6c-0.3,0-0.5-0.2-0.5-0.5 s0.2-0.5,0.5-0.5h236.1L268,76.4h115.8l8.8-8.8h263.5l58,58c0.2,0.2,0.2,0.5,0,0.7C714,126.4,713.8,126.5,713.7,126.5z" />
|
|
15
|
+
<polygon opacity="0.6" :fill="color" points="252.3,61.8 4.8,61.8 5.5,53.2 243.8,53.2" />
|
|
16
|
+
<polygon opacity="0.8" :fill="color" points="580.7,68 628.5,68 688.9,7.6 641,7.6" />
|
|
17
|
+
<polygon opacity="0.5" :fill="color" points="310.6,28.8 594.1,28.8 612,10.8 328.5,10.8" />
|
|
18
|
+
<path :fill="color" d="M687.4,116.1c-0.1,0-0.3,0-0.4-0.1l-47.8-47.8c-0.2-0.2-0.2-0.5,0-0.7s0.5-0.2,0.7,0l47.8,47.8 c0.2,0.2,0.2,0.5,0,0.7C687.6,116,687.5,116.1,687.4,116.1z" />
|
|
19
|
+
<path :fill="color" d="M669.3,82.6c-0.4,0-0.8-0.1-1.1-0.4l-12.7-12.7h-19.8c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h21l13.6,13.6 c0.6,0.6,0.6,1.5,0,2.1C670.1,82.5,669.7,82.6,669.3,82.6z" />
|
|
20
|
+
<path :fill="color" d="M612.6,11.3H216c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5h396.6c0.3,0,0.5,0.2,0.5,0.5S612.8,11.3,612.6,11.3z " />
|
|
21
|
+
|
|
22
|
+
<polygon :fill="color" points="575.7,49.8 571.3,49.9 615.2,6 803.8,6 803.8,9 616.4,9" />
|
|
23
|
+
<polygon :fill="color" points="544.4,49.8 574.9,49.8 613.5,11.2 582.9,11.2" />
|
|
24
|
+
<polygon :fill="color" points="787.2,13.5 753.2,13.5 745.7,6 779.7,6" />
|
|
25
|
+
<polygon :fill="color" points="814.5,15.7 788,15.7 778.3,6 804.9,6" />
|
|
26
|
+
<polygon opacity="0.7" :fill="color" points="859.4,12 827.5,12 815.8,0.3 847.7,0.3" />
|
|
27
|
+
<polygon :fill="color" points="1052.9,17.7 865.4,17.7 853.7,6 1065.3,6" />
|
|
28
|
+
<polygon opacity="0.2" :fill="color" points="802,0.3 1119.3,0.3 1125.3,6.3 795.6,6.3" />
|
|
29
|
+
<polygon opacity="0.7" :fill="color" points="1058.7,12 1090.6,12 1102.3,0.3 1070.4,0.3" />
|
|
30
|
+
<polygon opacity="0.25" :fill="color" points="432.2,37.3 557.2,37.3 562.9,31.6 437.9,31.6" />
|
|
31
|
+
<polygon opacity="0.25" :fill="color" points="1486.9,37.3 1361.8,37.3 1356.1,31.6 1481.2,31.6" />
|
|
32
|
+
<path :fill="color" d="M332.6,45.2h-59.2l-13.6-13.6c-0.6-0.6-0.6-1.5,0-2.1c0.6-0.6,1.5-0.6,2.1,0l12.7,12.7h58 c0.8,0,1.5,0.7,1.5,1.5S333.5,45.2,332.6,45.2z">
|
|
33
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.2" begin="0.4" repeatCount="indefinite"></animate>
|
|
34
|
+
</path>
|
|
35
|
+
<path
|
|
36
|
+
:fill="color"
|
|
37
|
+
d="M1713.4,4.9l22.1,22.8H1911V4.9H1713.4z M1742.1,25.7L1724,7h4.9l18.1,18.7H1742.1z M1751.2,25.7l-15.1-15.6 h4.9l15.1,15.6H1751.2z M1760.6,25.7L1748,12.7h4.9l12.6,12.9H1760.6z M1769.4,25.7l-9-9.3h4.9l9,9.3H1769.4z M1778.6,25.7 l-6.2-6.4h4.9l6.2,6.4H1778.6z M1787.7,25.7l-3.3-3.4h4.9l3.3,3.4H1787.7z" />
|
|
38
|
+
<polygon :fill="color" points="1915.9,27.7 1911,27.7 1911,4.9 1914,4.9" />
|
|
39
|
+
<rect x="1911" y="4.9" :fill="color" width="6" height="57" />
|
|
40
|
+
<polygon :fill="color" points="1646.2,44.2 1428.4,44.2 1428.4,43.2 1645.8,43.2 1667.8,21.2 1713.9,21.2 1727.6,34.9 1915.2,34.9 1915.2,35.9 1727.1,35.9 1713.5,22.2 1668.2,22.2" />
|
|
41
|
+
<path :fill="color" d="M1913.3,42.6h-147.8c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5h147.8c0.3,0,0.5,0.2,0.5,0.5 S1913.5,42.6,1913.3,42.6z" />
|
|
42
|
+
<path
|
|
43
|
+
:fill="color"
|
|
44
|
+
d="M1206.3,126.5c-0.1,0-0.3,0-0.4-0.1c-0.2-0.2-0.2-0.5,0-0.7l58-58h263.5l8.8,8.8H1652l25.9-25.9H1914 c0.3,0,0.5,0.2,0.5,0.5s-0.2,0.5-0.5,0.5h-235.7l-25.9,25.9h-116.7l-8.8-8.8h-262.6l-57.7,57.7 C1206.5,126.4,1206.4,126.5,1206.3,126.5z" />
|
|
45
|
+
<polygon :fill="color" points="1667.7,61.8 1915.3,61.8 1914.5,53.2 1676.3,53.2" />
|
|
46
|
+
<polygon :fill="color" points="1339.3,68 1291.5,68 1231.1,7.6 1279,7.6" />
|
|
47
|
+
<polygon opacity="0.4" :fill="color" points="1609.4,28.8 1325.9,28.8 1308,10.8 1591.5,10.8" />
|
|
48
|
+
<path :fill="color" d="M1232.6,116.1c-0.1,0-0.3,0-0.4-0.1c-0.2-0.2-0.2-0.5,0-0.7l47.8-47.8c0.2-0.2,0.5-0.2,0.7,0s0.2,0.5,0,0.7 l-47.8,47.8C1232.9,116,1232.8,116.1,1232.6,116.1z" />
|
|
49
|
+
<path
|
|
50
|
+
:fill="color"
|
|
51
|
+
d="M1250.7,82.6c-0.4,0-0.8-0.1-1.1-0.4c-0.6-0.6-0.6-1.5,0-2.1l13.6-13.6h21c0.8,0,1.5,0.7,1.5,1.5 s-0.7,1.5-1.5,1.5h-19.8l-12.7,12.7C1251.5,82.5,1251.1,82.6,1250.7,82.6z" />
|
|
52
|
+
<path :fill="color" d="M1704,11.3h-396.6c-0.3,0-0.5-0.2-0.5-0.5s0.2-0.5,0.5-0.5H1704c0.3,0,0.5,0.2,0.5,0.5S1704.3,11.3,1704,11.3z" />
|
|
53
|
+
<polygon :fill="color" points="1344.3,49.8 1303.6,9 1116.2,9 1116.2,6 1304.8,6 1346.5,47.7" />
|
|
54
|
+
<polygon :fill="color" points="1374.8,49.8 1344.3,49.8 1305.9,11.3 1336.4,11.3" />
|
|
55
|
+
<polygon :fill="color" points="1132.8,13.5 1166.8,13.5 1174.3,6 1140.3,6" />
|
|
56
|
+
<polygon :fill="color" points="1105.5,15.7 1132,15.7 1141.7,6 1115.1,6" />
|
|
57
|
+
<path :fill="color" d="M1646.6,45.2h-59.2c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h58l12.7-12.7c0.6-0.6,1.5-0.6,2.1,0 c0.6,0.6,0.6,1.5,0,2.1L1646.6,45.2z">
|
|
58
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.2" begin="0.4" repeatCount="indefinite"></animate>
|
|
59
|
+
</path>
|
|
60
|
+
<rect x="727.7" y="117.8" class="st1" opacity="0.3" :fill="color" width="3.8" height="20.2" />
|
|
61
|
+
<rect x="1188.3" y="117.8" opacity="0.3" :fill="color" width="3.8" height="20.2" />
|
|
62
|
+
<path :fill="color" d="M734.6,111.2h6.6v-3h-6.6c-2.5,0-4.5,2-4.5,4.5v29.4c0,2.5,2,4.5,4.5,4.5h6.6v-3h-6.6c-0.8,0-1.5-0.7-1.5-1.5 v-29.4C733.1,111.9,733.8,111.2,734.6,111.2z" />
|
|
63
|
+
<path :fill="color" d="M1186.8,112.7v29.4c0,0.8-0.7,1.5-1.5,1.5h-6.6v3h6.6c2.5,0,4.5-2,4.5-4.5v-29.4c0-2.5-2-4.5-4.5-4.5h-6.6v3 h6.6C1186.2,111.2,1186.8,111.9,1186.8,112.7z" />
|
|
64
|
+
<polygon :fill="color" points="529.3,94.2 511.5,94.2 489,71.7 506.8,71.7">
|
|
65
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="1.0" repeatCount="indefinite"></animate>
|
|
66
|
+
</polygon>
|
|
67
|
+
<polygon :fill="color" points="555,94.2 537.2,94.2 514.7,71.7 532.5,71.7">
|
|
68
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.8" repeatCount="indefinite"></animate>
|
|
69
|
+
</polygon>
|
|
70
|
+
<polygon :fill="color" points="579.4,94.2 561.5,94.2 539.1,71.7 556.9,71.7">
|
|
71
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.6" repeatCount="indefinite"></animate>
|
|
72
|
+
</polygon>
|
|
73
|
+
<polygon :fill="color" points="605,94.2 587.2,94.2 564.8,71.7 582.6,71.7">
|
|
74
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.4" repeatCount="indefinite"></animate>
|
|
75
|
+
</polygon>
|
|
76
|
+
<polygon :fill="color" points="629,94.2 611.2,94.2 588.8,71.7 606.6,71.7">
|
|
77
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.2" repeatCount="indefinite"></animate>
|
|
78
|
+
</polygon>
|
|
79
|
+
<polygon points="654.7,94.2 636.9,94.2 614.5,71.7 632.3,71.7">
|
|
80
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.1" repeatCount="indefinite"></animate>
|
|
81
|
+
</polygon>
|
|
82
|
+
<polygon :fill="color" points="1390.7,94.2 1408.5,94.2 1431,71.7 1413.2,71.7">
|
|
83
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="1" repeatCount="indefinite"></animate>
|
|
84
|
+
</polygon>
|
|
85
|
+
<polygon :fill="color" points="1365,94.2 1382.8,94.2 1405.3,71.7 1387.5,71.7">
|
|
86
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.8" repeatCount="indefinite"></animate>
|
|
87
|
+
</polygon>
|
|
88
|
+
<polygon :fill="color" points="1340.6,94.2 1358.5,94.2 1380.9,71.7 1363.1,71.7">
|
|
89
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.6" repeatCount="indefinite"></animate>
|
|
90
|
+
</polygon>
|
|
91
|
+
<polygon :fill="color" points="1315,94.2 1332.8,94.2 1355.2,71.7 1337.4,71.7">
|
|
92
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.4" repeatCount="indefinite"></animate>
|
|
93
|
+
</polygon>
|
|
94
|
+
<polygon :fill="color" points="1291,94.2 1308.8,94.2 1331.2,71.7 1313.4,71.7">
|
|
95
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.2" repeatCount="indefinite"></animate>
|
|
96
|
+
</polygon>
|
|
97
|
+
<polygon :fill="color" points="1265.3,94.2 1283.1,94.2 1305.5,71.7 1287.7,71.7">
|
|
98
|
+
<animate attributeName="fill" :values="`${color};transparent`" dur="1.1" begin="0.1" repeatCount="indefinite"></animate>
|
|
99
|
+
</polygon>
|
|
100
|
+
|
|
101
|
+
<rect x="749.4" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
102
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.6" repeatCount="indefinite"></animate>
|
|
103
|
+
</rect>
|
|
104
|
+
<rect x="764.7" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
105
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.5" repeatCount="indefinite"></animate>
|
|
106
|
+
</rect>
|
|
107
|
+
<rect x="780.1" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
108
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.4" repeatCount="indefinite"></animate>
|
|
109
|
+
</rect>
|
|
110
|
+
<rect x="795.4" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
111
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.3" repeatCount="indefinite"></animate>
|
|
112
|
+
</rect>
|
|
113
|
+
<rect x="1117.4" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
114
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.3" repeatCount="indefinite"></animate>
|
|
115
|
+
</rect>
|
|
116
|
+
<rect x="1132.7" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
117
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.4" repeatCount="indefinite"></animate>
|
|
118
|
+
</rect>
|
|
119
|
+
<rect x="1148.1" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
120
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.5" repeatCount="indefinite"></animate>
|
|
121
|
+
</rect>
|
|
122
|
+
<rect x="1163.4" y="122.1" :fill="color" width="8.7" height="11.5">
|
|
123
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.6" repeatCount="indefinite"></animate>
|
|
124
|
+
</rect>
|
|
125
|
+
<rect x="810.7" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
126
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.2" repeatCount="indefinite"></animate>
|
|
127
|
+
</rect>
|
|
128
|
+
<rect x="826.1" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
129
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.1" repeatCount="indefinite"></animate>
|
|
130
|
+
</rect>
|
|
131
|
+
<rect x="841.4" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
132
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.0" repeatCount="indefinite"></animate>
|
|
133
|
+
</rect>
|
|
134
|
+
<rect x="856.7" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
135
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.9" repeatCount="indefinite"></animate>
|
|
136
|
+
</rect>
|
|
137
|
+
<rect x="872.1" y="120.2" class="st1" :fill="color" width="8.7" height="15.4">
|
|
138
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.8" repeatCount="indefinite"></animate>
|
|
139
|
+
</rect>
|
|
140
|
+
|
|
141
|
+
<rect x="887.4" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
142
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.7" repeatCount="indefinite"></animate>
|
|
143
|
+
</rect>
|
|
144
|
+
|
|
145
|
+
<rect x="902.7" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
146
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.6" repeatCount="indefinite"></animate>
|
|
147
|
+
</rect>
|
|
148
|
+
|
|
149
|
+
<rect x="918.1" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
150
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.5" repeatCount="indefinite"></animate>
|
|
151
|
+
</rect>
|
|
152
|
+
|
|
153
|
+
<rect x="933.4" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
154
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.4" repeatCount="indefinite"></animate>
|
|
155
|
+
</rect>
|
|
156
|
+
|
|
157
|
+
<rect x="948.7" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
158
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.3" repeatCount="indefinite"></animate>
|
|
159
|
+
</rect>
|
|
160
|
+
|
|
161
|
+
<rect x="964.1" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
162
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.3" repeatCount="indefinite"></animate>
|
|
163
|
+
</rect>
|
|
164
|
+
|
|
165
|
+
<rect x="979.4" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
166
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.4" repeatCount="indefinite"></animate>
|
|
167
|
+
</rect>
|
|
168
|
+
|
|
169
|
+
<rect x="994.7" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
170
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.5" repeatCount="indefinite"></animate>
|
|
171
|
+
</rect>
|
|
172
|
+
|
|
173
|
+
<rect x="1010.1" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
174
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.6" repeatCount="indefinite"></animate>
|
|
175
|
+
</rect>
|
|
176
|
+
|
|
177
|
+
<rect x="1025.4" y="118.2" :fill="color" width="8.7" height="19.4">
|
|
178
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.7" repeatCount="indefinite"></animate>
|
|
179
|
+
</rect>
|
|
180
|
+
|
|
181
|
+
<rect x="1056.1" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
182
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.8" repeatCount="indefinite"></animate>
|
|
183
|
+
</rect>
|
|
184
|
+
|
|
185
|
+
<rect x="1040.7" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
186
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="0.9" repeatCount="indefinite"></animate>
|
|
187
|
+
</rect>
|
|
188
|
+
|
|
189
|
+
<rect x="1071.4" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
190
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.0" repeatCount="indefinite"></animate>
|
|
191
|
+
</rect>
|
|
192
|
+
|
|
193
|
+
<rect x="1086.7" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
194
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.1" repeatCount="indefinite"></animate>
|
|
195
|
+
</rect>
|
|
196
|
+
|
|
197
|
+
<rect x="1102.1" y="120.2" :fill="color" width="8.7" height="15.4">
|
|
198
|
+
<animate attributeName="fill" :values="`transparent;${color}`" dur="1.7428491551961136s" begin="1.2" repeatCount="indefinite"></animate>
|
|
199
|
+
</rect>
|
|
200
|
+
</svg>
|
|
201
|
+
<div class="sh-screen-header-content" :style="svgStyle">
|
|
202
|
+
<slot></slot>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
</template>
|
|
206
|
+
|
|
207
|
+
<script>
|
|
208
|
+
import mixin from '../mixin/header'
|
|
209
|
+
export default {
|
|
210
|
+
name: 'ScreenHeader1',
|
|
211
|
+
mixins: [mixin]
|
|
212
|
+
}
|
|
213
|
+
</script>
|
|
214
|
+
|
|
215
|
+
<style lang="scss" scoped>
|
|
216
|
+
.sh-screen-header1 {
|
|
217
|
+
.sh-screen-header-content {
|
|
218
|
+
position: absolute;
|
|
219
|
+
width: 100%;
|
|
220
|
+
top: 0;
|
|
221
|
+
height: 147px;
|
|
222
|
+
line-height: 120px;
|
|
223
|
+
text-align: center;
|
|
224
|
+
font-size: 50px;
|
|
225
|
+
font-weight: 600;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
</style>
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div v-resize="resize" class="sh-screen-header sh-screen-header2" :style="{ width: width, height: height }">
|
|
3
|
+
<svg width="1920px" height="90px" :style="svgStyle">
|
|
4
|
+
<polyline class="st0" :stroke="color" points="0,3 119.7,3 132.8,16.1 191.8,16.1 196.2,11.6 329.7,11.6 356.8,38.7">
|
|
5
|
+
<animate
|
|
6
|
+
attributeName="stroke-dasharray"
|
|
7
|
+
attributeType="XML"
|
|
8
|
+
from="0, 100,0,0 "
|
|
9
|
+
to="0, 0,330,0"
|
|
10
|
+
dur="5s"
|
|
11
|
+
begin="2s"
|
|
12
|
+
calcMode="spline"
|
|
13
|
+
keyTimes="0;1"
|
|
14
|
+
keySplines="0.4,1,0.49,0.98"
|
|
15
|
+
repeatCount="indefinite"></animate>
|
|
16
|
+
</polyline>
|
|
17
|
+
|
|
18
|
+
<rect x="353.4" y="35.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 77.1642 263.5299)" :fill="color" width="6.6" height="6.6" />
|
|
19
|
+
|
|
20
|
+
<g class="st2">
|
|
21
|
+
<linearGradient id="sh_screen_header2_svg_1_" gradientUnits="userSpaceOnUse" x1="403.4567" y1="70.3132" x2="403.4567" y2="34.1094" gradientTransform="matrix(-1 0 0 1 924.0071 0)">
|
|
22
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
23
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
24
|
+
</linearGradient>
|
|
25
|
+
<polygon class="st3" points="463.2,70.3 541.8,70.3 577.9,34.1 499.3,34.1" />
|
|
26
|
+
<animate attributeName="opacity" values="0.7;0.4;0.7" dur="2s" begin="0s" repeatCount="indefinite"></animate>
|
|
27
|
+
</g>
|
|
28
|
+
<g class="st4">
|
|
29
|
+
<linearGradient id="sh_screen_header2_svg_2_" gradientUnits="userSpaceOnUse" x1="419.6646" y1="46.9695" x2="419.6646" y2="29.9844" gradientTransform="matrix(-1 0 0 1 924.0071 0)">
|
|
30
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
31
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
32
|
+
</linearGradient>
|
|
33
|
+
<polygon class="st5" points="477.4,47 514.3,47 531.3,30 494.4,30" />
|
|
34
|
+
<animate attributeName="opacity" values="1;0.7;1" dur="1s" begin="0s" repeatCount="indefinite"></animate>
|
|
35
|
+
</g>
|
|
36
|
+
|
|
37
|
+
<linearGradient id="sh_screen_header2_svg_3_" gradientUnits="userSpaceOnUse" x1="386.4264" y1="75.3132" x2="386.4264" y2="46.8594" gradientTransform="matrix(-1 0 0 1 924.0071 0)">
|
|
38
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
39
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
40
|
+
</linearGradient>
|
|
41
|
+
<polygon class="st6" points="492.5,75.3 554.3,75.3 582.7,46.9 520.9,46.9" />
|
|
42
|
+
<animate attributeName="opacity" values="1;0.7;1" dur="3s" begin="0s" repeatCount="indefinite"></animate>
|
|
43
|
+
|
|
44
|
+
<radialGradient id="sh_screen_header2_svg_4_" cx="960" cy="1012.0313" r="431.0692" gradientTransform="matrix(1 0 0 8.416572e-02 0 -1.4752)" gradientUnits="userSpaceOnUse">
|
|
45
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
46
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0`" />
|
|
47
|
+
</radialGradient>
|
|
48
|
+
<ellipse class="st7" cx="960" cy="83.7" rx="439.9" ry="5.3" />
|
|
49
|
+
|
|
50
|
+
<linearGradient id="sh_screen_header2_svg_5_" gradientUnits="userSpaceOnUse" x1="960" y1="89.0469" x2="960" y2="39.5469">
|
|
51
|
+
<stop offset="0" style="stop-color: #1de2ff; stop-opacity: 0.3" />
|
|
52
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0`" />
|
|
53
|
+
</linearGradient>
|
|
54
|
+
<polygon class="st8" points="1394.8,89 525.2,89 575.4,39.5 1344.6,39.5" />
|
|
55
|
+
|
|
56
|
+
<polyline class="st0" :stroke="color" points="1920,1 1800.3,1 1787.2,14.1 1728.2,14.1 1723.8,9.6 1590.3,9.6 1563.2,36.7">
|
|
57
|
+
<animate
|
|
58
|
+
attributeName="stroke-dasharray"
|
|
59
|
+
attributeType="XML"
|
|
60
|
+
from="0, 100,0,0 "
|
|
61
|
+
to="0, 0,330,0"
|
|
62
|
+
dur="5s"
|
|
63
|
+
begin="2s"
|
|
64
|
+
calcMode="spline"
|
|
65
|
+
keyTimes="0;1"
|
|
66
|
+
keySplines="0.4,1,0.49,0.98"
|
|
67
|
+
repeatCount="indefinite"></animate>
|
|
68
|
+
</polyline>
|
|
69
|
+
|
|
70
|
+
<rect x="1560" y="33.3" transform="matrix(0.7071 -0.7071 0.7071 0.7071 431.9886 1116.151)" :fill="color" width="6.6" height="6.6" />
|
|
71
|
+
|
|
72
|
+
<g>
|
|
73
|
+
<g class="st9">
|
|
74
|
+
<linearGradient id="sh_screen_header2_svg_6_" gradientUnits="userSpaceOnUse" x1="375.9098" y1="47.5007" x2="375.9098" y2="11.2969">
|
|
75
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
76
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
77
|
+
</linearGradient>
|
|
78
|
+
<polygon class="st10" points="406.3,47.5 381.7,47.5 345.5,11.3 370.1,11.3">
|
|
79
|
+
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="3s" begin="0.5s" repeatCount="indefinite" />
|
|
80
|
+
</polygon>
|
|
81
|
+
</g>
|
|
82
|
+
<g class="st11">
|
|
83
|
+
<linearGradient id="sh_screen_header2_svg_7_" gradientUnits="userSpaceOnUse" x1="408.3473" y1="47.5007" x2="408.3473" y2="11.2969">
|
|
84
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
85
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
86
|
+
</linearGradient>
|
|
87
|
+
<polygon class="st12" points="438.7,47.5 414.1,47.5 378,11.3 402.6,11.3">
|
|
88
|
+
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="3s" begin="1s" repeatCount="indefinite" />
|
|
89
|
+
</polygon>
|
|
90
|
+
</g>
|
|
91
|
+
|
|
92
|
+
<linearGradient id="sh_screen_header2_svg_8_" gradientUnits="userSpaceOnUse" x1="440.7848" y1="47.5007" x2="440.7848" y2="11.2969">
|
|
93
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
94
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
95
|
+
</linearGradient>
|
|
96
|
+
<polygon class="st13" points="471.1,47.5 446.6,47.5 410.4,11.3 435,11.3">
|
|
97
|
+
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="3s" begin="1.5s" repeatCount="indefinite" />
|
|
98
|
+
</polygon>
|
|
99
|
+
|
|
100
|
+
<g class="st9">
|
|
101
|
+
<linearGradient
|
|
102
|
+
id="sh_screen_header2_svg_9_"
|
|
103
|
+
gradientUnits="userSpaceOnUse"
|
|
104
|
+
x1="1436.0841"
|
|
105
|
+
y1="45.5007"
|
|
106
|
+
x2="1436.0841"
|
|
107
|
+
y2="9.2969"
|
|
108
|
+
gradientTransform="matrix(-1 0 0 1 2980.1743 0)">
|
|
109
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
110
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
111
|
+
</linearGradient>
|
|
112
|
+
<polygon class="st14" points="1513.7,45.5 1538.3,45.5 1574.5,9.3 1549.9,9.3">
|
|
113
|
+
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="3s" begin="0.5s" repeatCount="indefinite" />
|
|
114
|
+
</polygon>
|
|
115
|
+
</g>
|
|
116
|
+
<g class="st11">
|
|
117
|
+
<linearGradient
|
|
118
|
+
id="sh_screen_header2_svg_10_"
|
|
119
|
+
gradientUnits="userSpaceOnUse"
|
|
120
|
+
x1="1468.5216"
|
|
121
|
+
y1="45.5007"
|
|
122
|
+
x2="1468.5216"
|
|
123
|
+
y2="9.2969"
|
|
124
|
+
gradientTransform="matrix(-1 0 0 1 2980.1743 0)">
|
|
125
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
126
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
127
|
+
</linearGradient>
|
|
128
|
+
<polygon class="st15" points="1481.3,45.5 1505.9,45.5 1542,9.3 1517.4,9.3">
|
|
129
|
+
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="3s" begin="1s" repeatCount="indefinite" />
|
|
130
|
+
</polygon>
|
|
131
|
+
</g>
|
|
132
|
+
|
|
133
|
+
<linearGradient id="sh_screen_header2_svg_11_" gradientUnits="userSpaceOnUse" x1="1500.9591" y1="45.5007" x2="1500.9591" y2="9.2969" gradientTransform="matrix(-1 0 0 1 2980.1743 0)">
|
|
134
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
135
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
136
|
+
</linearGradient>
|
|
137
|
+
<polygon class="st16" points="1448.9,45.5 1473.4,45.5 1509.6,9.3 1485,9.3">
|
|
138
|
+
<animate attributeType="CSS" attributeName="opacity" from="1" to="0" dur="3s" begin="1.5s" repeatCount="indefinite" />
|
|
139
|
+
</polygon>
|
|
140
|
+
</g>
|
|
141
|
+
<g class="st2">
|
|
142
|
+
<linearGradient id="sh_screen_header2_svg_12_" gradientUnits="userSpaceOnUse" x1="-656.7177" y1="68.3132" x2="-656.7177" y2="32.1094" gradientTransform="matrix(1 0 0 1 2056.1672 0)">
|
|
143
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
144
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
145
|
+
</linearGradient>
|
|
146
|
+
<polygon class="st17" points="1456.8,68.3 1378.2,68.3 1342.1,32.1 1420.7,32.1" />
|
|
147
|
+
<animate attributeName="opacity" values="0.7;0.4;0.7" dur="2s" begin="0s" repeatCount="indefinite"></animate>
|
|
148
|
+
</g>
|
|
149
|
+
<g class="st4">
|
|
150
|
+
<linearGradient id="sh_screen_header2_svg_13_" gradientUnits="userSpaceOnUse" x1="-640.5098" y1="44.9695" x2="-640.5098" y2="27.9844" gradientTransform="matrix(1 0 0 1 2056.1672 0)">
|
|
151
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
152
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
153
|
+
</linearGradient>
|
|
154
|
+
<polygon class="st18" points="1442.6,45 1405.7,45 1388.7,28 1425.6,28" />
|
|
155
|
+
<animate attributeName="opacity" values="1;0.7;1" dur="1s" begin="0s" repeatCount="indefinite"></animate>
|
|
156
|
+
</g>
|
|
157
|
+
|
|
158
|
+
<linearGradient id="sh_screen_header2_svg_14_" gradientUnits="userSpaceOnUse" x1="-673.748" y1="73.3132" x2="-673.748" y2="44.8594" gradientTransform="matrix(1 0 0 1 2056.1672 0)">
|
|
159
|
+
<stop offset="0" :style="`stop-color:${color};stop-opacity:0`" />
|
|
160
|
+
<stop offset="1" :style="`stop-color:${color};stop-opacity:0.9`" />
|
|
161
|
+
</linearGradient>
|
|
162
|
+
<polygon class="st19" points="1427.5,73.3 1365.7,73.3 1337.3,44.9 1399.1,44.9" />
|
|
163
|
+
<animate attributeName="opacity" values="1;0.7;1" dur="3s" begin="0s" repeatCount="indefinite"></animate>
|
|
164
|
+
|
|
165
|
+
<g>
|
|
166
|
+
<polyline class="st0" :stroke="color" points="525.2,89 532.5,81.5 804.8,81.5" />
|
|
167
|
+
<polyline class="st0" :stroke="color" points="1394.6,88.8 1389.3,83.5 1117.1,83.5" />
|
|
168
|
+
<animate
|
|
169
|
+
attributeName="stroke-dasharray"
|
|
170
|
+
attributeType="XML"
|
|
171
|
+
from="0, 157.52079728939617, 0, 157.52079728939617"
|
|
172
|
+
to="0, 0, 315.04159457879234, 0"
|
|
173
|
+
dur="1.2s"
|
|
174
|
+
begin="0s"
|
|
175
|
+
calcMode="spline"
|
|
176
|
+
keyTimes="0;1"
|
|
177
|
+
keySplines="0.4,1,0.49,0.98"
|
|
178
|
+
repeatCount="indefinite" />
|
|
179
|
+
|
|
180
|
+
<polygon :fill="color" points="788.3,75.9 754.3,75.9 746.8,83.3 780.8,83.3" />
|
|
181
|
+
|
|
182
|
+
<polygon :fill="color" points="815.6,73.6 789.1,73.6 779.4,83.3 806,83.3" />
|
|
183
|
+
<g class="st20">
|
|
184
|
+
<polygon :fill="color" points="860.5,77.4 828.6,77.4 816.9,89 848.8,89" />
|
|
185
|
+
</g>
|
|
186
|
+
<polygon :fill="color" points="1054,71.7 866.5,71.7 854.8,83.3 1066.3,83.3" />
|
|
187
|
+
<g class="st9">
|
|
188
|
+
<polygon :fill="color" points="803.1,89 1120.4,89 1126.3,83 796.7,83" />
|
|
189
|
+
</g>
|
|
190
|
+
<g class="st20">
|
|
191
|
+
<polygon :fill="color" points="1059.8,77.4 1091.7,77.4 1103.3,89 1071.5,89" />
|
|
192
|
+
</g>
|
|
193
|
+
<polygon :fill="color" points="1133.9,75.9 1167.9,75.9 1175.4,83.3 1141.4,83.3" />
|
|
194
|
+
<polygon :fill="color" points="1106.6,73.6 1133.1,73.6 1142.8,83.3 1116.2,83.3" />
|
|
195
|
+
</g>
|
|
196
|
+
</svg>
|
|
197
|
+
<div class="sh-screen-header-content" :style="svgStyle">
|
|
198
|
+
<slot></slot>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</template>
|
|
202
|
+
|
|
203
|
+
<script>
|
|
204
|
+
import mixin from '../mixin/header'
|
|
205
|
+
export default {
|
|
206
|
+
name: 'ScreenHeader2',
|
|
207
|
+
mixins: [mixin]
|
|
208
|
+
}
|
|
209
|
+
</script>
|
|
210
|
+
|
|
211
|
+
<style lang="scss" scoped>
|
|
212
|
+
.sh-screen-header2 {
|
|
213
|
+
.st0 {
|
|
214
|
+
fill: none;
|
|
215
|
+
stroke-linecap: round;
|
|
216
|
+
stroke-miterlimit: 10;
|
|
217
|
+
}
|
|
218
|
+
.st2 {
|
|
219
|
+
opacity: 0.4;
|
|
220
|
+
}
|
|
221
|
+
.st3 {
|
|
222
|
+
fill: url(#sh_screen_header2_svg_1_);
|
|
223
|
+
}
|
|
224
|
+
.st4 {
|
|
225
|
+
opacity: 0.8;
|
|
226
|
+
}
|
|
227
|
+
.st5 {
|
|
228
|
+
fill: url(#sh_screen_header2_svg_2_);
|
|
229
|
+
}
|
|
230
|
+
.st6 {
|
|
231
|
+
fill: url(#sh_screen_header2_svg_3_);
|
|
232
|
+
}
|
|
233
|
+
.st7 {
|
|
234
|
+
fill: url(#sh_screen_header2_svg_4_);
|
|
235
|
+
}
|
|
236
|
+
.st8 {
|
|
237
|
+
fill: url(#sh_screen_header2_svg_5_);
|
|
238
|
+
}
|
|
239
|
+
.st9 {
|
|
240
|
+
opacity: 0.2;
|
|
241
|
+
}
|
|
242
|
+
.st10 {
|
|
243
|
+
fill: url(#sh_screen_header2_svg_6_);
|
|
244
|
+
}
|
|
245
|
+
.st11 {
|
|
246
|
+
opacity: 0.6;
|
|
247
|
+
}
|
|
248
|
+
.st12 {
|
|
249
|
+
fill: url(#sh_screen_header2_svg_7_);
|
|
250
|
+
}
|
|
251
|
+
.st13 {
|
|
252
|
+
fill: url(#sh_screen_header2_svg_8_);
|
|
253
|
+
}
|
|
254
|
+
.st14 {
|
|
255
|
+
fill: url(#sh_screen_header2_svg_9_);
|
|
256
|
+
}
|
|
257
|
+
.st15 {
|
|
258
|
+
fill: url(#sh_screen_header2_svg_10_);
|
|
259
|
+
}
|
|
260
|
+
.st16 {
|
|
261
|
+
fill: url(#sh_screen_header2_svg_11_);
|
|
262
|
+
}
|
|
263
|
+
.st17 {
|
|
264
|
+
fill: url(#sh_screen_header2_svg_12_);
|
|
265
|
+
}
|
|
266
|
+
.st18 {
|
|
267
|
+
fill: url(#sh_screen_header2_svg_13_);
|
|
268
|
+
}
|
|
269
|
+
.st19 {
|
|
270
|
+
fill: url(#sh_screen_header2_svg_14_);
|
|
271
|
+
}
|
|
272
|
+
.st20 {
|
|
273
|
+
opacity: 0.7;
|
|
274
|
+
}
|
|
275
|
+
.sh-screen-header-content {
|
|
276
|
+
position: absolute;
|
|
277
|
+
width: 100%;
|
|
278
|
+
top: 0;
|
|
279
|
+
text-align: center;
|
|
280
|
+
font-size: 42px;
|
|
281
|
+
line-height: 65px;
|
|
282
|
+
font-weight: 600;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
</style>
|