zartui 0.1.21 → 0.1.25
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/README.md +20 -20
- package/changelog.generated.md +15 -0
- package/es/area/style/index.js +4 -0
- package/es/area/style/less.js +4 -0
- package/es/avatar/index.css +1 -1
- package/es/avatar/index.js +54 -36
- package/es/avatar/index.less +39 -11
- package/es/avatar/local.less +1 -1
- package/es/button/index.js +4 -1
- package/es/button/index.less +206 -206
- package/es/calendar/index.less +250 -250
- package/es/calendar/style/index.js +1 -1
- package/es/calendar/style/less.js +1 -1
- package/es/cell/index.less +103 -103
- package/es/cell-group/index.less +22 -22
- package/es/checkbox/index.less +89 -89
- package/es/checkbox-group/index.less +8 -8
- package/es/col/index.less +20 -20
- package/es/datetime-picker/style/index.js +4 -0
- package/es/datetime-picker/style/less.js +4 -0
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.less +125 -125
- package/es/dialog/style/index.js +1 -1
- package/es/dialog/style/less.js +1 -1
- package/es/empty/Developing.js +1643 -0
- package/es/empty/Error.js +484 -0
- package/es/empty/NotFound.js +645 -0
- package/es/empty/NotRight.js +395 -0
- package/es/empty/Search.js +336 -0
- package/es/empty/index.css +1 -0
- package/es/empty/index.js +105 -0
- package/es/empty/index.less +33 -0
- package/es/empty/style/index.js +2 -0
- package/es/empty/style/less.js +2 -0
- package/es/field/index.less +172 -172
- package/es/icon/index.less +10 -10
- package/es/icon/local.less +1 -1
- package/es/image/index.less +47 -47
- package/es/image-preview/index.less +103 -103
- package/es/image-preview/style/index.js +1 -1
- package/es/image-preview/style/less.js +1 -1
- package/es/index.js +6 -3
- package/es/info/index.less +29 -29
- package/es/loading/index.less +103 -103
- package/es/locale/lang/zh-CN.js +22 -0
- package/es/mixins/bind-event.js +2 -2
- package/es/mixins/checkbox.js +2 -2
- package/es/mixins/click-outside.js +2 -2
- package/es/mixins/slots.js +3 -3
- package/es/mixins/telemetry.js +11 -0
- package/es/nav-bar/index.less +74 -74
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.less +144 -142
- package/es/overlay/index.less +11 -11
- package/es/password-input/index.css +1 -0
- package/es/password-input/index.js +80 -0
- package/es/password-input/index.less +83 -0
- package/es/password-input/style/index.js +2 -0
- package/es/password-input/style/less.js +2 -0
- package/es/pdf-viewer/style/index.js +1 -1
- package/es/pdf-viewer/style/less.js +1 -1
- package/es/picker/PickerColumn.js +5 -6
- package/es/picker/index.js +34 -5
- package/es/picker/index.less +151 -151
- package/es/picker/shared.js +4 -0
- package/es/picker/style/index.js +4 -0
- package/es/picker/style/less.js +4 -0
- package/es/popup/index.less +137 -137
- package/es/popup/style/index.js +1 -1
- package/es/popup/style/less.js +1 -1
- package/es/radio/index.less +86 -86
- package/es/radio-group/index.less +8 -8
- package/es/rate/index.css +1 -1
- package/es/rate/index.js +1 -1
- package/es/rate/index.less +47 -47
- package/es/row/index.less +42 -42
- package/es/signature/index.css +1 -0
- package/es/signature/index.js +230 -0
- package/es/signature/index.less +50 -0
- package/es/signature/style/index.js +9 -0
- package/es/signature/style/less.js +9 -0
- package/es/slider/index.less +94 -94
- package/es/step/index.less +139 -139
- package/es/stepper/index.less +130 -130
- package/es/steps/index.less +21 -21
- package/es/sticky/index.less +11 -11
- package/es/style/animation.less +139 -139
- package/es/style/base.less +11 -11
- package/es/style/clearfix.less +5 -5
- package/es/style/ellipsis.less +13 -13
- package/es/style/hairline.less +47 -47
- package/es/style/halfPxBorder.less +15 -15
- package/es/style/mixins/clearfix.less +7 -7
- package/es/style/mixins/ellipsis.less +15 -15
- package/es/style/mixins/hairline.less +39 -39
- package/es/style/normalize.less +38 -38
- package/es/style/reset.less +171 -171
- package/es/style/var.less +941 -919
- package/es/swipe/index.less +56 -56
- package/es/swipe-cell/index.less +29 -29
- package/es/swipe-item/index.less +8 -8
- package/es/switch/index.less +56 -56
- package/es/switch/shared.js +2 -2
- package/es/switch-cell/index.less +15 -15
- package/es/tab/index.less +17 -17
- package/es/tabs/index.less +153 -153
- package/es/tag/index.less +99 -99
- package/es/telemetry/index.js +72 -0
- package/es/toast/index.js +1 -1
- package/es/toast/index.less +75 -75
- package/es/toast/style/index.js +1 -1
- package/es/toast/style/less.js +1 -1
- package/es/uploader/index.less +163 -163
- package/es/uploader/style/index.js +1 -1
- package/es/uploader/style/less.js +1 -1
- package/es/utils/create/bem.js +7 -7
- package/es/utils/create/component.js +37 -7
- package/es/utils/dom/raf.js +2 -2
- package/es/utils/dom/reset-scroll.js +3 -3
- package/es/utils/index.js +29 -29
- package/es/utils/media/image-util.js +138 -0
- package/es/utils/router.js +2 -2
- package/lib/7893e51cf0a4877dac80.worker.js +10 -0
- package/lib/area/style/index.js +4 -0
- package/lib/area/style/less.js +4 -0
- package/lib/avatar/index.css +1 -1
- package/lib/avatar/index.js +55 -37
- package/lib/avatar/index.less +39 -11
- package/lib/avatar/local.less +1 -1
- package/lib/be09b519a460e229fd8d.worker.js +2527 -0
- package/lib/button/index.js +5 -0
- package/lib/button/index.less +206 -206
- package/lib/calendar/index.less +250 -250
- package/lib/calendar/style/index.js +1 -1
- package/lib/calendar/style/less.js +1 -1
- package/lib/cell/index.less +103 -103
- package/lib/cell-group/index.less +22 -22
- package/lib/checkbox/index.less +89 -89
- package/lib/checkbox-group/index.less +8 -8
- package/lib/col/index.less +20 -20
- package/lib/datetime-picker/style/index.js +4 -0
- package/lib/datetime-picker/style/less.js +4 -0
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.less +125 -125
- package/lib/dialog/style/index.js +1 -1
- package/lib/dialog/style/less.js +1 -1
- package/lib/empty/Developing.js +1648 -0
- package/lib/empty/Error.js +489 -0
- package/lib/empty/NotFound.js +650 -0
- package/lib/empty/NotRight.js +400 -0
- package/lib/empty/Search.js +341 -0
- package/lib/empty/index.css +1 -0
- package/lib/empty/index.js +119 -0
- package/lib/empty/index.less +33 -0
- package/lib/empty/style/index.js +2 -0
- package/lib/empty/style/less.js +2 -0
- package/lib/field/index.less +172 -172
- package/lib/icon/index.less +10 -10
- package/lib/icon/local.less +1 -1
- package/lib/image/index.less +47 -47
- package/lib/image-preview/index.less +103 -103
- package/lib/image-preview/style/index.js +1 -1
- package/lib/image-preview/style/less.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.js +14 -2
- package/lib/index.less +6 -3
- package/lib/info/index.less +29 -29
- package/lib/loading/index.less +103 -103
- package/lib/locale/lang/zh-CN.js +22 -0
- package/lib/mixins/bind-event.js +2 -2
- package/lib/mixins/checkbox.js +2 -2
- package/lib/mixins/click-outside.js +2 -2
- package/lib/mixins/slots.js +3 -3
- package/lib/mixins/telemetry.js +20 -0
- package/lib/nav-bar/index.less +74 -74
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.less +144 -142
- package/lib/overlay/index.less +11 -11
- package/lib/password-input/index.css +1 -0
- package/lib/password-input/index.js +93 -0
- package/lib/password-input/index.less +83 -0
- package/lib/password-input/style/index.js +2 -0
- package/lib/password-input/style/less.js +2 -0
- package/lib/pdf-viewer/style/index.js +1 -1
- package/lib/pdf-viewer/style/less.js +1 -1
- package/lib/picker/PickerColumn.js +5 -6
- package/lib/picker/index.js +36 -6
- package/lib/picker/index.less +151 -151
- package/lib/picker/shared.js +4 -0
- package/lib/picker/style/index.js +4 -0
- package/lib/picker/style/less.js +4 -0
- package/lib/popup/index.less +137 -137
- package/lib/popup/style/index.js +1 -1
- package/lib/popup/style/less.js +1 -1
- package/lib/radio/index.less +86 -86
- package/lib/radio-group/index.less +8 -8
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.js +1 -1
- package/lib/rate/index.less +47 -47
- package/lib/row/index.less +42 -42
- package/lib/signature/index.css +1 -0
- package/lib/signature/index.js +242 -0
- package/lib/signature/index.less +50 -0
- package/lib/signature/style/index.js +9 -0
- package/lib/signature/style/less.js +9 -0
- package/lib/slider/index.less +94 -94
- package/lib/step/index.less +139 -139
- package/lib/stepper/index.less +130 -130
- package/lib/steps/index.less +21 -21
- package/lib/sticky/index.less +11 -11
- package/lib/style/animation.less +139 -139
- package/lib/style/base.less +11 -11
- package/lib/style/clearfix.less +5 -5
- package/lib/style/ellipsis.less +13 -13
- package/lib/style/hairline.less +47 -47
- package/lib/style/halfPxBorder.less +15 -15
- package/lib/style/mixins/clearfix.less +7 -7
- package/lib/style/mixins/ellipsis.less +15 -15
- package/lib/style/mixins/hairline.less +39 -39
- package/lib/style/normalize.less +38 -38
- package/lib/style/reset.less +171 -171
- package/lib/style/var.less +941 -919
- package/lib/swipe/index.less +56 -56
- package/lib/swipe-cell/index.less +29 -29
- package/lib/swipe-item/index.less +8 -8
- package/lib/switch/index.less +56 -56
- package/lib/switch/shared.js +2 -2
- package/lib/switch-cell/index.less +15 -15
- package/lib/tab/index.less +17 -17
- package/lib/tabs/index.less +153 -153
- package/lib/tag/index.less +99 -99
- package/lib/telemetry/index.js +82 -0
- package/lib/toast/index.js +1 -1
- package/lib/toast/index.less +75 -75
- package/lib/toast/style/index.js +1 -1
- package/lib/toast/style/less.js +1 -1
- package/lib/uploader/index.less +163 -163
- package/lib/uploader/style/index.js +1 -1
- package/lib/uploader/style/less.js +1 -1
- package/lib/utils/create/bem.js +7 -7
- package/lib/utils/create/component.js +41 -7
- package/lib/utils/dom/raf.js +2 -2
- package/lib/utils/dom/reset-scroll.js +3 -3
- package/lib/utils/index.js +29 -29
- package/lib/utils/media/image-util.js +153 -0
- package/lib/utils/router.js +2 -2
- package/lib/zart.js +27476 -55536
- package/lib/zart.min.js +5 -5
- package/package.json +74 -74
- package/lib/a037f57fc4d92a8a1f1e.worker.js +0 -60600
- package/lib/b7cf90b4775181215df7.worker.js +0 -10
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var prefix = 'zt-empty-search-';
|
|
6
|
+
var _default = {
|
|
7
|
+
render: function render() {
|
|
8
|
+
var h = arguments[0];
|
|
9
|
+
return h("svg", {
|
|
10
|
+
"attrs": {
|
|
11
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
12
|
+
"viewBox": "0 0 280 260"
|
|
13
|
+
}
|
|
14
|
+
}, [h("defs", [h("linearGradient", {
|
|
15
|
+
"attrs": {
|
|
16
|
+
"x1": "23.226575%",
|
|
17
|
+
"y1": "239.989869%",
|
|
18
|
+
"x2": "113.740933%",
|
|
19
|
+
"y2": "-331.46119%",
|
|
20
|
+
"id": prefix + "1"
|
|
21
|
+
}
|
|
22
|
+
}, [h("stop", {
|
|
23
|
+
"attrs": {
|
|
24
|
+
"offset": "1%"
|
|
25
|
+
}
|
|
26
|
+
}), h("stop", {
|
|
27
|
+
"attrs": {
|
|
28
|
+
"stop-opacity": ".69",
|
|
29
|
+
"offset": "8%"
|
|
30
|
+
}
|
|
31
|
+
}), h("stop", {
|
|
32
|
+
"attrs": {
|
|
33
|
+
"stop-opacity": ".32",
|
|
34
|
+
"offset": "21%"
|
|
35
|
+
}
|
|
36
|
+
}), h("stop", {
|
|
37
|
+
"attrs": {
|
|
38
|
+
"stop-opacity": "0",
|
|
39
|
+
"offset": "100%"
|
|
40
|
+
}
|
|
41
|
+
})])]), h("g", {
|
|
42
|
+
"attrs": {
|
|
43
|
+
"transform": "translate(10 31.366093)",
|
|
44
|
+
"fill": "none",
|
|
45
|
+
"fill-rule": "evenodd"
|
|
46
|
+
}
|
|
47
|
+
}, [h("path", {
|
|
48
|
+
"attrs": {
|
|
49
|
+
"d": "M114.994008,0.189504285 C113.786795,0.147392222 112.586601,0.119317513 111.393426,0.0912428039 C92.239456,-0.308821798 72.69244,0.336896507 54.6053088,6.64668733 C36.5181776,12.9564782 19.8488192,25.744508 12.8933101,43.5719482 C9.29272864,52.8295834 8.4434687,62.8803292 7.10290135,72.7205147 C4.59723358,91.1726171 0.238635026,109.46329 0.00701867722,128.076822 C-0.224597671,146.690354 4.21822501,166.286501 16.9992362,179.846585 C39.1712376,203.401266 69.9270812,189.441117 96.3102888,183.096233 C111.968045,179.344271 128.255967,179.054442 144.037294,182.246973 C154.453011,184.352576 164.510775,187.981232 174.919474,190.213171 C182.408402,191.820448 190.199134,192.704802 197.828436,191.715168 C205.155935,190.767647 210.80597,187.272346 217.480732,184.457856 C230.184538,179.067512 243.028717,172.203246 251.128271,160.629447 C257.335742,151.543597 260.184755,140.579365 259.185712,129.620931 C256.694082,100.732055 229.707268,88.6037812 215.775194,65.8983604 C207.661603,52.7032473 202.130885,37.7394274 191.694112,26.2989835 C172.968281,5.80444606 142.970455,1.08087629 114.994008,0.189504285 Z",
|
|
50
|
+
"fill": "#32A5FB",
|
|
51
|
+
"fill-rule": "nonzero",
|
|
52
|
+
"opacity": ".18"
|
|
53
|
+
}
|
|
54
|
+
}), h("path", {
|
|
55
|
+
"attrs": {
|
|
56
|
+
"d": "M156.355074,29.3029774 L156.355074,172.589273 C156.355074,179.500731 150.752229,185.103574 143.840771,185.103574 L81.823739,185.103574 C74.9122812,185.103574 69.3094356,179.500731 69.3094356,172.589273 L69.3094356,29.3029774 C69.3075754,25.9827624 70.6252206,22.7978974 72.9723092,20.4494924 C75.3193978,18.1010874 78.5035235,16.7816572 81.823739,16.7816572 L143.840771,16.7816572 C147.160987,16.7816572 150.345112,18.1010874 152.692201,20.4494924 C155.039289,22.7978974 156.356935,25.9827624 156.355074,29.3029774 Z",
|
|
57
|
+
"fill": "#32A5FB",
|
|
58
|
+
"fill-rule": "nonzero"
|
|
59
|
+
}
|
|
60
|
+
}), h("rect", {
|
|
61
|
+
"attrs": {
|
|
62
|
+
"fill": "#473F47",
|
|
63
|
+
"fill-rule": "nonzero",
|
|
64
|
+
"x": "71.0219948",
|
|
65
|
+
"y": "18.9083164",
|
|
66
|
+
"width": "83.6135017",
|
|
67
|
+
"height": "163.808908",
|
|
68
|
+
"rx": "17.5885043"
|
|
69
|
+
}
|
|
70
|
+
}), h("path", {
|
|
71
|
+
"attrs": {
|
|
72
|
+
"d": "M152.36145,32.377158 L152.36145,167.5639 C152.295876,173.945556 147.071073,179.066679 140.689385,179.004907 L85.0242559,179.004907 C82.9907282,179.010757 80.9904744,178.488321 79.2198098,177.48831 C75.604151,175.49201 73.3532974,171.69403 73.3381583,167.5639 L73.3381583,32.377158 C73.4075638,25.99161 78.6386744,20.8704627 85.0242559,20.9360785 L94.4292833,20.9360785 L94.4292833,22.6001407 C94.4780527,24.8315299 95.8616039,26.8155423 97.9386219,27.6325322 C98.6203251,27.9013396 99.3465317,28.0394379 100.079318,28.0396155 L125.936125,28.0396155 C129.018229,28.0592249 131.53999,25.5907181 131.586161,22.5088978 L131.586161,20.9360785 L140.710441,20.9360785 C143.704228,20.9301104 146.588028,22.0645559 148.774901,24.1091563 C151.065267,26.2485323 152.364243,29.2430397 152.36145,32.377158 Z",
|
|
73
|
+
"fill": "#FFF",
|
|
74
|
+
"fill-rule": "nonzero"
|
|
75
|
+
}
|
|
76
|
+
}), h("rect", {
|
|
77
|
+
"attrs": {
|
|
78
|
+
"fill": "#32A5FB",
|
|
79
|
+
"fill-rule": "nonzero",
|
|
80
|
+
"opacity": ".31",
|
|
81
|
+
"x": "83.150269",
|
|
82
|
+
"y": "112.888404",
|
|
83
|
+
"width": "34.3844997",
|
|
84
|
+
"height": "2.04243507",
|
|
85
|
+
"rx": "1.02121754"
|
|
86
|
+
}
|
|
87
|
+
}), h("rect", {
|
|
88
|
+
"attrs": {
|
|
89
|
+
"fill": "#32A5FB",
|
|
90
|
+
"fill-rule": "nonzero",
|
|
91
|
+
"opacity": ".31",
|
|
92
|
+
"x": "83.150269",
|
|
93
|
+
"y": "117.878684",
|
|
94
|
+
"width": "34.3844997",
|
|
95
|
+
"height": "2.04243507",
|
|
96
|
+
"rx": "1.02121754"
|
|
97
|
+
}
|
|
98
|
+
}), h("path", {
|
|
99
|
+
"attrs": {
|
|
100
|
+
"fill": "#32A5FB",
|
|
101
|
+
"fill-rule": "nonzero",
|
|
102
|
+
"opacity": ".18",
|
|
103
|
+
"d": "M69.3024189 94.5064888H156.3550725V99.97403836H69.3024189z"
|
|
104
|
+
}
|
|
105
|
+
}), h("path", {
|
|
106
|
+
"attrs": {
|
|
107
|
+
"d": "M56.2827726,80.714788 L162.306911,80.714788 C166.233611,80.714788 169.416831,83.8980077 169.416831,87.8247081 L169.416831,87.8247081 C169.416831,91.7514085 166.233611,94.9346281 162.306911,94.9346281 L56.2827726,94.9346281 L56.2827726,80.714788 Z",
|
|
108
|
+
"fill": "#32A5FB",
|
|
109
|
+
"fill-rule": "nonzero"
|
|
110
|
+
}
|
|
111
|
+
}), h("path", {
|
|
112
|
+
"attrs": {
|
|
113
|
+
"fill": "#FFF",
|
|
114
|
+
"fill-rule": "nonzero",
|
|
115
|
+
"d": "M56.2827726 80.714788H141.8965973V94.9276094H56.2827726z"
|
|
116
|
+
}
|
|
117
|
+
}), h("path", {
|
|
118
|
+
"attrs": {
|
|
119
|
+
"stroke": "#FFF",
|
|
120
|
+
"stroke-width": "1.47931156",
|
|
121
|
+
"d": "M154.607422 83.58542704A3.43213316 3.43213316 0 1 0 154.607422 90.44969336000001A3.43213316 3.43213316 0 1 0 154.607422 83.58542704Z"
|
|
122
|
+
}
|
|
123
|
+
}), h("path", {
|
|
124
|
+
"attrs": {
|
|
125
|
+
"stroke": "#FFF",
|
|
126
|
+
"stroke-width": "1.47931156",
|
|
127
|
+
"d": "M157.744771 92.5974086L156.341035 89.979442"
|
|
128
|
+
}
|
|
129
|
+
}), h("rect", {
|
|
130
|
+
"attrs": {
|
|
131
|
+
"fill": "#32A5FB",
|
|
132
|
+
"fill-rule": "nonzero",
|
|
133
|
+
"x": "83.150269",
|
|
134
|
+
"y": "107.827938",
|
|
135
|
+
"width": "55.3352512",
|
|
136
|
+
"height": "3.28474094",
|
|
137
|
+
"rx": "1.64237047"
|
|
138
|
+
}
|
|
139
|
+
}), h("rect", {
|
|
140
|
+
"attrs": {
|
|
141
|
+
"fill": "#32A5FB",
|
|
142
|
+
"fill-rule": "nonzero",
|
|
143
|
+
"opacity": ".31",
|
|
144
|
+
"x": "83.150269",
|
|
145
|
+
"y": "130.063108",
|
|
146
|
+
"width": "34.3844997",
|
|
147
|
+
"height": "2.04243507",
|
|
148
|
+
"rx": "1.02121754"
|
|
149
|
+
}
|
|
150
|
+
}), h("rect", {
|
|
151
|
+
"attrs": {
|
|
152
|
+
"fill": "#32A5FB",
|
|
153
|
+
"fill-rule": "nonzero",
|
|
154
|
+
"opacity": ".31",
|
|
155
|
+
"x": "83.150269",
|
|
156
|
+
"y": "135.053387",
|
|
157
|
+
"width": "34.3844997",
|
|
158
|
+
"height": "2.04243507",
|
|
159
|
+
"rx": "1.02121754"
|
|
160
|
+
}
|
|
161
|
+
}), h("rect", {
|
|
162
|
+
"attrs": {
|
|
163
|
+
"fill": "#32A5FB",
|
|
164
|
+
"fill-rule": "nonzero",
|
|
165
|
+
"x": "83.150269",
|
|
166
|
+
"y": "124.995623",
|
|
167
|
+
"width": "55.3352512",
|
|
168
|
+
"height": "3.28474094",
|
|
169
|
+
"rx": "1.64237047"
|
|
170
|
+
}
|
|
171
|
+
}), h("rect", {
|
|
172
|
+
"attrs": {
|
|
173
|
+
"fill": "#32A5FB",
|
|
174
|
+
"fill-rule": "nonzero",
|
|
175
|
+
"opacity": ".31",
|
|
176
|
+
"x": "83.150269",
|
|
177
|
+
"y": "147.230792",
|
|
178
|
+
"width": "34.3844997",
|
|
179
|
+
"height": "2.04243507",
|
|
180
|
+
"rx": "1.02121754"
|
|
181
|
+
}
|
|
182
|
+
}), h("rect", {
|
|
183
|
+
"attrs": {
|
|
184
|
+
"fill": "#32A5FB",
|
|
185
|
+
"fill-rule": "nonzero",
|
|
186
|
+
"opacity": ".31",
|
|
187
|
+
"x": "83.150269",
|
|
188
|
+
"y": "152.22809",
|
|
189
|
+
"width": "34.3844997",
|
|
190
|
+
"height": "2.04243507",
|
|
191
|
+
"rx": "1.02121754"
|
|
192
|
+
}
|
|
193
|
+
}), h("rect", {
|
|
194
|
+
"attrs": {
|
|
195
|
+
"fill": "#32A5FB",
|
|
196
|
+
"fill-rule": "nonzero",
|
|
197
|
+
"x": "83.150269",
|
|
198
|
+
"y": "142.170326",
|
|
199
|
+
"width": "55.3352512",
|
|
200
|
+
"height": "3.28474094",
|
|
201
|
+
"rx": "1.64237047"
|
|
202
|
+
}
|
|
203
|
+
}), h("path", {
|
|
204
|
+
"attrs": {
|
|
205
|
+
"d": "M42.0138018,5.20083982 C45.8044844,5.19643287 49.5724389,5.78613788 53.1805173,6.94849045 L53.1805173,1.8178374 C36.2923861,-2.90243326 18.2610998,3.51448464 8.15181697,17.8425107 C-1.95746583,32.1705369 -1.95746583,51.30961 8.15181697,65.6376361 C18.2610998,79.9656622 36.2923861,86.3825801 53.1805173,81.6623095 L53.1805173,76.5316564 C39.4549547,80.9364125 24.4224825,76.8598706 14.8027176,66.1242724 C5.18295264,55.3886743 2.77398915,40.0006819 8.65265009,26.8388321 C14.531311,13.6769823 27.5987769,5.20144381 42.0138018,5.20083982 L42.0138018,5.20083982 Z",
|
|
206
|
+
"opacity": ".41",
|
|
207
|
+
"transform": "translate(103.174555 54.745682)",
|
|
208
|
+
"fill": "url(#w3e5gupfla)",
|
|
209
|
+
"fill-rule": "nonzero"
|
|
210
|
+
}
|
|
211
|
+
}), h("path", {
|
|
212
|
+
"attrs": {
|
|
213
|
+
"d": "M147.39924,135.93774 C130.629517,135.93774 115.511844,125.833639 109.098289,110.338802 C102.684735,94.8439657 106.238944,77.0112897 118.102954,65.1593323 C129.966964,53.3073748 147.803244,49.7712935 163.291553,56.200594 C178.779863,62.6298944 188.868585,77.7578297 188.85157,94.5275448 C188.801292,117.393351 170.265086,135.910726 147.39924,135.93774 Z M147.39924,57.9461991 C127.224664,57.9461991 110.867775,74.2968364 110.860031,94.4714116 C110.852292,114.645987 127.196627,131.009159 147.371198,131.024667 C167.545769,131.040152 183.915222,114.702108 183.938474,94.5275448 C183.930738,74.3472797 167.579498,57.9866168 147.39924,57.9672552 L147.39924,57.9461991 Z",
|
|
214
|
+
"fill": "#32A5FB",
|
|
215
|
+
"fill-rule": "nonzero"
|
|
216
|
+
}
|
|
217
|
+
}), h("path", {
|
|
218
|
+
"attrs": {
|
|
219
|
+
"d": "M203.541639,155.905879 C202.412361,155.906812 201.330023,155.454152 200.537646,154.649534 L173.375365,127.087188 C172.31478,126.016166 171.907488,124.459974 172.307407,123.006704 C172.707326,121.553434 173.853464,120.424723 175.31269,120.047116 C176.771916,119.669509 178.321686,120.100594 179.376334,121.177462 L206.538615,148.739808 C207.729175,149.948757 208.077902,151.754123 207.423234,153.319499 C206.768566,154.884876 205.238398,155.904455 203.541639,155.905879 L203.541639,155.905879 Z",
|
|
220
|
+
"fill": "#32A5FB",
|
|
221
|
+
"fill-rule": "nonzero"
|
|
222
|
+
}
|
|
223
|
+
}), h("path", {
|
|
224
|
+
"attrs": {
|
|
225
|
+
"d": "M216.554267,164.665186 C215.618034,165.591351 214.351631,166.106732 213.03473,166.097635 C211.717829,166.088295 210.458766,165.555236 209.53559,164.616056 L177.558496,132.161692 C177.379884,131.98499 177.217782,131.792346 177.074208,131.586161 C176.989983,131.473862 176.912778,131.361563 176.842591,131.249264 C176.37602,130.46285 176.454714,129.467939 177.039114,128.764652 C177.660383,128.024962 178.338586,127.335026 179.067512,126.701161 C179.904609,125.957595 180.811937,125.297079 181.776721,124.728913 C182.584023,124.244353 183.611053,124.332061 184.324501,124.946492 L184.324501,124.946492 C184.420889,125.022456 184.512318,125.104508 184.59823,125.192146 L216.631472,157.653528 C217.551804,158.593174 218.060801,159.860167 218.04662,161.175361 C218.031838,162.490555 217.495066,163.746033 216.554267,164.665186 Z",
|
|
226
|
+
"fill": "#473F47",
|
|
227
|
+
"fill-rule": "nonzero"
|
|
228
|
+
}
|
|
229
|
+
}), h("path", {
|
|
230
|
+
"attrs": {
|
|
231
|
+
"d": "M101.560259,51.9873422 L101.560259,66.277369 C101.560259,70.1776265 98.4067156,73.3437524 94.5064888,73.3592143 L69.3094376,73.3592143 L69.3094376,44.9054969 L94.5064888,44.9054969 C98.4067156,44.9209587 101.560259,48.0870847 101.560259,51.9873422 L101.560259,51.9873422 Z",
|
|
232
|
+
"fill": "#32A5FB",
|
|
233
|
+
"fill-rule": "nonzero",
|
|
234
|
+
"opacity": ".18"
|
|
235
|
+
}
|
|
236
|
+
}), h("rect", {
|
|
237
|
+
"attrs": {
|
|
238
|
+
"fill": "#FFF",
|
|
239
|
+
"fill-rule": "nonzero",
|
|
240
|
+
"x": "39.2765177",
|
|
241
|
+
"y": "41.1505045",
|
|
242
|
+
"width": "61.0624918",
|
|
243
|
+
"height": "28.4537175",
|
|
244
|
+
"rx": "10.293968"
|
|
245
|
+
}
|
|
246
|
+
}), h("path", {
|
|
247
|
+
"attrs": {
|
|
248
|
+
"fill": "#32A5FB",
|
|
249
|
+
"fill-rule": "nonzero",
|
|
250
|
+
"d": "M98.198313 36.90420486A5.10257834 5.10257834 0 1 0 98.198313 47.10936154A5.10257834 5.10257834 0 1 0 98.198313 36.90420486Z"
|
|
251
|
+
}
|
|
252
|
+
}), h("rect", {
|
|
253
|
+
"attrs": {
|
|
254
|
+
"fill": "#32A5FB",
|
|
255
|
+
"fill-rule": "nonzero",
|
|
256
|
+
"x": "51.3346052",
|
|
257
|
+
"y": "50.2396916",
|
|
258
|
+
"width": "35.9637021",
|
|
259
|
+
"height": "2.81448957",
|
|
260
|
+
"rx": "1.40724478"
|
|
261
|
+
}
|
|
262
|
+
}), h("rect", {
|
|
263
|
+
"attrs": {
|
|
264
|
+
"fill": "#32A5FB",
|
|
265
|
+
"fill-rule": "nonzero",
|
|
266
|
+
"x": "51.3346052",
|
|
267
|
+
"y": "57.7286201",
|
|
268
|
+
"width": "35.9637021",
|
|
269
|
+
"height": "2.81448957",
|
|
270
|
+
"rx": "1.40724478"
|
|
271
|
+
}
|
|
272
|
+
}), h("path", {
|
|
273
|
+
"attrs": {
|
|
274
|
+
"d": "M213.318657,186.77402 C213.93303,187.542277 214.016477,188.607626 213.529217,189.462173 C213.016797,190.279411 212.036139,190.673375 211.100755,190.437769 C210.94034,190.397417 210.791416,190.320553 210.665597,190.213171 C210.405906,189.960499 210.363794,189.511304 210.11814,189.258631 C209.862498,189.048652 209.554217,188.912717 209.226768,188.865585 C208.646666,188.653264 208.100515,188.357728 207.605454,187.988251 C207.525231,187.942825 207.455794,187.88057 207.401912,187.805765 C207.351932,187.712973 207.325425,187.609356 207.324706,187.503962 C207.204836,186.964707 207.287264,186.400206 207.556323,185.917741 C207.703758,185.737138 207.884932,185.586954 208.089742,185.475564 C208.476422,185.236037 208.919499,185.102872 209.37416,185.089537 C209.728575,185.113723 210.076865,185.19428 210.405906,185.328172 C211.338872,185.596367 212.214443,186.034153 212.988779,186.619609",
|
|
275
|
+
"fill": "#32A5FB",
|
|
276
|
+
"fill-rule": "nonzero"
|
|
277
|
+
}
|
|
278
|
+
}), h("path", {
|
|
279
|
+
"attrs": {
|
|
280
|
+
"d": "M211.500819,182.47157 L213.065984,187.861915 C213.065984,187.861915 212.7712,189.216519 211.114792,188.648006 C209.458384,188.079494 208.068686,183.833194 208.068686,183.833194 L211.500819,182.47157 Z",
|
|
281
|
+
"fill": "#FCBDBA",
|
|
282
|
+
"fill-rule": "nonzero"
|
|
283
|
+
}
|
|
284
|
+
}), h("path", {
|
|
285
|
+
"attrs": {
|
|
286
|
+
"d": "M194.978853,193.743566 C194.552385,193.671066 194.119842,193.640506 193.687417,193.652323 C193.249418,193.671353 192.838407,193.869247 192.550391,194.19978 C192.126215,194.883072 192.25669,195.772673 192.859213,196.305383 C193.447996,196.791822 194.169346,197.090143 194.929722,197.161662 C195.391683,197.267199 195.871497,197.267199 196.333458,197.161662 C196.916008,196.993214 197.470484,196.508925 198.053034,196.69141 C198.307458,196.797489 198.544152,196.941873 198.754902,197.11955 C199.580434,197.71725 200.727912,197.573048 201.379887,196.789672 C201.54861,196.537687 201.669916,196.257019 201.737839,195.961468 C201.983493,195.027984 201.871194,193.855865 201.09914,193.315427 C200.186712,192.66269 199.477825,193.111885 198.600491,193.413688 C197.430185,193.778498 196.19581,193.890932 194.978853,193.743566 Z",
|
|
287
|
+
"fill": "#32A5FB",
|
|
288
|
+
"fill-rule": "nonzero"
|
|
289
|
+
}
|
|
290
|
+
}), h("path", {
|
|
291
|
+
"attrs": {
|
|
292
|
+
"d": "M195.73687,188.514651 L198.024959,194.129593 C198.024959,194.129593 199.337452,194.922704 200.270936,194.57177 L201.190383,194.192761 L200.383235,186.352899 L195.73687,188.514651 Z",
|
|
293
|
+
"fill": "#FCBDBA",
|
|
294
|
+
"fill-rule": "nonzero"
|
|
295
|
+
}
|
|
296
|
+
}), h("path", {
|
|
297
|
+
"attrs": {
|
|
298
|
+
"d": "M178.730615,131.438768 C178.576205,131.235227 178.372663,131.010629 178.127009,131.045722 C177.881355,131.080816 177.839243,131.179077 177.691851,131.136965 C177.599923,131.104408 177.521087,131.042817 177.467254,130.961498 C177.117969,130.590902 176.729692,130.259101 176.309172,129.971865 C176.052846,129.746652 175.743849,129.58974 175.410781,129.515651 C174.914001,129.49069 174.45121,129.76781 174.238662,130.217518 C174.029496,130.654538 173.977439,131.15032 174.09127,131.621254 C174.215029,132.092099 174.404024,132.543324 174.652764,132.961821 C174.80347,133.275497 174.994599,133.568089 175.221277,133.832137 C175.923145,134.597173 177.088245,134.723509 178.028748,135.193761 C178.129121,135.254974 178.241751,135.293316 178.358626,135.306059 C178.561123,135.272667 178.735688,135.145 178.828877,134.962144 C179.192376,134.443598 179.412685,133.838354 179.467577,133.207475 C179.417108,132.554334 179.158847,131.934509 178.730615,131.438768 L178.730615,131.438768 Z",
|
|
299
|
+
"fill": "#FCBDBA",
|
|
300
|
+
"fill-rule": "nonzero"
|
|
301
|
+
}
|
|
302
|
+
}), h("path", {
|
|
303
|
+
"attrs": {
|
|
304
|
+
"d": "M187.854896,125.353575 C187.742193,125.322325 187.621841,125.334861 187.517999,125.388669 C187.45959,125.435384 187.407663,125.489671 187.363588,125.550098 C187.167065,125.760658 186.844206,125.767677 186.577497,125.886995 C186.231281,126.061685 185.975977,126.375709 185.875629,126.750292 C185.782483,127.119399 185.742308,127.499878 185.756311,127.880299 C185.738344,128.081377 185.759801,128.284029 185.819479,128.476887 C185.883838,128.668609 186.053632,128.805539 186.254637,128.82782 C186.414464,128.798905 186.56565,128.734111 186.696814,128.638316 C186.964239,128.491512 187.27427,128.441908 187.574149,128.497943 C187.959087,128.62233 188.326923,128.794458 188.669062,129.010306 C189.023999,129.220368 189.465189,129.220368 189.820125,129.010306 C189.975575,128.870606 190.097868,128.697956 190.178078,128.504961 C190.493918,127.803094 190.879946,127.02402 190.178078,126.455507 C189.519271,125.882281 188.715624,125.501095 187.854896,125.353575 L187.854896,125.353575 Z",
|
|
305
|
+
"fill": "#FCBDBA",
|
|
306
|
+
"fill-rule": "nonzero"
|
|
307
|
+
}
|
|
308
|
+
}), h("path", {
|
|
309
|
+
"attrs": {
|
|
310
|
+
"d": "M208.714405,151.147214 C208.549985,154.099597 208.219585,157.040391 207.724771,159.955654 C207.09309,162.847349 206.714082,166.13209 206.714082,166.13209 L212.56064,182.976915 C212.56064,182.976915 209.00217,185.342209 206.714082,184.422763 C204.425993,183.503316 198.635584,170.58895 198.635584,170.58895 L196.431719,155.898858 L202.26424,149.20304 L208.714405,151.147214 Z",
|
|
311
|
+
"fill": "#473F47",
|
|
312
|
+
"fill-rule": "nonzero"
|
|
313
|
+
}
|
|
314
|
+
}), h("path", {
|
|
315
|
+
"attrs": {
|
|
316
|
+
"d": "M192.578466,149.975095 C192.578466,149.975095 188.409371,163.640459 188.409371,167.19191 C188.409371,170.743361 193.40667,188.247942 193.40667,188.247942 C193.40667,188.247942 198.832107,190.086835 200.102488,188.247942 L201.372868,186.409048 L198.319744,168.792168 C198.319744,168.792168 202.643249,159.597701 203.408285,157.232407 C203.871142,155.774686 204.202346,154.278395 204.397918,152.76151 L192.578466,149.975095 Z",
|
|
317
|
+
"fill": "#473F47",
|
|
318
|
+
"fill-rule": "nonzero"
|
|
319
|
+
}
|
|
320
|
+
}), h("path", {
|
|
321
|
+
"attrs": {
|
|
322
|
+
"d": "M194.333135,112.544489 C193.845578,113.518538 193.534293,114.571203 193.413688,115.653763 C193.30181,116.743488 193.774265,117.811181 194.655994,118.461234 C194.921259,118.587774 195.168982,118.748204 195.392955,118.938504 C196.179047,119.738633 195.280656,121.1915 195.729852,122.230264 C196.104482,122.921228 196.936724,123.222765 197.667007,122.932132 C198.36668,122.60247 198.881795,121.976606 199.070742,121.226593 C199.27237,120.474116 199.362235,119.696076 199.337452,118.917448 L199.414657,114.278103 C199.52501,113.245983 199.36287,112.202966 198.944406,111.253053 C198.375251,110.252662 197.285596,109.664249 196.136935,109.737018 C195.056059,109.968635 194.726181,111.63908 194.333135,112.544489 Z",
|
|
323
|
+
"fill": "#FCBDBA",
|
|
324
|
+
"fill-rule": "nonzero"
|
|
325
|
+
}
|
|
326
|
+
}), h("path", {
|
|
327
|
+
"attrs": {
|
|
328
|
+
"d": "M178.148065,135.706124 C178.148065,135.706124 187.047748,143.658285 187.679429,143.658285 C188.31111,143.658285 192.262625,138.660987 192.262625,138.660987 L192.578466,149.968076 C193.67738,150.616727 194.822118,151.184405 196.00358,151.666596 C197.926698,152.452688 200.362179,153.18263 202.488838,152.986107 C206.812343,152.593061 208.714405,151.147214 208.714405,151.147214 L206.054326,124.518353 C206.054326,124.518353 201.014916,120.889696 199.29534,121.444172 C198.062761,121.664023 196.801001,121.664023 195.568422,121.444172 C193.08381,121.121313 190.543049,124.518353 190.543049,124.518353 L187.237252,135.376246 L179.481614,132.624925 C178.444862,133.279256 177.915475,134.502419 178.148065,135.706124 Z",
|
|
329
|
+
"fill": "#32A5FB",
|
|
330
|
+
"fill-rule": "nonzero"
|
|
331
|
+
}
|
|
332
|
+
}), h("path", {
|
|
333
|
+
"attrs": {
|
|
334
|
+
"d": "M195.084133,107.512098 C196.017617,106.662838 198.130239,106.311904 199.161985,106.199605 C200.766386,105.971207 202.391228,106.447145 203.618845,107.505079 C205.303327,109.105337 205.478794,111.716285 205.457738,114.116673 C205.436682,116.517061 205.401589,119.092915 206.805324,120.917771 C208.012537,122.475918 209.984785,123.121636 211.521875,124.32183 C213.057154,125.460279 214.028716,127.203977 214.188973,129.108567 C214.546925,136.323768 203.527602,133.228531 199.884909,131.621254 C199.240321,131.372555 198.647673,131.006017 198.137258,130.540378 C197.598548,129.958233 197.202142,129.259117 196.979176,128.497943 C196.1241,125.919327 196.269401,123.113521 197.386259,120.637024 C197.554708,120.272053 197.737193,119.815839 197.505577,119.49298 C197.379039,119.350052 197.220234,119.23937 197.042344,119.170121 C196.091205,118.775322 195.457688,117.86207 195.42103,116.832901 C195.571841,116.09362 195.904758,115.403661 196.389607,114.825559 C196.872507,114.238155 197.035256,113.450661 196.824765,112.719956 C196.572093,112.151443 195.968487,111.870696 195.519291,111.456594 C194.7332,110.754727 194.164687,108.866702 194.817424,107.856013 C194.892006,107.730952 194.981571,107.61546 195.084133,107.512098 Z",
|
|
335
|
+
"fill": "#F6A569",
|
|
336
|
+
"fill-rule": "nonzero"
|
|
337
|
+
}
|
|
338
|
+
})])]);
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
exports.default = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.zt-empty{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;box-sizing:border-box;background:#fff;padding:32px 48px}.zt-empty__image{width:280px;height:260px}.zt-empty__image img{width:100%;height:100%}.zt-empty__description{margin-top:8px;padding:0 2px;color:#000;font-size:16px;line-height:24px}.zt-empty__bottom{margin-top:24px}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
exports.__esModule = true;
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _utils = require("../utils");
|
|
9
|
+
|
|
10
|
+
var _Search = _interopRequireDefault(require("./Search"));
|
|
11
|
+
|
|
12
|
+
var _NotFound = _interopRequireDefault(require("./NotFound"));
|
|
13
|
+
|
|
14
|
+
var _Developing = _interopRequireDefault(require("./Developing"));
|
|
15
|
+
|
|
16
|
+
var _Error = _interopRequireDefault(require("./Error"));
|
|
17
|
+
|
|
18
|
+
var _NotRight = _interopRequireDefault(require("./NotRight"));
|
|
19
|
+
|
|
20
|
+
var _createNamespace = (0, _utils.createNamespace)('empty'),
|
|
21
|
+
createComponent = _createNamespace[0],
|
|
22
|
+
bem = _createNamespace[1],
|
|
23
|
+
t = _createNamespace[2];
|
|
24
|
+
|
|
25
|
+
var _default = createComponent({
|
|
26
|
+
props: {
|
|
27
|
+
imageWidth: [Number, String],
|
|
28
|
+
imageHeight: [Number, String],
|
|
29
|
+
description: String,
|
|
30
|
+
image: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: 'default'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
methods: {
|
|
36
|
+
genImageContent: function genImageContent() {
|
|
37
|
+
var h = this.$createElement;
|
|
38
|
+
var slots = this.slots('image');
|
|
39
|
+
|
|
40
|
+
if (slots) {
|
|
41
|
+
return slots;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (this.image === 'default') {
|
|
45
|
+
return h(_Search.default);
|
|
46
|
+
} else if (this.image === 'not-search-result') {
|
|
47
|
+
return h(_Search.default);
|
|
48
|
+
} else if (this.image === 'not-found') {
|
|
49
|
+
return h(_NotFound.default);
|
|
50
|
+
} else if (this.image === 'developing') {
|
|
51
|
+
return h(_Developing.default);
|
|
52
|
+
} else if (this.image === 'error') {
|
|
53
|
+
return h(_Error.default);
|
|
54
|
+
} else if (this.image === 'not-right') {
|
|
55
|
+
return h(_NotRight.default);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
var image = this.image;
|
|
59
|
+
return h("img", {
|
|
60
|
+
"attrs": {
|
|
61
|
+
"src": image
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
genImage: function genImage() {
|
|
66
|
+
var h = this.$createElement;
|
|
67
|
+
var imageStyle = {
|
|
68
|
+
width: (0, _utils.addUnit)(this.imageWidth),
|
|
69
|
+
height: (0, _utils.addUnit)(this.imageHeight)
|
|
70
|
+
};
|
|
71
|
+
return h("div", {
|
|
72
|
+
"class": bem('image'),
|
|
73
|
+
"style": imageStyle
|
|
74
|
+
}, [this.genImageContent()]);
|
|
75
|
+
},
|
|
76
|
+
genDescription: function genDescription() {
|
|
77
|
+
var h = this.$createElement;
|
|
78
|
+
var description = this.slots('description') || this.description;
|
|
79
|
+
|
|
80
|
+
if (!description) {
|
|
81
|
+
if (this.image === 'not-search-result') {
|
|
82
|
+
description = t('notSearchResult');
|
|
83
|
+
} else if (this.image === 'not-found') {
|
|
84
|
+
description = t('notFound');
|
|
85
|
+
} else if (this.image === 'developing') {
|
|
86
|
+
description = t('developing');
|
|
87
|
+
} else if (this.image === 'error') {
|
|
88
|
+
description = t('error');
|
|
89
|
+
} else if (this.image === 'not-right') {
|
|
90
|
+
description = t('notRight');
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (description) {
|
|
95
|
+
return h("p", {
|
|
96
|
+
"class": bem('description')
|
|
97
|
+
}, [description]);
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
genBottom: function genBottom() {
|
|
101
|
+
var h = this.$createElement;
|
|
102
|
+
var slot = this.slots();
|
|
103
|
+
|
|
104
|
+
if (slot) {
|
|
105
|
+
return h("div", {
|
|
106
|
+
"class": bem('bottom')
|
|
107
|
+
}, [slot]);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
render: function render() {
|
|
112
|
+
var h = arguments[0];
|
|
113
|
+
return h("div", {
|
|
114
|
+
"class": bem()
|
|
115
|
+
}, [this.genImage(), this.genDescription(), this.genBottom()]);
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
exports.default = _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import '../style/var';
|
|
2
|
+
|
|
3
|
+
.zt-empty {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
background: @empty-background-color;
|
|
10
|
+
padding: @empty-padding;
|
|
11
|
+
|
|
12
|
+
&__image {
|
|
13
|
+
width: @empty-image-width;
|
|
14
|
+
height: @empty-image-height;
|
|
15
|
+
|
|
16
|
+
img {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__description {
|
|
23
|
+
margin-top: @empty-description-margin-top;
|
|
24
|
+
padding: @empty-description-padding;
|
|
25
|
+
color: @empty-description-color;
|
|
26
|
+
font-size: @empty-description-font-size;
|
|
27
|
+
line-height: @empty-description-line-height;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__bottom {
|
|
31
|
+
margin-top: @empty-bottom-margin-top;
|
|
32
|
+
}
|
|
33
|
+
}
|