@cloudbase/weda-ui 0.2.16 → 1.0.24

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 (194) hide show
  1. package/README.md +41 -169
  2. package/package.json +23 -11
  3. package/src/configs/components/calendar.json +4 -1
  4. package/src/configs/components/chart/bar.json +724 -0
  5. package/src/configs/components/chart/line.json +679 -0
  6. package/src/configs/components/chart/pie.json +497 -0
  7. package/src/configs/components/chart/statisticsCard.json +61 -13
  8. package/src/configs/components/container.json +7 -2
  9. package/src/configs/components/dataView.json +21 -6
  10. package/src/configs/components/form/checkbox.json +97 -5
  11. package/src/configs/components/form/radio.json +96 -4
  12. package/src/configs/components/form/select.json +245 -11
  13. package/src/configs/components/graphicCard.json +84 -73
  14. package/src/configs/components/image.json +7 -2
  15. package/src/configs/components/link.json +19 -3
  16. package/src/configs/components/listView.json +65 -18
  17. package/src/configs/components/lottery.json +151 -0
  18. package/src/configs/components/modal.json +37 -5
  19. package/src/configs/components/navLayout.json +87 -75
  20. package/src/configs/components/navigationBar.json +59 -0
  21. package/src/configs/components/richtextview.json +4 -1
  22. package/src/configs/components/scrollVeiw.json +74 -22
  23. package/src/configs/components/swiper.json +4 -1
  24. package/src/configs/components/tabs.json +51 -8
  25. package/src/configs/components/text.json +33 -25
  26. package/src/configs/components/wxOpenApi/phone.json +141 -0
  27. package/src/configs/components/wxOpenApi/phoneCode.json +121 -0
  28. package/src/configs/components/wxOpenApi/share.json +167 -0
  29. package/src/configs/components/wxOpenApi/userInfo.json +174 -0
  30. package/src/configs/index.js +20 -0
  31. package/src/index.js +2 -0
  32. package/src/mp/components/button/index.wxml +1 -2
  33. package/src/mp/components/chart/bar/index.js +258 -0
  34. package/src/mp/components/chart/bar/index.json +6 -0
  35. package/src/mp/components/chart/bar/index.wxml +3 -0
  36. package/src/mp/components/chart/bar/index.wxss +9 -0
  37. package/src/mp/components/chart/common/config/bar.js +50 -0
  38. package/src/mp/components/chart/common/config/global.js +16 -0
  39. package/src/mp/components/chart/common/config/line.js +48 -0
  40. package/src/mp/components/chart/common/config/pie.js +36 -0
  41. package/src/mp/components/chart/common/core/eChartBar.js +263 -0
  42. package/src/mp/components/chart/common/core/eChartBase.js +375 -0
  43. package/src/mp/components/chart/common/core/eChartLine.js +229 -0
  44. package/src/mp/components/chart/common/core/eChartPie.js +166 -0
  45. package/src/mp/components/chart/common/lib/echarts.min.js +18 -0
  46. package/src/mp/components/chart/ec-canvas/ec-canvas.js +277 -0
  47. package/src/mp/components/chart/ec-canvas/ec-canvas.json +4 -0
  48. package/src/mp/components/chart/ec-canvas/ec-canvas.wxml +4 -0
  49. package/src/mp/components/chart/ec-canvas/ec-canvas.wxss +4 -0
  50. package/src/mp/components/chart/ec-canvas/wx-canvas.js +107 -0
  51. package/src/mp/components/chart/line/index.js +247 -0
  52. package/src/mp/components/chart/line/index.json +6 -0
  53. package/src/mp/components/chart/line/index.wxml +3 -0
  54. package/src/mp/components/chart/line/index.wxss +9 -0
  55. package/src/mp/components/chart/pie/index.js +182 -0
  56. package/src/mp/components/chart/pie/index.json +6 -0
  57. package/src/mp/components/chart/pie/index.wxml +4 -0
  58. package/src/mp/components/chart/pie/index.wxss +9 -0
  59. package/src/mp/components/chart/statisticsCard/index.js +33 -6
  60. package/src/mp/components/form/checkbox/index.js +41 -2
  61. package/src/mp/components/form/checkbox/index.wxml +1 -1
  62. package/src/mp/components/form/form/index.wxml +1 -2
  63. package/src/mp/components/form/input/index.js +1 -1
  64. package/src/mp/components/form/location/index.js +43 -2
  65. package/src/mp/components/form/radio/index.js +38 -0
  66. package/src/mp/components/form/select/index.js +348 -40
  67. package/src/mp/components/form/select/index.wxml +21 -6
  68. package/src/mp/components/form/select/region/index.js +101 -0
  69. package/src/mp/components/form/textarea/index.wxml +6 -5
  70. package/src/mp/components/form/uploader/index.js +76 -44
  71. package/src/mp/components/form/uploader/index.wxml +15 -3
  72. package/src/mp/components/form/uploaderFile/index.js +61 -29
  73. package/src/mp/components/graphicCard/index.js +26 -28
  74. package/src/mp/components/listView/index.js +52 -64
  75. package/src/mp/components/listView/index.wxml +2 -2
  76. package/src/mp/components/listView/index.wxss +5 -0
  77. package/src/mp/components/lottery/index.js +270 -0
  78. package/src/mp/components/lottery/index.json +4 -0
  79. package/src/mp/components/lottery/index.wxml +43 -0
  80. package/src/mp/components/lottery/index.wxss +317 -0
  81. package/src/mp/components/navLayout/index.js +3 -3
  82. package/src/mp/components/navigationBar/index.js +193 -0
  83. package/src/mp/components/navigationBar/index.json +6 -0
  84. package/src/mp/components/navigationBar/index.wxml +88 -0
  85. package/src/mp/components/navigationBar/index.wxss +1257 -0
  86. package/src/mp/components/tabs/index.js +7 -2
  87. package/src/mp/components/tabs/index.wxml +2 -1
  88. package/src/mp/components/text/index.js +0 -25
  89. package/src/mp/components/text/index.wxml +3 -3
  90. package/src/mp/components/wxOpenApi/phone/index.js +117 -0
  91. package/src/mp/components/wxOpenApi/phone/index.json +4 -0
  92. package/src/mp/components/wxOpenApi/phone/index.wxml +15 -0
  93. package/src/mp/components/wxOpenApi/phone/index.wxss +22 -0
  94. package/src/mp/components/wxOpenApi/phoneCode/index.js +89 -0
  95. package/src/mp/components/wxOpenApi/phoneCode/index.json +4 -0
  96. package/src/mp/components/wxOpenApi/phoneCode/index.wxml +15 -0
  97. package/src/mp/components/wxOpenApi/phoneCode/index.wxss +22 -0
  98. package/src/mp/components/wxOpenApi/share/index.js +117 -0
  99. package/src/mp/components/wxOpenApi/share/index.json +4 -0
  100. package/src/mp/components/wxOpenApi/share/index.wxml +15 -0
  101. package/src/mp/components/wxOpenApi/share/index.wxss +22 -0
  102. package/src/mp/components/wxOpenApi/userInfo/index.js +88 -0
  103. package/src/mp/components/wxOpenApi/userInfo/index.json +4 -0
  104. package/src/mp/components/wxOpenApi/userInfo/index.wxml +14 -0
  105. package/src/mp/components/wxOpenApi/userInfo/index.wxss +22 -0
  106. package/src/mp/index.json +10 -1
  107. package/src/mp/style/weda-ui.wxss +2 -0
  108. package/src/mp/utils/constant.js +15 -0
  109. package/src/mp/utils/destr.js +48 -0
  110. package/src/mp/utils/lodash.js +2 -0
  111. package/src/mp/utils/platform.js +25 -0
  112. package/src/mp/utils/tcb.js +44 -0
  113. package/src/setupTests.js +2 -1
  114. package/src/web/components/button/index.css +8 -1
  115. package/src/web/components/button/index.tsx +3 -2
  116. package/src/web/components/chart/bar/index.tsx +140 -0
  117. package/src/web/components/chart/common/config/bar.js +49 -0
  118. package/src/web/components/chart/common/config/global.js +16 -0
  119. package/src/web/components/chart/common/config/line.js +50 -0
  120. package/src/web/components/chart/common/config/pie.js +37 -0
  121. package/src/web/components/chart/common/core/eChartBar.js +265 -0
  122. package/src/web/components/chart/common/core/eChartBase.ts +383 -0
  123. package/src/web/components/chart/common/core/eChartLine.js +231 -0
  124. package/src/web/components/chart/common/core/eChartPie.js +170 -0
  125. package/src/web/components/chart/common/core/type.ts +34 -0
  126. package/src/web/components/chart/common/echart.css +106 -0
  127. package/src/web/components/chart/common/echarts.ts +33 -0
  128. package/src/web/components/chart/common/useChart.tsx +69 -0
  129. package/src/web/components/chart/line/index.tsx +136 -0
  130. package/src/web/components/chart/pie/index.tsx +99 -0
  131. package/src/web/components/chart/statisticsCard/index.tsx +29 -8
  132. package/src/web/components/form/checkbox/index.tsx +61 -23
  133. package/src/web/components/form/formcell/index.tsx +10 -5
  134. package/src/web/components/form/location/components/LocationH5/location.h5.jsx +3 -3
  135. package/src/web/components/form/location/components/LocationPC/location.PC.jsx +2 -2
  136. package/src/web/components/form/radio/index.tsx +90 -53
  137. package/src/web/components/form/select/h5.tsx +371 -72
  138. package/src/web/components/form/select/index.css +10 -0
  139. package/src/web/components/form/select/index.tsx +392 -145
  140. package/src/web/components/form/select/region/index.ts +122 -31
  141. package/src/web/components/form/select/time.jsx +90 -0
  142. package/src/web/components/form/select/year.tsx +170 -0
  143. package/src/web/components/form/tips/index.css +4 -0
  144. package/src/web/components/form/tips/index.tsx +4 -3
  145. package/src/web/components/form/uploader/uploader.h5.tsx +28 -19
  146. package/src/web/components/form/uploader/uploader.pc.tsx +17 -20
  147. package/src/web/components/form/uploaderFile/uploadFile.h5.tsx +48 -44
  148. package/src/web/components/form/uploaderFile/uploadFile.pc.tsx +28 -26
  149. package/src/web/components/graphicCard/index.css +1 -5
  150. package/src/web/components/graphicCard/index.tsx +4 -3
  151. package/src/web/components/image/image.tsx +1 -1
  152. package/src/web/components/image/index.tsx +1 -1
  153. package/src/web/components/index.js +13 -2
  154. package/src/web/components/link/index.tsx +6 -3
  155. package/src/web/components/listView/index.css +4 -0
  156. package/src/web/components/listView/index.tsx +10 -18
  157. package/src/web/components/lottery/index.css +327 -0
  158. package/src/web/components/lottery/index.tsx +567 -0
  159. package/src/web/components/lottery/lotteryUtil.ts +130 -0
  160. package/src/web/components/modal/index.tsx +3 -1
  161. package/src/web/components/navigationBar/chevron-right--double.svg +3 -0
  162. package/src/web/components/navigationBar/common.tsx +198 -0
  163. package/src/web/components/navigationBar/h5Menu.tsx +179 -0
  164. package/src/web/components/navigationBar/horizontalMenu.tsx +200 -0
  165. package/src/web/components/navigationBar/index.css +762 -0
  166. package/src/web/components/navigationBar/index.tsx +231 -0
  167. package/src/web/components/navigationBar/type.d.ts +111 -0
  168. package/src/web/components/navigationBar/verticalMenu.tsx +81 -0
  169. package/src/web/components/phone/index.css +0 -0
  170. package/src/web/components/phone/index.tsx +22 -0
  171. package/src/web/components/phoneCode/index.css +0 -0
  172. package/src/web/components/phoneCode/index.tsx +22 -0
  173. package/src/web/components/richTextView/index.tsx +3 -5
  174. package/src/web/components/share/index.css +0 -0
  175. package/src/web/components/share/index.tsx +38 -0
  176. package/src/web/components/tabs/index.tsx +2 -0
  177. package/src/web/components/tabs/tabs.h5.tsx +43 -33
  178. package/src/web/components/tabs/tabs.pc.tsx +23 -10
  179. package/src/web/components/text/index.tsx +6 -14
  180. package/src/web/components/userInfo/index.css +0 -0
  181. package/src/web/components/userInfo/index.tsx +30 -0
  182. package/src/web/utils/{constant.js → constant.ts} +17 -2
  183. package/src/web/utils/lodash.ts +2 -0
  184. package/src/web/utils/platform.js +10 -1
  185. package/src/web/utils/tcb.js +20 -6
  186. package/src/web/weda-ui.css +2 -0
  187. package/CHANGELOG.md +0 -240
  188. package/src/.DS_Store +0 -0
  189. package/src/configs/.DS_Store +0 -0
  190. package/src/mp/.gitignore +0 -10
  191. package/src/web/.DS_Store +0 -0
  192. package/src/web/components/form/select/region/cities.ts +0 -2410
  193. package/src/web/components/form/select/region/provinces.ts +0 -240
  194. package/src/web/components/form/select/region/regions.ts +0 -20645
@@ -0,0 +1,762 @@
1
+ :root {
2
+ --weda-navigation-menu-hover-color: #f3f3f3;
3
+ --weda-navigation-menu-selected-color: #eaeaea;
4
+ --weda-navigation-menu-background-color: #fff;
5
+ }
6
+ /** PC 端左侧菜单 start*/
7
+ .weda-menu {
8
+ display: inline-block;
9
+ }
10
+
11
+ .weda-menu .weda-menu__wrapper {
12
+ box-shadow: 2px 0px 6px rgba(0, 0, 0, 0.05);
13
+ }
14
+
15
+ .weda-menu .weda-menu__wrapper .weda-menu__menu-content {
16
+ width: 232px;
17
+ border-right: none;
18
+ }
19
+
20
+ .weda-menu
21
+ .wedatea2td-menu--light
22
+ .wedatea2td-menu__fold:hover
23
+ .wedatea2td-menu__fold-icon,
24
+ .weda-menu
25
+ .wedatea2td-menu--light
26
+ .wedatea2td-menu__list
27
+ li.wedatea2td-menu__submenu.is-expanded:hover,
28
+ .weda-menu
29
+ .wedatea2td-menu--light
30
+ .wedatea2td-menu__list
31
+ li.wedatea2td-menu__submenu.is-expanded
32
+ > .wedatea2td-menu__item,
33
+ .weda-menu .wedatea2td-menu--light .wedatea2td-menu__submenu.is-expanded {
34
+ background-color: transparent;
35
+ }
36
+
37
+ .weda-menu
38
+ .weda-menu__wrapper
39
+ .weda-menu__menu-content
40
+ .wedatea2td-menu__title {
41
+ width: 100%;
42
+ display: flex;
43
+ padding: 20px;
44
+ height: auto;
45
+ }
46
+
47
+ .weda-menu
48
+ .weda-menu__wrapper
49
+ .weda-menu__menu-content
50
+ .wedatea2td-menu__title
51
+ .wedatea2td-menu__title-icon {
52
+ display: block;
53
+ width: 32px;
54
+ height: 32px;
55
+ margin-right: 12px;
56
+ }
57
+
58
+ .weda-menu
59
+ .weda-menu__wrapper
60
+ .weda-menu__menu-content
61
+ .wedatea2td-menu__title
62
+ .wedatea2td-h2 {
63
+ font-size: 16px;
64
+ line-height: 18px;
65
+ color: #000000;
66
+ margin-top: 0;
67
+ font-weight: normal;
68
+ }
69
+
70
+ .weda-menu .weda-menu__wrapper .weda-menu__menu-content .wedatea2td-menu__body {
71
+ width: 100%;
72
+ padding: 0 8px 30px 8px;
73
+ }
74
+
75
+ .weda-menu
76
+ .weda-menu__menu-content
77
+ .wedatea2td-menu__body
78
+ .wedatea2td-menu__item {
79
+ padding: 7px 0 7px 12px;
80
+ align-items: center;
81
+ }
82
+
83
+ .weda-menu
84
+ .weda-menu__menu-content
85
+ .wedatea2td-menu__body
86
+ .wedatea2td-menu__item
87
+ .wedatea2td-menu__list-icon {
88
+ width: 20px;
89
+ height: 20px;
90
+ margin-top: 0;
91
+ }
92
+
93
+ .weda-menu
94
+ .weda-menu__menu-content
95
+ .wedatea2td-menu__body
96
+ .wedatea2td-menu__item
97
+ .wedatea2td-menu__text {
98
+ font-weight: normal;
99
+ font-size: 14px;
100
+ line-height: 22px;
101
+ color: rgba(0, 0, 0, 0.9);
102
+ padding: 0;
103
+ }
104
+
105
+ .weda-menu .weda-menu__menu-content .wedatea2td-icon-arrowdown,
106
+ .weda-menu
107
+ .weda-menu__menu-content
108
+ .wedatea2td-menu__submenu.is-expanded
109
+ .wedatea2td-icon-arrowdown {
110
+ background-image: url('https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/4d3251a2-2fcd-4810-99a6-c8f69a258e09.svg');
111
+ }
112
+ .weda-menu
113
+ .weda-menu__menu-content
114
+ .wedatea2td-menu__body
115
+ .wedatea2td-menu__submenu
116
+ .wedatea2td-menu__list {
117
+ padding: 0;
118
+ }
119
+
120
+ .weda-menu
121
+ .weda-menu__menu-content
122
+ .wedatea2td-menu__body
123
+ .wedatea2td-menu__submenu
124
+ .wedatea2td-menu__item::before {
125
+ display: none;
126
+ }
127
+
128
+ .weda-menu
129
+ .weda-menu__menu-content
130
+ .wedatea2td-menu__body
131
+ .wedatea2td-menu__list
132
+ .is-selected
133
+ .wedatea2td-menu__item {
134
+ background: var(--weda-navigation-menu-selected-color);
135
+ border-radius: 3px;
136
+ }
137
+ .wedatea2td-drawer
138
+ .wedatea2td-menu--light
139
+ .wedatea2td-menu__list
140
+ .is-selected
141
+ .wedatea2td-menu__item {
142
+ background: var(--weda-navigation-menu-selected-color);
143
+ }
144
+ .weda-menu
145
+ .wedatea2td-menu--light
146
+ .wedatea2td-menu__list
147
+ li
148
+ .wedatea2td-menu__item:hover {
149
+ background-color: var(--weda-navigation-menu-hover-color);
150
+ border-radius: 3px;
151
+ }
152
+
153
+ .weda-menu
154
+ .wedatea2td-menu--light
155
+ .wedatea2td-menu__list
156
+ li.is-selected
157
+ > .wedatea2td-menu__item:hover {
158
+ background-color: var(--weda-navigation-menu-hover-color);
159
+ }
160
+ .wedatea2td-drawer
161
+ .wedatea2td-menu--light
162
+ .wedatea2td-menu__list
163
+ li
164
+ .wedatea2td-menu__item:hover {
165
+ background-color: var(--weda-navigation-menu-hover-color);
166
+ }
167
+ .weda-menu
168
+ .weda-menu__menu-content
169
+ .wedatea2td-menu__body
170
+ .wedatea2td-menu__submenu
171
+ .wedatea2td-menu__list
172
+ .wedatea2td-menu__item {
173
+ padding-left: 40px;
174
+ }
175
+
176
+ .weda-menu
177
+ .weda-menu__menu-content
178
+ .wedatea2td-menu__body
179
+ .weda-menu__submenu
180
+ .wedatea2td-menu__list
181
+ .wedatea2td-menu__item {
182
+ padding-left: 56px;
183
+ }
184
+
185
+ .weda-menu
186
+ .weda-menu__menu-content
187
+ .wedatea2td-menu__submenu
188
+ .wedatea2td-menu__list
189
+ .wedatea2td-menu__item
190
+ .wedatea2td-menu__text,
191
+ .weda-menu
192
+ .weda-menu__menu-content
193
+ .wedatea2td-menu__submenu
194
+ .weda-menu__submenu
195
+ .wedatea2td-menu__list
196
+ .wedatea2td-menu__item
197
+ .wedatea2td-menu__text {
198
+ color: rgba(0, 0, 0, 0.6);
199
+ }
200
+
201
+ .weda-menu
202
+ .weda-menu__menu-content
203
+ .wedatea2td-menu__submenu
204
+ .weda-menu__submenu
205
+ .wedatea2td-menu__item
206
+ .wedatea2td-menu__text {
207
+ color: rgba(0, 0, 0, 0.9);
208
+ }
209
+
210
+ .weda-menu
211
+ .wedatea2td-menu
212
+ .wedatea2td-menu__body
213
+ .wedatea2td-menu__submenu
214
+ .wedatea2td-menu__list
215
+ .is-selected
216
+ .wedatea2td-menu__item
217
+ .wedatea2td-menu__text,
218
+ .weda-menu
219
+ .wedatea2td-menu
220
+ .wedatea2td-menu__body
221
+ .is-selected
222
+ .wedatea2td-menu__item
223
+ .wedatea2td-menu__text {
224
+ font-weight: normal;
225
+ color: rgba(0, 0, 0, 0.9);
226
+ }
227
+ .weda-menu .wedatea2td-menu__submenu.is-expanded .wedatea2td-menu__list {
228
+ display: none;
229
+ }
230
+ .weda-menu__drawer
231
+ .wedatea2td-menu__submenu.is-expanded
232
+ .wedatea2td-menu__list {
233
+ display: none;
234
+ }
235
+ .weda-menu__drawer .wedatea2td-menu__submenu .wedatea2td-menu__list {
236
+ display: none;
237
+ }
238
+
239
+ .weda-menu .weda-menu__submenu .wedatea2td-menu__list {
240
+ display: none;
241
+ }
242
+ .weda-menu__drawer
243
+ .wedatea2td-menu__submenu.is-expanded
244
+ .wedatea2td-icon-arrowdown {
245
+ transform: none;
246
+ }
247
+ .weda-menu .wedatea2td-menu__submenu.is-expanded .wedatea2td-icon-arrowdown {
248
+ transform: none;
249
+ }
250
+ .weda-menu__drawer
251
+ .wedatea2td-menu__submenu.is-expanded
252
+ > .wedatea2td-menu__item
253
+ .wedatea2td-icon-arrowdown {
254
+ transform: scaleY(-1);
255
+ }
256
+ .weda-menu
257
+ .wedatea2td-menu__submenu.is-expanded
258
+ > .wedatea2td-menu__item
259
+ .wedatea2td-icon-arrowdown {
260
+ transform: scaleY(-1);
261
+ }
262
+ .weda-menu .wedatea2td-menu__submenu.is-expanded > .wedatea2td-menu__list {
263
+ display: block;
264
+ }
265
+ .weda-menu__drawer
266
+ .wedatea2td-menu__submenu.is-expanded
267
+ > .wedatea2td-menu__list {
268
+ display: block;
269
+ }
270
+ /** PC 端左侧菜单 end*/
271
+ /** PC 端顶部导航菜单 start*/
272
+ .weda-menu-horizontal {
273
+ display: block;
274
+ }
275
+
276
+ .weda-menu-horizontal .weda-menu__nav {
277
+ background: #ffffff;
278
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.05);
279
+ height: 64px;
280
+ padding: 0 16px 0 16px;
281
+ }
282
+
283
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-logo {
284
+ padding: 0;
285
+ }
286
+
287
+ .weda-menu-horizontal
288
+ .weda-menu__nav
289
+ .weda-menu__nav-logo
290
+ .weda-menu__nav-logo--img {
291
+ width: 100%;
292
+ height: 100%;
293
+ }
294
+
295
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-logo::before {
296
+ display: none;
297
+ }
298
+
299
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-title .weda-menu__title {
300
+ font-weight: normal;
301
+ font-size: 16px;
302
+ line-height: 18px;
303
+ color: #000000;
304
+ margin-left: 12px;
305
+ }
306
+
307
+ .weda-menu-horizontal .weda-menu__nav .wedatea2td-nav__flex-end {
308
+ margin-left: 20px;
309
+ }
310
+
311
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-wrap {
312
+ position: relative;
313
+ height: 100%;
314
+ display: flex;
315
+ align-items: center;
316
+ width: calc(100vw - 300px);
317
+ margin: 0 40px;
318
+ }
319
+
320
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-shadow {
321
+ position: absolute;
322
+ height: 100%;
323
+ right: -36px;
324
+ width: 36px;
325
+ background: unset;
326
+ cursor: pointer;
327
+ }
328
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-shadow.leftButton {
329
+ left: -12px;
330
+ }
331
+ .weda-menu-horizontal
332
+ .weda-menu__nav
333
+ .weda-menu__nav-shadow.leftButton
334
+ .weda-menu__shadow--icon {
335
+ transform: rotate(180deg);
336
+ }
337
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__shadow {
338
+ position: absolute;
339
+ width: 31px;
340
+ height: 52px;
341
+ left: 0;
342
+ top: 6px;
343
+ background: radial-gradient(
344
+ 50% 50% at 50% 50%,
345
+ rgba(0, 0, 0, 0.05) 0%,
346
+ rgba(0, 0, 0, 0) 100%
347
+ );
348
+ }
349
+ .weda-menu-horizontal .weda-menu__nav .leftButton .weda-menu__shadow--white {
350
+ left: 14px;
351
+ }
352
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__shadow--white {
353
+ position: absolute;
354
+ width: 17px;
355
+ left: 14px;
356
+ height: 100%;
357
+ background-color: unset;
358
+ }
359
+ .weda-menu-horizontal .weda-menu__nav .leftButton .weda-menu__shadow--icon {
360
+ left: -4px;
361
+ }
362
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__shadow--icon {
363
+ position: absolute;
364
+ background-image: url('./chevron-right--double.svg');
365
+ width: 16px;
366
+ height: 16px;
367
+ right: 0;
368
+ top: calc((100% - 16px) / 2);
369
+ }
370
+
371
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-content {
372
+ display: flex;
373
+ flex-direction: row;
374
+ align-items: center;
375
+ }
376
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-content.box {
377
+ overflow: hidden;
378
+ }
379
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-item {
380
+ margin: 0 4px;
381
+ padding: 7px 12px;
382
+ height: 40px;
383
+ display: flex;
384
+ align-items: center;
385
+ cursor: pointer;
386
+ }
387
+
388
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__nav-item:hover,
389
+ .weda-menu-horizontal .weda-menu__nav .weda-menu__item-open {
390
+ background-color: var(--weda-navigation-menu-selected-color);
391
+ border-radius: 3px;
392
+ }
393
+
394
+ .weda-menu-horizontal .weda-menu__nav-item .weda-menu__item-icon {
395
+ width: 20px;
396
+ height: 20px;
397
+ margin-right: 4px;
398
+ }
399
+ .weda-menu-horizontal .weda-menu__item-val.wedatea2td-nav__dropdown {
400
+ height: auto;
401
+ }
402
+
403
+ .weda-menu-horizontal .weda-menu__item-val .wedatea2td-dropdown {
404
+ padding: 0;
405
+ }
406
+ .weda-menu-horizontal .wedatea2td-dropdown__header.wedatea2td-dropdown-default {
407
+ padding: 0 23px 0 0;
408
+ height: auto;
409
+ }
410
+
411
+ .weda-menu-horizontal .wedatea2td-dropdown .wedatea2td-dropdown__value {
412
+ font-weight: 400;
413
+ font-size: 14px;
414
+ line-height: 22px;
415
+ color: #000000;
416
+ white-space: nowrap;
417
+ }
418
+
419
+ .weda-menu-horizontal
420
+ .wedatea2td-dropdown__header.wedatea2td-dropdown-default
421
+ .wedatea2td-icon,
422
+ .weda-menu-horizontal
423
+ .wedatea2td-nav__dropdown
424
+ .wedatea2td-dropdown__header:hover
425
+ .wedatea2td-icon-arrowdown {
426
+ right: 0;
427
+ top: calc((100% - 16px) / 2);
428
+ background-image: url('https://imgcache.qq.com/qcloud/tcloud_dtc/static/static_source_business/4d3251a2-2fcd-4810-99a6-c8f69a258e09.svg');
429
+ }
430
+
431
+ .weda-menu-horizontal .weda-menu__item-val.wedatea2td-nav__service span {
432
+ white-space: nowrap;
433
+ }
434
+ .weda-menu-horizontal .weda-menu__nav-item .weda-menu__item-val a,
435
+ .weda-menu-horizontal
436
+ .weda-menu__nav-item
437
+ .weda-menu__dropdown
438
+ .wedatea2td-dropdown__value {
439
+ font-weight: normal;
440
+ font-size: 14px;
441
+ line-height: 22px;
442
+ color: #000000;
443
+ padding: 0;
444
+ white-space: nowrap;
445
+ }
446
+
447
+ .weda-menu-horizontal
448
+ .weda-menu__nav-item
449
+ .weda-menu__dropdown
450
+ .wedatea2td-dropdown__header {
451
+ padding-left: 0;
452
+ padding-right: 23px;
453
+ height: 22px;
454
+ }
455
+
456
+ .weda-menu-horizontal
457
+ .weda-menu__nav-item
458
+ .weda-menu__dropdown
459
+ .wedatea2td-dropdown__header.wedatea2td-dropdown__header:hover {
460
+ background-color: transparent;
461
+ }
462
+
463
+ .weda-menu-horizontal
464
+ .weda-menu__nav-item
465
+ .weda-menu__dropdown
466
+ .wedatea2td-icon {
467
+ right: 0;
468
+ top: calc((100% - 16px) / 2);
469
+ }
470
+
471
+ .weda-menu__nav-content::-webkit-scrollbar {
472
+ display: none;
473
+ scrollbar-width: none;
474
+ -ms-overflow-style: none;
475
+ }
476
+
477
+ /* 横向导航栏dropdown */
478
+ .weda-menu__dropdown .wedatea2td-dropdown-box {
479
+ padding: 0;
480
+ min-width: 200px;
481
+ background-color: var(--weda-navigation-menu-background-color);
482
+ }
483
+ .weda-menu__dropdown
484
+ .wedatea2td-dropdown-box
485
+ .wedatea2td-list--option
486
+ > li.is-selected {
487
+ background: var(--weda-navigation-menu-selected-color);
488
+ }
489
+ .weda-menu__dropdown .weda-menu__dropdown-menu-list {
490
+ background: #ffffff;
491
+ border-radius: 3px;
492
+ padding: 8px;
493
+ border: 0.5px solid var(--weda-navigation-menu-background-color);
494
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
495
+ }
496
+
497
+ .wedatea2td-nav__dropdown-box
498
+ .weda-menu__dropdown-menu-list.wedatea2td-list--option
499
+ > li {
500
+ display: flex;
501
+ align-items: center;
502
+ }
503
+ .weda-menu__dropdown .weda-menu__dropdown-list-item:hover,
504
+ .weda-menu__dropdown .wedatea2td-list__submenu:hover {
505
+ background: var(--weda-navigation-menu-hover-color);
506
+ border-radius: 3px;
507
+ }
508
+
509
+ .weda-menu__dropdown .weda-menu__dropdown-list-item,
510
+ .weda-menu__dropdown .wedatea2td-list__submenu {
511
+ padding: 9px 32px 9px 16px;
512
+ }
513
+
514
+ .weda-menu__dropdown-menu-list .weda-menu__dropdown-list-item {
515
+ margin-bottom: 4px;
516
+ color: rgba(0, 0, 0, 0.9);
517
+ font-weight: 400;
518
+ font-size: 14px;
519
+ line-height: 22px;
520
+ }
521
+
522
+ .weda-menu__dropdown-menu-list .weda-menu__dropdown-list-item:last-child {
523
+ margin-bottom: 0;
524
+ }
525
+
526
+ .weda-menu__dropdown .weda-menu__dropdown-list-item::after,
527
+ .weda-menu__dropdown .wedatea2td-list__submenu::after {
528
+ right: 24px;
529
+ }
530
+
531
+ /** PC 端顶部导航菜单 end*/
532
+
533
+ /** mobile 端顶部导航菜单 start*/
534
+ .weda-menu-mobile {
535
+ display: block;
536
+ position: relative;
537
+ z-index: 100;
538
+ width: 100%;
539
+ }
540
+
541
+ .weda-menu-mobile .weda-menu__wrapper {
542
+ display: flex;
543
+ align-items: center;
544
+ justify-content: space-between;
545
+ padding: 0 20px 0 16px;
546
+ height: 64px;
547
+ background-color: #fff;
548
+ position: relative;
549
+ box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.05);
550
+ }
551
+
552
+ .weda-menu-mobile .weda-menu__bar-main {
553
+ flex: 1;
554
+ display: flex;
555
+ align-items: center;
556
+ }
557
+
558
+ .weda-menu-mobile .weda-menu__bar-main .weda-menu__main-logo {
559
+ font-weight: normal;
560
+ font-size: 18px;
561
+ line-height: 18px;
562
+ color: #000000;
563
+ text-decoration: none;
564
+ display: flex;
565
+ align-items: center;
566
+ }
567
+
568
+ .weda-menu-mobile .weda-menu__bar-main .weda-menu__main-icon {
569
+ width: 32px;
570
+ height: 32px;
571
+ margin-right: 12px;
572
+ }
573
+
574
+ .weda-menu-mobile .weda-menu__bar-extra {
575
+ display: flex;
576
+ align-items: center;
577
+ cursor: pointer;
578
+ }
579
+
580
+ .weda-menu-mobile .weda-menu__bar-extra .weda-menu__bar-btn,
581
+ .weda-menu-mobile .weda-menu__bar-extra .weda-menu__bar-btn--close {
582
+ width: 24px;
583
+ height: 24px;
584
+ }
585
+
586
+ .weda-menu__drawer {
587
+ top: 0 !important;
588
+ width: 100% !important;
589
+ }
590
+
591
+ .weda-menu__drawer .wedatea2td-drawer__header {
592
+ display: none;
593
+ }
594
+
595
+ .weda-menu__drawer .wedatea2td-drawer__body {
596
+ padding: 0;
597
+ }
598
+
599
+ .weda-menu__drawer .weda-menu__drawer-menu,
600
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__body {
601
+ width: 100%;
602
+ border: none;
603
+ }
604
+
605
+ .weda-menu__drawer
606
+ .wedatea2td-menu--light
607
+ .wedatea2td-menu__fold:hover
608
+ .wedatea2td-menu__fold-icon,
609
+ .weda-menu__drawer
610
+ .wedatea2td-menu--light
611
+ .wedatea2td-menu__list
612
+ li.wedatea2td-menu__submenu.is-expanded:hover,
613
+ .weda-menu__drawer
614
+ .wedatea2td-menu--light
615
+ .wedatea2td-menu__list
616
+ li.wedatea2td-menu__submenu.is-expanded
617
+ > .wedatea2td-menu__item,
618
+ .weda-menu__drawer
619
+ .wedatea2td-menu--light
620
+ .wedatea2td-menu__submenu.is-expanded {
621
+ background-color: transparent;
622
+ }
623
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__item {
624
+ padding: 14px 16px 16px 16px;
625
+ border-bottom: 1px solid;
626
+ border-color: rgba(160, 160, 160, 0.2);
627
+ }
628
+
629
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__list {
630
+ padding-bottom: 0;
631
+ }
632
+
633
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__item::before {
634
+ display: none;
635
+ }
636
+
637
+ .weda-menu__drawer
638
+ .weda-menu__drawer-menu
639
+ .wedatea2td-menu__submenu
640
+ .wedatea2td-menu__list
641
+ .wedatea2td-menu__item {
642
+ padding-left: 50px;
643
+ }
644
+
645
+ .weda-menu__drawer
646
+ .weda-menu__drawer-menu
647
+ .weda-menu__submenu
648
+ .wedatea2td-menu__list
649
+ .wedatea2td-menu__item {
650
+ padding-left: 70px;
651
+ }
652
+
653
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__list-icon {
654
+ width: 20px;
655
+ height: 20px;
656
+ margin-right: 4px;
657
+ margin-top: 0;
658
+ }
659
+
660
+ .weda-menu__drawer
661
+ .wedatea2td-menu__submenu
662
+ .wedatea2td-menu__list
663
+ .wedatea2td-menu__item:before {
664
+ display: none;
665
+ }
666
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__text,
667
+ .weda-menu__drawer .weda-menu__drawer-menu .wedatea2td-menu__submenu,
668
+ .wedatea2td-menu__item .wedatea2td-menu__text,
669
+ .weda-menu__drawer
670
+ .wedatea2td-menu--light
671
+ .wedatea2td-menu__submenu.is-expanded
672
+ > .wedatea2td-menu__item
673
+ > .wedatea2td-menu__text,
674
+ .weda-menu__drawer
675
+ .wedatea2td-menu--light
676
+ .wedatea2td-menu__submenu
677
+ .wedatea2td-menu__list
678
+ .wedatea2td-menu__text {
679
+ font-size: 16px;
680
+ line-height: 20px;
681
+ color: rgba(0, 0, 0, 0.9);
682
+ padding: 0;
683
+ max-width: 100%;
684
+ font-weight: normal;
685
+ }
686
+
687
+ .weda-menu__drawer
688
+ .weda-menu__drawer-menu
689
+ .wedatea2td-menu__submenu
690
+ .wedatea2td-menu__list
691
+ .wedatea2td-menu__text {
692
+ font-weight: normal;
693
+ }
694
+ .weda-menu__drawer .wedatea2td-menu .wedatea2td-icon-arrowdown {
695
+ top: 15px;
696
+ }
697
+ /** mobile 端顶部导航菜单 end*/
698
+
699
+ .wedatea2td-menu__title .weda-menu__main-icon {
700
+ margin-right: 10px;
701
+ }
702
+
703
+ .weda-menu .menu-solt {
704
+ flex: 1;
705
+ }
706
+ .weda-menu .menu-solt ._wa-comp-slot-wrapper {
707
+ height: 100%;
708
+ }
709
+
710
+ .wedatea2td-drawer {
711
+ z-index: 1000;
712
+ }
713
+ .weda-menu {
714
+ overflow-y: auto;
715
+ }
716
+ .weda-menu .menu-solt {
717
+ overflow-y: auto;
718
+ }
719
+ .weda-menu__fonticon.lcap-icon,
720
+ .weda-menu__fonticon.t-icon {
721
+ margin: 0 4px 0 0;
722
+ font-size: 14px;
723
+ }
724
+ .weda-menu__fonticon.lcap-icon:hover {
725
+ background-color: unset;
726
+ }
727
+
728
+ .weda-menu .wedatea2td-menu__text .menu-text {
729
+ display: flex;
730
+ justify-content: center;
731
+ align-items: center;
732
+ }
733
+ .weda-menu__drawer .wedatea2td-menu__text .menu-text {
734
+ display: flex;
735
+ justify-content: center;
736
+ align-items: center;
737
+ }
738
+ .weda-menu-mobile .weda-menu__wrapper .weda-menu__bar-main {
739
+ height: 64px;
740
+ }
741
+ .weda-menu__wrapper {
742
+ z-index: 1000;
743
+ }
744
+ .weda-menu-mobile .weda-menu__wrapper {
745
+ width: 100%;
746
+ z-index: 1000;
747
+ }
748
+ .wedatea2td-drawer.weda-menu__drawer {
749
+ z-index: 1000;
750
+ background-color: var(--weda-navigation-menu-background-color);
751
+ }
752
+ .weda-menu__drawer .wedatea2td-menu--light.wedatea2td-menu {
753
+ width: 100%;
754
+ }
755
+ .weda-menu__wrapper
756
+ .wedatea2td-dropdown__header.wedatea2td-dropdown-default:hover {
757
+ background-color: unset;
758
+ }
759
+
760
+ .weda-menu {
761
+ font-family: -apple-system-font, 'Helvetica Neue', sans-serif;
762
+ }