vdesign-ui 0.1.18 → 0.1.19

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.
Files changed (192) hide show
  1. package/dist/css/chunk-1952c402.04c2303e.css +1 -0
  2. package/dist/css/chunk-6a5c6104.38021b56.css +1 -0
  3. package/dist/css/chunk-vendors.4ecfba63.css +1 -0
  4. package/dist/css/sites.395ce21f.css +1 -0
  5. package/dist/img/404-dark.775df5bb.png +0 -0
  6. package/dist/img/bg_mobile.5909f667.png +0 -0
  7. package/dist/img/icon.a67073c3.svg +7 -0
  8. package/dist/img/iphoneX.38c8778e.png +0 -0
  9. package/dist/img/logo-white.fad4f907.png +0 -0
  10. package/dist/img/logo.1eda11d6.png +0 -0
  11. package/dist/img/network-dark.11a147bb.png +0 -0
  12. package/dist/img/nodata-dark.b0ea0e39.png +0 -0
  13. package/dist/img/qrcode2.0a9d9044.png +0 -0
  14. package/dist/index.html +1 -0
  15. package/dist/js/chunk-1952c402.c58ecfb5.js +1 -0
  16. package/dist/js/chunk-2d2183be.2a64419d.js +1 -0
  17. package/dist/js/chunk-6a5c6104.c8fa5635.js +1 -0
  18. package/dist/js/chunk-vendors.490b7673.js +37 -0
  19. package/dist/js/sites.5a217467.js +1 -0
  20. package/package.json +1 -1
  21. package/dist/components/actionbar/actionbar-cell/index.vue +0 -34
  22. package/dist/components/actionbar/index.js +0 -8
  23. package/dist/components/actionbar/index.vue +0 -39
  24. package/dist/components/actionbar/style.less +0 -48
  25. package/dist/components/actions-cell/actions/index.js +0 -7
  26. package/dist/components/actions-cell/actions/index.vue +0 -76
  27. package/dist/components/actions-cell/actions/style.less +0 -112
  28. package/dist/components/actions-cell/index.js +0 -7
  29. package/dist/components/actions-cell/index.vue +0 -94
  30. package/dist/components/actions-cell/style.less +0 -39
  31. package/dist/components/activityviews/index.js +0 -8
  32. package/dist/components/activityviews/index.vue +0 -139
  33. package/dist/components/activityviews/style.less +0 -150
  34. package/dist/components/badge/index.js +0 -8
  35. package/dist/components/badge/index.vue +0 -49
  36. package/dist/components/badge/style.less +0 -66
  37. package/dist/components/button/index.js +0 -8
  38. package/dist/components/button/index.vue +0 -89
  39. package/dist/components/button/style.less +0 -563
  40. package/dist/components/calendar/end.png +0 -0
  41. package/dist/components/calendar/index-element.vue +0 -84
  42. package/dist/components/calendar/index.js +0 -8
  43. package/dist/components/calendar/index.vue +0 -52
  44. package/dist/components/calendar/start.png +0 -0
  45. package/dist/components/calendar/style.less +0 -167
  46. package/dist/components/checkbox/assist.js +0 -34
  47. package/dist/components/checkbox/checkbox-group/index.js +0 -8
  48. package/dist/components/checkbox/checkbox-group/index.vue +0 -69
  49. package/dist/components/checkbox/index.js +0 -8
  50. package/dist/components/checkbox/index.vue +0 -184
  51. package/dist/components/checkbox/style.less +0 -291
  52. package/dist/components/common/state/index.vue +0 -80
  53. package/dist/components/data-list/index.js +0 -10
  54. package/dist/components/data-list/index.vue +0 -19
  55. package/dist/components/data-list/style.less +0 -624
  56. package/dist/components/datetime-picker/index.js +0 -8
  57. package/dist/components/datetime-picker/index.vue +0 -37
  58. package/dist/components/datetime-picker/style.less +0 -24
  59. package/dist/components/dialog/index.js +0 -8
  60. package/dist/components/dialog/index.vue +0 -111
  61. package/dist/components/dialog/style.less +0 -132
  62. package/dist/components/divider/index.js +0 -8
  63. package/dist/components/divider/index.vue +0 -54
  64. package/dist/components/divider/style.less +0 -92
  65. package/dist/components/dropdown/index.js +0 -8
  66. package/dist/components/dropdown/index.vue +0 -210
  67. package/dist/components/dropdown/style.less +0 -418
  68. package/dist/components/empty/empty-404.png +0 -0
  69. package/dist/components/empty/empty-img.png +0 -0
  70. package/dist/components/empty/empty-network.png +0 -0
  71. package/dist/components/empty/index.js +0 -8
  72. package/dist/components/empty/index.vue +0 -65
  73. package/dist/components/empty/style.less +0 -53
  74. package/dist/components/footer/index.js +0 -7
  75. package/dist/components/footer/index.vue +0 -29
  76. package/dist/components/footer/style.less +0 -22
  77. package/dist/components/footnav/footnav-item/index.js +0 -7
  78. package/dist/components/footnav/footnav-item/index.vue +0 -75
  79. package/dist/components/footnav/footnav-item/style.less +0 -39
  80. package/dist/components/footnav/index.js +0 -7
  81. package/dist/components/footnav/index.vue +0 -82
  82. package/dist/components/footnav/style.less +0 -22
  83. package/dist/components/form/index.js +0 -7
  84. package/dist/components/form/index.vue +0 -12
  85. package/dist/components/headnav/index.js +0 -7
  86. package/dist/components/headnav/index.vue +0 -139
  87. package/dist/components/headnav/style.less +0 -232
  88. package/dist/components/icon/font/iconfont.css +0 -1041
  89. package/dist/components/icon/font/iconfont.js +0 -2
  90. package/dist/components/icon/index.js +0 -9
  91. package/dist/components/icon/index.vue +0 -46
  92. package/dist/components/icon/style.less +0 -44
  93. package/dist/components/input/calcTextareaHeight.js +0 -266
  94. package/dist/components/input/index.js +0 -8
  95. package/dist/components/input/index.vue +0 -343
  96. package/dist/components/input/password/index.js +0 -8
  97. package/dist/components/input/password/index.vue +0 -60
  98. package/dist/components/input/search/index.js +0 -8
  99. package/dist/components/input/search/index.vue +0 -66
  100. package/dist/components/input/stepper/index.js +0 -8
  101. package/dist/components/input/stepper/index.vue +0 -136
  102. package/dist/components/input/style.less +0 -497
  103. package/dist/components/list/index.js +0 -8
  104. package/dist/components/list/index.vue +0 -159
  105. package/dist/components/list/style.less +0 -292
  106. package/dist/components/loading/index.js +0 -7
  107. package/dist/components/loading/index.vue +0 -53
  108. package/dist/components/loading/loading.png +0 -0
  109. package/dist/components/loading/refresh.png +0 -0
  110. package/dist/components/loading/style.less +0 -48
  111. package/dist/components/mixins/clickoutside.js +0 -81
  112. package/dist/components/mixins/dom.js +0 -41
  113. package/dist/components/mixins/languageMixin.js +0 -38
  114. package/dist/components/mixins/outlineConfigPlugin.js +0 -40
  115. package/dist/components/mixins/router-link.js +0 -23
  116. package/dist/components/mixins/themeMixin.js +0 -29
  117. package/dist/components/noticebar/index.js +0 -8
  118. package/dist/components/noticebar/index.vue +0 -247
  119. package/dist/components/noticebar/style.less +0 -332
  120. package/dist/components/overlay/index.js +0 -8
  121. package/dist/components/overlay/index.vue +0 -161
  122. package/dist/components/overlay/style.less +0 -23
  123. package/dist/components/pagebreak/index.js +0 -7
  124. package/dist/components/pagebreak/index.vue +0 -60
  125. package/dist/components/pagebreak/style.less +0 -43
  126. package/dist/components/popover/index.js +0 -8
  127. package/dist/components/popover/index.vue +0 -99
  128. package/dist/components/popover/style.less +0 -346
  129. package/dist/components/popover/vue-popover.vue +0 -314
  130. package/dist/components/radio/assist.js +0 -34
  131. package/dist/components/radio/index.js +0 -8
  132. package/dist/components/radio/index.vue +0 -159
  133. package/dist/components/radio/radio-group/index.vue +0 -70
  134. package/dist/components/radio/style.less +0 -297
  135. package/dist/components/result/completed-dark.png +0 -0
  136. package/dist/components/result/completed.png +0 -0
  137. package/dist/components/result/error-dark.png +0 -0
  138. package/dist/components/result/error.png +0 -0
  139. package/dist/components/result/index.js +0 -8
  140. package/dist/components/result/index.vue +0 -66
  141. package/dist/components/result/style.less +0 -42
  142. package/dist/components/result/wait-dark.png +0 -0
  143. package/dist/components/result/wait.png +0 -0
  144. package/dist/components/selector/index.js +0 -8
  145. package/dist/components/selector/index.vue +0 -124
  146. package/dist/components/selector/style.less +0 -474
  147. package/dist/components/skeleton/index.js +0 -7
  148. package/dist/components/skeleton/index.vue +0 -142
  149. package/dist/components/skeleton/style.less +0 -192
  150. package/dist/components/slider/draggable.js +0 -49
  151. package/dist/components/slider/index.js +0 -7
  152. package/dist/components/slider/index.vue +0 -173
  153. package/dist/components/slider/style.less +0 -96
  154. package/dist/components/slider/utils.js +0 -60
  155. package/dist/components/step/index.js +0 -7
  156. package/dist/components/step/index.vue +0 -48
  157. package/dist/components/step/style.less +0 -59
  158. package/dist/components/step-item/index.js +0 -7
  159. package/dist/components/step-item/index.vue +0 -117
  160. package/dist/components/step-item/style.less +0 -361
  161. package/dist/components/style/index.vue +0 -42
  162. package/dist/components/switch/index.js +0 -8
  163. package/dist/components/switch/index.vue +0 -72
  164. package/dist/components/switch/style.less +0 -56
  165. package/dist/components/tabs/index.js +0 -8
  166. package/dist/components/tabs/index.vue +0 -145
  167. package/dist/components/tabs/style.less +0 -383
  168. package/dist/components/tabs/tab/index.vue +0 -56
  169. package/dist/components/tag/index.js +0 -7
  170. package/dist/components/tag/index.vue +0 -50
  171. package/dist/components/tag/style.less +0 -211
  172. package/dist/components/title/index.js +0 -8
  173. package/dist/components/title/index.vue +0 -92
  174. package/dist/components/title/style.less +0 -188
  175. package/dist/components/toast/index.js +0 -80
  176. package/dist/components/toast/index.vue +0 -44
  177. package/dist/components/toast/style.less +0 -55
  178. package/dist/components/transition/index.js +0 -8
  179. package/dist/components/transition/index.vue +0 -13
  180. package/dist/components/transition/style.less +0 -208
  181. package/dist/components/upload/index.js +0 -7
  182. package/dist/components/upload/index.vue +0 -224
  183. package/dist/components/upload/style.less +0 -156
  184. package/dist/demo.html +0 -10
  185. package/dist/locale/ar.js +0 -98
  186. package/dist/locale/en.js +0 -98
  187. package/dist/locale/zh.js +0 -98
  188. package/dist/token.css +0 -2981
  189. package/dist/vdesign-ui.common.js +0 -27025
  190. package/dist/vdesign-ui.css +0 -1
  191. package/dist/vdesign-ui.umd.js +0 -27035
  192. package/dist/vdesign-ui.umd.min.js +0 -32
@@ -1,418 +0,0 @@
1
- .vd-menu-mask {
2
- position: fixed;
3
- z-index: 999;
4
- top: 0;
5
- right: 0;
6
- left: 0;
7
- bottom: 0;
8
- background-color: rgba(0, 0, 0, 0);
9
- }
10
-
11
-
12
- @dropdown-prefix-cls: vd-dropdown;
13
-
14
-
15
- .@{dropdown-prefix-cls} {
16
- --translate-x: -50%;
17
-
18
- position: relative;
19
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
20
-
21
- // 额外加的 btn,token之外的
22
- &--btn {
23
- display: flex;
24
- align-items: center;
25
- flex-wrap: nowrap;
26
- flex-direction: row;
27
- justify-content: space-between;
28
- padding: 10px 0;
29
- gap: 10px;
30
- }
31
-
32
- &-menu {
33
- z-index: 1000;
34
- background: #fff;
35
- transform-origin: top center;
36
- position: absolute;
37
- transition: transform 0.25s ease, opacity 0.25s ease;
38
- inset-inline-start: 50%;
39
- inset-block-start: 100%;
40
- transform: translate(var(--translate-x), 2px);
41
- }
42
-
43
-
44
- &-primary {
45
- .@{dropdown-prefix-cls}-menu {
46
- display: inline-block;
47
- overflow-y: auto;
48
- min-width: calc(var(--width-dropdown-primary_small) * 1px);
49
- max-height: calc(var(--height-dropdown-primary_large) * 1px);
50
- background-color: var(--color-dropdown-bg-default);
51
- padding-block-start: calc(var(--spacing-dropdown-primary-padding_x) * 1px);
52
- padding-block-end: calc(var(--spacing-dropdown-primary-padding_x) * 1px);
53
- padding-inline-start: calc(var(--spacing-dropdown-primary-padding_y) * 1px);
54
- padding-inline-end: calc(var(--spacing-dropdown-primary-padding_y) * 1px);
55
- box-shadow: var(--shadow-s2);
56
- border-radius: calc(var(--radius-dropdown-primary) * 1px);
57
- }
58
-
59
- .@{dropdown-prefix-cls}-item {
60
- position: relative;
61
- display: flex;
62
- justify-content: space-between;
63
- align-items: center;
64
- height: calc(var(--height-dropdown-primary_item) * 1px);
65
- line-height: calc(var(--height-dropdown-primary_item) * 1px);
66
- }
67
-
68
- .@{dropdown-prefix-cls} {
69
- &-left {
70
- display: flex;
71
- align-items: center;
72
- }
73
-
74
- &-text {
75
- white-space: nowrap;
76
- color: var(--color-dropdown-primary-text-default);
77
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
78
- font-weight: var(--en-single-f-c-r-fontWeight);
79
- }
80
-
81
- &-icon {
82
- font-size: calc(var(--icon-dropdown-primary) * 1px);
83
- margin-inline-end: calc(var(--spacing-dropdown-primary_icon-margin_right) * 1px);
84
- }
85
-
86
- &-active-select {
87
- font-size: calc(var(--icon-dropdown-primary_select) * 1px);
88
- margin-inline-start: calc(var(--spacing-dropdown-primary_icon_select-margin_left) * 1px);
89
- transform: scaleX(1) !important;
90
- direction: ltr;
91
- }
92
-
93
- }
94
-
95
- .@{dropdown-prefix-cls}--active {
96
- .@{dropdown-prefix-cls}-text {
97
- color: var(--color-dropdown-primary-text-active);
98
- font-size: calc(var(--en-single-f-c-s-fontSize) * 1px);
99
- font-weight: var(--en-single-f-c-s-fontWeight);
100
- }
101
- }
102
-
103
- .@{dropdown-prefix-cls}--disabled {
104
- pointer-events: none;
105
- cursor: not-allowed;
106
-
107
- .@{dropdown-prefix-cls}-text {
108
- color: var(--color-dropdown-primary-text-disable);
109
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
110
- font-weight: var(--en-single-f-c-r-fontWeight);
111
- }
112
-
113
- .@{dropdown-prefix-cls}-icon {
114
- opacity: var(--opacity-30);
115
- }
116
- }
117
- }
118
-
119
- &-secondary {
120
- .@{dropdown-prefix-cls}-menu {
121
- display: inline-block;
122
- overflow-y: auto;
123
- max-height: calc(var(--height-dropdown-secondary_large) * 1px);
124
- background-color: var(--color-dropdown-bg-default);
125
- padding-block-start: calc(var(--spacing-dropdown-secondary-padding_x) * 1px);
126
- padding-block-end: calc(var(--spacing-dropdown-secondary-padding_x) * 1px);
127
- padding-inline-start: calc(var(--spacing-dropdown-secondary-padding_y) * 1px);
128
- padding-inline-end: calc(var(--spacing-dropdown-secondary-padding_y) * 1px);
129
- box-shadow: var(--shadow-s2);
130
- border-radius: calc(var(--radius-dropdown-secondary) * 1px);
131
- }
132
-
133
- .@{dropdown-prefix-cls}-item {
134
- position: relative;
135
- display: flex;
136
- justify-content: space-between;
137
- align-items: center;
138
- height: calc(var(--height-dropdown-secondary_item) * 1px);
139
- line-height: calc(var(--height-dropdown-secondary_item) * 1px);
140
- }
141
-
142
- .@{dropdown-prefix-cls} {
143
- &-left {
144
- display: flex;
145
- align-items: center;
146
- }
147
-
148
- &-text {
149
- white-space: nowrap;
150
- color: var(--color-dropdown-secondary-text-default);
151
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
152
- font-weight: var(--en-single-f-c-r-fontWeight);
153
- }
154
-
155
- &-icon {
156
- font-size: calc(var(--icon-dropdown-secondary) * 1px);
157
- margin-inline-end: calc(var(--spacing-dropdown-secondary_icon-margin_right) * 1px);
158
- }
159
-
160
-
161
- }
162
-
163
- .@{dropdown-prefix-cls}--active {
164
- .@{dropdown-prefix-cls}-text {
165
- color: var(--color-dropdown-secondary-text-active);
166
- font-size: calc(var(--en-single-f-c-s-fontSize) * 1px);
167
- font-weight: var(--en-single-f-c-s-fontWeight);
168
- }
169
- }
170
-
171
- .@{dropdown-prefix-cls}--disabled {
172
- pointer-events: none;
173
- cursor: not-allowed;
174
-
175
- .@{dropdown-prefix-cls}-text {
176
- color: var(--color-dropdown-secondary-text-disable);
177
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
178
- font-weight: var(--en-single-f-c-r-fontWeight);
179
- }
180
-
181
- .@{dropdown-prefix-cls}-icon {
182
- opacity: var(--opacity-30);
183
- }
184
- }
185
- }
186
-
187
- &-state {
188
- .@{dropdown-prefix-cls}-menu {
189
- overflow-y: auto;
190
- min-width: calc(var(--width-dropdown-state_small) * 1px);
191
- max-height: calc(var(--height-dropdown-state_large) * 1px);
192
- background-color: var(--color-dropdown-bg-default);
193
- padding-block-start: calc(var(--spacing-dropdown-state-padding_x) * 1px);
194
- padding-block-end: calc(var(--spacing-dropdown-state-padding_x) * 1px);
195
- padding-inline-start: calc(var(--spacing-dropdown-state-padding_y) * 1px);
196
- padding-inline-end: calc(var(--spacing-dropdown-state-padding_y) * 1px);
197
- box-shadow: var(--shadow-s2);
198
- border-radius: calc(var(--radius-dropdown-state) * 1px);
199
- }
200
-
201
- .@{dropdown-prefix-cls}-item {
202
- position: relative;
203
- display: flex;
204
- justify-content: space-between;
205
- align-items: center;
206
- height: calc(var(--height-dropdown-state_item) * 1px);
207
- line-height: calc(var(--height-dropdown-state_item) * 1px);
208
- padding-inline-start: calc(var(--spacing-dropdown-state_item-padding_y) * 1px);
209
- padding-inline-end: calc(var(--spacing-dropdown-state_item-padding_y) * 1px);
210
- border-radius: calc(var(--radius-dropdown-state_item) * 1px);
211
- }
212
-
213
- .@{dropdown-prefix-cls} {
214
- &-left {
215
- display: flex;
216
- align-items: center;
217
- flex: 1;
218
- overflow: hidden;
219
- }
220
-
221
- &-text {
222
- text-overflow: ellipsis;
223
- overflow: hidden;
224
- white-space: nowrap;
225
- color: var(--color-dropdown-state-text-default);
226
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
227
- font-weight: var(--en-single-f-c-r-fontWeight);
228
- }
229
-
230
- &-icon {
231
- font-size: calc(var(--icon-dropdown-state) * 1px);
232
- margin-inline-end: calc(var(--spacing-dropdown-state_icon-margin_right) * 1px);
233
- }
234
-
235
- &-state-text {
236
- font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
237
- font-weight: var(--en-single-f-b-r-fontWeight);
238
-
239
- &::before {
240
- content: '';
241
- display: inline-block;
242
- border-radius: 50%;
243
- width: calc(var(--width-dropdown-state_drop) * 1px);
244
- height: calc(var(--width-dropdown-state_drop) * 1px);
245
- margin-inline-start: calc(var(--spacing-dropdown-state_drop-margin_left) * 1px);
246
- margin-inline-end: calc(var(--spacing-dropdown-state_drop-margin_right) * 1px);
247
- background-color: var(--color-dropdown-state-open);
248
- }
249
-
250
- &--open {
251
- color: var(--color-dropdown-state-open);
252
-
253
- &::before {
254
- background-color: var(--color-dropdown-state-open);
255
- }
256
- }
257
-
258
- &--preopen {
259
- color: var(--color-dropdown-state-preopen);
260
-
261
- &::before {
262
- background-color: var(--color-dropdown-state-preopen);
263
- }
264
- }
265
-
266
- &--close {
267
- color: var(--color-dropdown-state-close);
268
-
269
- &::before {
270
- background-color: var(--text-color-h3);
271
- }
272
- }
273
-
274
- &--fusing {
275
- color: var(--color-dropdown-state-fusing);
276
-
277
- &::before {
278
- background-color: var(--color-dropdown-state-fusing);
279
- }
280
- }
281
-
282
- &--pre {
283
- color: var(--color-dropdown-state-pre_market_auction);
284
-
285
- &::before {
286
- background-color: var(--color-dropdown-state-pre_market_auction);
287
- }
288
- }
289
-
290
- &--last {
291
- color: var(--color-dropdown-state-last_trading_session);
292
-
293
- &::before {
294
- background-color: var(--color-dropdown-state-last_trading_session);
295
- }
296
- }
297
- }
298
-
299
-
300
- }
301
-
302
- .@{dropdown-prefix-cls}--active {
303
- background: var(--color-dropdown-state-bg-active);
304
-
305
- .@{dropdown-prefix-cls}-text {
306
- color: var(--color-dropdown-state-text-active);
307
- }
308
- }
309
-
310
- .@{dropdown-prefix-cls}--disabled {
311
- pointer-events: none;
312
- cursor: not-allowed;
313
-
314
- .@{dropdown-prefix-cls}-text {
315
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
316
- font-weight: var(--en-single-f-c-r-fontWeight);
317
- }
318
-
319
- .@{dropdown-prefix-cls}-icon {
320
- opacity: var(--opacity-30);
321
- }
322
-
323
- }
324
- }
325
-
326
- &-group {
327
- .@{dropdown-prefix-cls}-menu {
328
- overflow-y: auto;
329
- min-width: calc(var(--width-dropdown-group_default) * 1px);
330
- max-height: calc(var(--height-dropdown-group_large) * 1px);
331
- background-color: var(--color-dropdown-bg-default);
332
- padding-block-start: calc(var(--spacing-dropdown-group-padding_x) * 1px);
333
- padding-block-end: calc(var(--spacing-dropdown-group-padding_x) * 1px);
334
- padding-inline-start: calc(var(--spacing-dropdown-group-padding_y) * 1px);
335
- padding-inline-end: calc(var(--spacing-dropdown-group-padding_y) * 1px);
336
- box-shadow: var(--shadow-s2);
337
- border-radius: calc(var(--radius-dropdown-group) * 1px);
338
- }
339
-
340
- .@{dropdown-prefix-cls}-item {
341
- position: relative;
342
- display: flex;
343
- justify-content: space-between;
344
- align-items: center;
345
- padding-block-start: calc(var(--spacing-dropdown-group_item-padding_top) * 1px);
346
- padding-block-end: calc(var(--spacing-dropdown-group_item-padding_bottom) * 1px);
347
-
348
- }
349
-
350
- .@{dropdown-prefix-cls} {
351
- &-left {
352
- display: flex;
353
- align-items: center;
354
- }
355
-
356
- &-group-cell {
357
- display: flex;
358
- flex-direction: column;
359
- color: var(--color-dropdown-state-text-default);
360
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
361
- font-weight: var(--en-single-f-c-r-fontWeight);
362
- }
363
-
364
- &-text {
365
- color: var(--color-dropdown-group-title-default);
366
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
367
- font-weight: var(--en-single-f-c-r-fontWeight);
368
- }
369
-
370
- &-group-sub {
371
- display: flex;
372
- align-items: center;
373
- margin-block-start: calc(var(--spacing-dropdown-group_text-margin_bottom) * 1px);
374
- }
375
-
376
- &-sub-icon {
377
- font-size: calc(var(--icon-dropdown-group) * 1px);
378
- margin-inline-end: 6px;
379
- }
380
-
381
- &-subtext {
382
- color: var(--color-dropdown-group-text-default);
383
- font-size: calc(var(--en-single-f-c-s-fontSize) * 1px);
384
- font-weight: var(--en-single-f-c-s-fontWeight);
385
- }
386
-
387
- &-multext {
388
- margin-block-start: calc(var(--spacing-dropdown-group_text-margin_bottom) * 1px);
389
- }
390
-
391
- }
392
- }
393
-
394
- &--divided {
395
- .@{dropdown-prefix-cls}-item {
396
- &:not(:last-child)::after {
397
- position: absolute;
398
- box-sizing: border-box;
399
- content: ' ';
400
- pointer-events: none;
401
- top: -50%;
402
- right: -50%;
403
- bottom: -50%;
404
- left: -50%;
405
- border: 0 solid var(--color-dropdown-divider);
406
- -webkit-transform: scale(0.5);
407
- transform: scale(0.5);
408
- border-bottom-width: 1px;
409
- }
410
- }
411
- }
412
- }
413
-
414
-
415
-
416
- [dir="rtl"] .@{dropdown-prefix-cls} {
417
- --translate-x: 50%;
418
- }
Binary file
Binary file
@@ -1,8 +0,0 @@
1
- import Empty from './index.vue';
2
- import './style.less';
3
-
4
- Empty.install = function (Vue) {
5
- Vue.component(Empty.name, Empty);
6
- };
7
-
8
- export default Empty;
@@ -1,65 +0,0 @@
1
- <template>
2
- <div class="vd-empty" :class="wrapClasses">
3
- <div class="vd-empty-img"><img :src="currentImg" alt="img"></div>
4
- <p class="vd-empty-txt" :class="textClasses" v-if="description">{{ description }}</p>
5
- <div class="vd-empty-footer" :class="footerClasses" v-if="$slots.btn">
6
- <slot name="btn"></slot>
7
- </div>
8
- </div>
9
- </template>
10
-
11
- <script>
12
- const prefixCls = 'vd-empty';
13
-
14
- export default {
15
- name: 'vd-empty',
16
- props: {
17
- imgs: String,
18
- description: String,
19
- size: String,
20
- type: {
21
- type: String,
22
- default: 'default' // 默认类型
23
- },
24
- },
25
- data() {
26
- return {
27
- defaultImgs: {
28
- default: require('./empty-img.png'),
29
- network: require('./empty-network.png'),
30
- 'not-found': require('./empty-404.png'),
31
- }
32
- }
33
- },
34
- computed: {
35
- currentImg() {
36
- return this.imgs || this.defaultImgs[this.type];
37
- },
38
- wrapClasses() {
39
- return [
40
- {
41
- [`${prefixCls}-${this.size}`]: this.size
42
- }
43
- ]
44
- },
45
- textClasses() {
46
- return [
47
- {
48
- [`${prefixCls}-${this.size}-txt`]: this.size
49
- }
50
- ]
51
- },
52
- footerClasses() {
53
- return [
54
- {
55
- [`${prefixCls}-${this.size}-footer`]: this.size
56
- }
57
- ]
58
- }
59
- }
60
- }
61
- </script>
62
-
63
- <style lang="less">
64
- @import './style.less';
65
- </style>
@@ -1,53 +0,0 @@
1
- @empty-prefix-cls: vd-empty;
2
-
3
- .@{empty-prefix-cls}{
4
- height: 100%;
5
- margin: 0 auto;
6
- text-align: center;
7
- padding: 0 20px;
8
- display: flex;
9
- flex-direction: column;
10
- justify-content: center;
11
-
12
- &-txt{
13
- margin-block-start: calc(var(--spacing-empty-large-text-margin_top) * 1px);
14
- font-size: calc(var(--en-single-f-d-r-fontSize) * 1px);
15
- font-weight: var(--en-single-f-d-r-fontWeight);
16
- color:var(--color-empty-text);
17
- }
18
- &-footer{
19
- display: flex;
20
- justify-content: center;
21
- margin-block-start: calc(var(--spacing-empty-large-text-margin_bottom) * 1px);
22
- }
23
- &-small
24
- {
25
- &-txt{
26
- margin-block-start: calc(var(--spacing-empty-small-text-margin_top) * 1px);
27
- }
28
- &-footer{
29
- margin-block-start: calc(var(--spacing-empty-small-text-margin_bottom) * 1px);
30
- }
31
- }
32
-
33
- &-card{
34
- height: calc(var(--height-empty-card) * 1px);
35
-
36
- .@{empty-prefix-cls}{
37
- &-img{
38
- display: none;
39
- }
40
-
41
- &-footer{
42
- display: none;
43
- }
44
- }
45
-
46
- &-txt{
47
- margin-block-start: 0;
48
- font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
49
- font-weight: var(--en-single-f-c-r-fontWeight);
50
- }
51
- }
52
-
53
- }
@@ -1,7 +0,0 @@
1
- import Footer from './index.vue';
2
- import './style.less';
3
- Footer.install = function(Vue) {
4
- Vue.component(Footer.name, Footer)
5
- }
6
-
7
- export default Footer;
@@ -1,29 +0,0 @@
1
- <template>
2
- <div class="vd-footer">
3
- <div class="vd-footer__link" v-if="$slots.default">
4
- <slot>
5
- </slot>
6
- </div>
7
- <p class="vd-footer__text" v-html="text"></p>
8
- </div>
9
- </template>
10
-
11
- <script>
12
- export default {
13
- name: 'vd-footer',
14
- props: {
15
- text: {
16
- type: String,
17
- default: ''
18
- }
19
-
20
- },
21
- computed: {
22
-
23
- }
24
- }
25
- </script>
26
-
27
- <style lang="less">
28
- @import './style.less';
29
- </style>
@@ -1,22 +0,0 @@
1
- @footer-prefix-cls: vd-footer;
2
-
3
-
4
- .@{footer-prefix-cls}{
5
- display: flex;
6
- align-items: center;
7
- flex-direction: column;
8
- justify-content: center;
9
- padding: calc(var(--spacing-footer-padding_top) * 1px) 0 calc(var(--spacing-footer-padding_bottom) * 1px);
10
-
11
- &__link{
12
- display: flex;
13
- align-items: center;
14
- margin-block-end: calc(var(--spacing-footer-link-margin_bottom) * 1px);
15
- }
16
-
17
- &__text{
18
- font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
19
- font-weight: var(--en-single-f-b-r-fontWeight);
20
- color: var(--text-color-h2);
21
- }
22
- }
@@ -1,7 +0,0 @@
1
- import FootNavItem from './index.vue';
2
- import './style.less';
3
- FootNavItem.install = function(Vue) {
4
- Vue.component(FootNavItem.name, FootNavItem)
5
- }
6
-
7
- export default FootNavItem;
@@ -1,75 +0,0 @@
1
- <template>
2
- <div class="vd-foot-nav-item" :class="{ 'vd-foot-nav-item--active': active }" @click="onClick">
3
- <vd-icon v-if="icon" :name="icon" :svg="isSvg"></vd-icon>
4
- <vd-badge v-if="dot || badge" :is-dot="dot" :value="badge" :max="99">
5
- <vd-icon :name="iconName" size="large" :svg="isSvg"></vd-icon>
6
- </vd-badge>
7
- <slot></slot>
8
- </div>
9
- </template>
10
-
11
- <script>
12
-
13
- import RouterLink from '../../mixins/router-link';
14
-
15
- export default {
16
- name: 'vd-foot-nav-item',
17
- mixins: [RouterLink],
18
- props: {
19
- iconName: {
20
- type: String,
21
- },
22
- icon: {
23
- type: String,
24
- },
25
- name: {
26
- type: String,
27
- },
28
- text: {
29
- type: String,
30
- },
31
- dot: {
32
- type: Boolean,
33
- },
34
- badge: {
35
- type: [Number, String],
36
- },
37
- isSvg: {
38
- type: Boolean,
39
- },
40
- },
41
- computed: {
42
- // isActive() {
43
- // return this.$parent.active === this.$parent.$children.indexOf(this);
44
- // // return this.activeIndex === this.index;
45
-
46
- // },
47
- },
48
- data() {
49
- return {
50
- active: false
51
- };
52
- },
53
-
54
- beforeCreate() {
55
- this.$parent.items.push(this);
56
- },
57
-
58
- destroyed() {
59
- this.$parent.items.splice(this.$parent.items.indexOf(this), 1);
60
- },
61
- methods: {
62
- onClick(event) {
63
- // this.$parent.updateActive(this.$parent.$children.indexOf(this));
64
- // this.$emit('click', event);
65
- this.$parent.onChange(this.$parent.items.indexOf(this));
66
- this.$emit('click', event);
67
- this.routerLink();
68
- },
69
- }
70
- }
71
- </script>
72
-
73
- <style lang="less">
74
- @import './style.less';
75
- </style>