@cloudbase/weda-ui-mp 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/README.md +1 -0
  2. package/actions/showMessage/index.js +3 -0
  3. package/actions/showModal/index.js +3 -0
  4. package/actions/showToast/index.js +3 -0
  5. package/app.js +0 -0
  6. package/components/button/index.js +89 -0
  7. package/components/button/index.json +4 -0
  8. package/components/button/index.wxml +22 -0
  9. package/components/button/index.wxss +13 -0
  10. package/components/calendar/arrowright--line.svg +3 -0
  11. package/components/calendar/index.js +439 -0
  12. package/components/calendar/index.json +5 -0
  13. package/components/calendar/index.wxml +35 -0
  14. package/components/calendar/index.wxss +203 -0
  15. package/components/carousel/index.js +91 -0
  16. package/components/carousel/index.json +7 -0
  17. package/components/carousel/index.wxml +6 -0
  18. package/components/chart/bar/index.js +331 -0
  19. package/components/chart/bar/index.json +6 -0
  20. package/components/chart/bar/index.wxml +1 -0
  21. package/components/chart/bar/index.wxss +9 -0
  22. package/components/chart/common/config/bar.js +50 -0
  23. package/components/chart/common/config/global.js +16 -0
  24. package/components/chart/common/config/line.js +48 -0
  25. package/components/chart/common/config/pie.js +36 -0
  26. package/components/chart/common/core/eChartBar.js +267 -0
  27. package/components/chart/common/core/eChartBase.js +450 -0
  28. package/components/chart/common/core/eChartLine.js +251 -0
  29. package/components/chart/common/core/eChartPie.js +169 -0
  30. package/components/chart/common/data-transform.js +284 -0
  31. package/components/chart/common/lib/echarts.min.js +18 -0
  32. package/components/chart/ec-canvas/ec-canvas.js +277 -0
  33. package/components/chart/ec-canvas/ec-canvas.json +4 -0
  34. package/components/chart/ec-canvas/ec-canvas.wxml +4 -0
  35. package/components/chart/ec-canvas/ec-canvas.wxss +4 -0
  36. package/components/chart/ec-canvas/wx-canvas.js +111 -0
  37. package/components/chart/line/index.js +326 -0
  38. package/components/chart/line/index.json +6 -0
  39. package/components/chart/line/index.wxml +1 -0
  40. package/components/chart/line/index.wxss +9 -0
  41. package/components/chart/pie/index.js +257 -0
  42. package/components/chart/pie/index.json +6 -0
  43. package/components/chart/pie/index.wxml +1 -0
  44. package/components/chart/pie/index.wxss +9 -0
  45. package/components/chart/statisticsCard/index.js +255 -0
  46. package/components/chart/statisticsCard/index.json +4 -0
  47. package/components/chart/statisticsCard/index.wxml +9 -0
  48. package/components/chart/statisticsCard/index.wxss +42 -0
  49. package/components/common/form-item-wrapper/index.js +20 -0
  50. package/components/common/form-item-wrapper/index.json +5 -0
  51. package/components/common/form-item-wrapper/index.wxml +3 -0
  52. package/components/container/index.js +32 -0
  53. package/components/container/index.json +4 -0
  54. package/components/container/index.wxml +3 -0
  55. package/components/customer-service/index.js +41 -0
  56. package/components/customer-service/index.json +5 -0
  57. package/components/customer-service/index.wxml +3 -0
  58. package/components/customer-service/index.wxss +7 -0
  59. package/components/dataView/index.js +109 -0
  60. package/components/dataView/index.json +7 -0
  61. package/components/dataView/index.wxml +25 -0
  62. package/components/dataView/index.wxss +0 -0
  63. package/components/form/checkbox/index.js +145 -0
  64. package/components/form/checkbox/index.json +7 -0
  65. package/components/form/checkbox/index.wxml +13 -0
  66. package/components/form/checkbox/index.wxss +1 -0
  67. package/components/form/form/index.js +189 -0
  68. package/components/form/form/index.json +4 -0
  69. package/components/form/form/index.wxml +5 -0
  70. package/components/form/form/index.wxss +3 -0
  71. package/components/form/form/wd-form.wxss +1091 -0
  72. package/components/form/formcell/index.js +57 -0
  73. package/components/form/formcell/index.json +4 -0
  74. package/components/form/formcell/index.wxml +11 -0
  75. package/components/form/formcell/index.wxss +31 -0
  76. package/components/form/input/index.js +116 -0
  77. package/components/form/input/index.json +7 -0
  78. package/components/form/input/index.wxml +25 -0
  79. package/components/form/input/index.wxss +22 -0
  80. package/components/form/location/components/mapChoose/index.js +495 -0
  81. package/components/form/location/components/mapChoose/index.json +4 -0
  82. package/components/form/location/components/mapChoose/index.wxml +54 -0
  83. package/components/form/location/components/mapChoose/index.wxss +301 -0
  84. package/components/form/location/index.js +494 -0
  85. package/components/form/location/index.json +10 -0
  86. package/components/form/location/index.wxml +29 -0
  87. package/components/form/location/index.wxss +151 -0
  88. package/components/form/location/location-btn.svg +4 -0
  89. package/components/form/location/location.svg +4 -0
  90. package/components/form/radio/index.js +124 -0
  91. package/components/form/radio/index.json +7 -0
  92. package/components/form/radio/index.wxml +13 -0
  93. package/components/form/radio/index.wxss +1 -0
  94. package/components/form/select/allTimePicker/dataUtils.js +377 -0
  95. package/components/form/select/allTimePicker/index.js +487 -0
  96. package/components/form/select/allTimePicker/index.json +7 -0
  97. package/components/form/select/allTimePicker/index.wxml +35 -0
  98. package/components/form/select/allTimePicker/index.wxss +118 -0
  99. package/components/form/select/dropdown-select/index.js +262 -0
  100. package/components/form/select/dropdown-select/index.json +4 -0
  101. package/components/form/select/dropdown-select/index.wxml +35 -0
  102. package/components/form/select/dropdown-select/index.wxss +293 -0
  103. package/components/form/select/formats-util.js +15 -0
  104. package/components/form/select/index.js +1017 -0
  105. package/components/form/select/index.json +10 -0
  106. package/components/form/select/index.wxml +56 -0
  107. package/components/form/select/index.wxss +61 -0
  108. package/components/form/select/region/index.js +120 -0
  109. package/components/form/selectMultiple/dropdown-select/index.js +202 -0
  110. package/components/form/selectMultiple/dropdown-select/index.json +4 -0
  111. package/components/form/selectMultiple/dropdown-select/index.wxml +37 -0
  112. package/components/form/selectMultiple/dropdown-select/index.wxss +305 -0
  113. package/components/form/selectMultiple/index.js +328 -0
  114. package/components/form/selectMultiple/index.json +9 -0
  115. package/components/form/selectMultiple/index.wxml +20 -0
  116. package/components/form/selectMultiple/index.wxss +127 -0
  117. package/components/form/switch/index.js +90 -0
  118. package/components/form/switch/index.json +7 -0
  119. package/components/form/switch/index.wxml +11 -0
  120. package/components/form/switch/index.wxss +1 -0
  121. package/components/form/textarea/index.js +90 -0
  122. package/components/form/textarea/index.json +7 -0
  123. package/components/form/textarea/index.wxml +8 -0
  124. package/components/form/textarea/index.wxss +10 -0
  125. package/components/form/tips/index.js +41 -0
  126. package/components/form/tips/index.json +4 -0
  127. package/components/form/tips/index.wxml +1 -0
  128. package/components/form/tips/index.wxss +5 -0
  129. package/components/form/uploader/compress.js +31 -0
  130. package/components/form/uploader/index.js +289 -0
  131. package/components/form/uploader/index.json +10 -0
  132. package/components/form/uploader/index.wxml +38 -0
  133. package/components/form/uploader/index.wxss +47 -0
  134. package/components/form/uploader/weui-uploader.js +310 -0
  135. package/components/form/uploader/weui-uploader.json +7 -0
  136. package/components/form/uploader/weui-uploader.wxml +49 -0
  137. package/components/form/uploader/weui-uploader.wxss +19 -0
  138. package/components/form/uploaderFile/index.js +481 -0
  139. package/components/form/uploaderFile/index.json +9 -0
  140. package/components/form/uploaderFile/index.wxml +52 -0
  141. package/components/form/uploaderFile/index.wxss +171 -0
  142. package/components/form-checkbox/index.js +78 -0
  143. package/components/form-checkbox/index.json +9 -0
  144. package/components/form-checkbox/index.wxml +6 -0
  145. package/components/form-date/index.js +72 -0
  146. package/components/form-date/index.json +9 -0
  147. package/components/form-date/index.wxml +25 -0
  148. package/components/form-email/index.js +99 -0
  149. package/components/form-email/index.json +9 -0
  150. package/components/form-email/index.wxml +28 -0
  151. package/components/form-field-behavior/form-field-behavior.js +423 -0
  152. package/components/form-field-behavior/item-behavior.js +445 -0
  153. package/components/form-field-behavior/validator.js +132 -0
  154. package/components/form-image-uploader/index.js +83 -0
  155. package/components/form-image-uploader/index.json +9 -0
  156. package/components/form-image-uploader/index.wxml +27 -0
  157. package/components/form-input/index.js +103 -0
  158. package/components/form-input/index.json +9 -0
  159. package/components/form-input/index.wxml +29 -0
  160. package/components/form-location/index.js +98 -0
  161. package/components/form-location/index.json +9 -0
  162. package/components/form-location/index.wxml +28 -0
  163. package/components/form-multi-region/index.js +62 -0
  164. package/components/form-multi-region/index.json +9 -0
  165. package/components/form-multi-region/index.wxml +6 -0
  166. package/components/form-phone/index.js +95 -0
  167. package/components/form-phone/index.json +9 -0
  168. package/components/form-phone/index.wxml +28 -0
  169. package/components/form-radio/index.js +70 -0
  170. package/components/form-radio/index.json +9 -0
  171. package/components/form-radio/index.wxml +6 -0
  172. package/components/form-region/index.js +59 -0
  173. package/components/form-region/index.json +9 -0
  174. package/components/form-region/index.wxml +6 -0
  175. package/components/form-select/index.js +114 -0
  176. package/components/form-select/index.json +9 -0
  177. package/components/form-select/index.wxml +31 -0
  178. package/components/form-select-multiple/index.js +97 -0
  179. package/components/form-select-multiple/index.json +9 -0
  180. package/components/form-select-multiple/index.wxml +29 -0
  181. package/components/form-switch/index.js +43 -0
  182. package/components/form-switch/index.json +9 -0
  183. package/components/form-switch/index.wxml +6 -0
  184. package/components/form-text-area/index.js +95 -0
  185. package/components/form-text-area/index.json +9 -0
  186. package/components/form-text-area/index.wxml +26 -0
  187. package/components/form-time/index.js +72 -0
  188. package/components/form-time/index.json +9 -0
  189. package/components/form-time/index.wxml +6 -0
  190. package/components/form-upload-file/index.js +73 -0
  191. package/components/form-upload-file/index.json +9 -0
  192. package/components/form-upload-file/index.wxml +26 -0
  193. package/components/form-url/index.js +104 -0
  194. package/components/form-url/index.json +9 -0
  195. package/components/form-url/index.wxml +28 -0
  196. package/components/formdetail/index.js +330 -0
  197. package/components/formdetail/index.json +7 -0
  198. package/components/formdetail/index.wxml +7 -0
  199. package/components/formdetail/index.wxss +277 -0
  200. package/components/formdetail/wd-form-detail.wxss +245 -0
  201. package/components/graphicCard/chevron-right.svg +3 -0
  202. package/components/graphicCard/index.js +205 -0
  203. package/components/graphicCard/index.json +7 -0
  204. package/components/graphicCard/index.wxml +27 -0
  205. package/components/graphicCard/index.wxss +165 -0
  206. package/components/grid/_util.wxss +67 -0
  207. package/components/grid/col/index.js +110 -0
  208. package/components/grid/col/index.json +4 -0
  209. package/components/grid/col/index.wxml +3 -0
  210. package/components/grid/index.js +94 -0
  211. package/components/grid/index.json +4 -0
  212. package/components/grid/index.wxml +3 -0
  213. package/components/grid/index.wxss +1206 -0
  214. package/components/grid/row/index.js +78 -0
  215. package/components/grid/row/index.json +4 -0
  216. package/components/grid/row/index.wxml +3 -0
  217. package/components/image/index.js +203 -0
  218. package/components/image/index.json +7 -0
  219. package/components/image/index.wxml +9 -0
  220. package/components/image/index.wxss +49 -0
  221. package/components/listView/arrow-right-line.svg +3 -0
  222. package/components/listView/emptyText.svg +7 -0
  223. package/components/listView/index.js +656 -0
  224. package/components/listView/index.json +7 -0
  225. package/components/listView/index.wxml +82 -0
  226. package/components/listView/index.wxss +290 -0
  227. package/components/listView/more-line.svg +3 -0
  228. package/components/lottery/index.js +301 -0
  229. package/components/lottery/index.json +4 -0
  230. package/components/lottery/index.wxml +41 -0
  231. package/components/lottery/index.wxss +340 -0
  232. package/components/modal/index.js +65 -0
  233. package/components/modal/index.json +9 -0
  234. package/components/modal/index.wxml +18 -0
  235. package/components/modal/index.wxss +56 -0
  236. package/components/navLayout/index.js +123 -0
  237. package/components/navLayout/index.json +8 -0
  238. package/components/navLayout/index.wxml +22 -0
  239. package/components/navLayout/index.wxss +131 -0
  240. package/components/navigationBar/index.js +205 -0
  241. package/components/navigationBar/index.json +5 -0
  242. package/components/navigationBar/index.wxml +83 -0
  243. package/components/navigationBar/index.wxss +205 -0
  244. package/components/qrcode/index.js +155 -0
  245. package/components/qrcode/index.json +5 -0
  246. package/components/qrcode/index.wxml +2 -0
  247. package/components/qrcode/index.wxss +10 -0
  248. package/components/richText/index.js +90 -0
  249. package/components/richText/index.json +4 -0
  250. package/components/richText/index.wxml +3 -0
  251. package/components/richText/index.wxss +67 -0
  252. package/components/scrollView/index.js +119 -0
  253. package/components/scrollView/index.json +4 -0
  254. package/components/scrollView/index.wxml +38 -0
  255. package/components/slot/index.js +25 -0
  256. package/components/slot/index.json +4 -0
  257. package/components/slot/index.wxml +3 -0
  258. package/components/status-content/arrow-right.svg +1 -0
  259. package/components/status-content/close.svg +1 -0
  260. package/components/status-content/error.svg +6 -0
  261. package/components/status-content/index.js +51 -0
  262. package/components/status-content/index.json +4 -0
  263. package/components/status-content/index.wxml +28 -0
  264. package/components/status-content/index.wxss +145 -0
  265. package/components/swiper/index.js +65 -0
  266. package/components/swiper/index.json +4 -0
  267. package/components/swiper/index.wxml +3 -0
  268. package/components/tabs/index.js +67 -0
  269. package/components/tabs/index.json +4 -0
  270. package/components/tabs/index.wxml +10 -0
  271. package/components/tabs/index.wxss +61 -0
  272. package/components/text/index.js +40 -0
  273. package/components/text/index.json +4 -0
  274. package/components/text/index.wxml +7 -0
  275. package/components/text/index.wxss +27 -0
  276. package/components/tooltip/index.js +290 -0
  277. package/components/tooltip/index.json +4 -0
  278. package/components/tooltip/index.wxml +18 -0
  279. package/components/tooltip/index.wxss +72 -0
  280. package/components/tooltip/wd-tooltip.wxss +25 -0
  281. package/components/wd-ad/index.js +66 -0
  282. package/components/wd-ad/index.json +5 -0
  283. package/components/wd-ad/index.wxml +3 -0
  284. package/components/wd-ad/index.wxss +3 -0
  285. package/components/wd-audio/index.js +273 -0
  286. package/components/wd-audio/index.json +5 -0
  287. package/components/wd-audio/index.wxml +3 -0
  288. package/components/wd-audio/index.wxss +0 -0
  289. package/components/wd-button/index.js +284 -0
  290. package/components/wd-button/index.json +7 -0
  291. package/components/wd-button/index.wxml +32 -0
  292. package/components/wd-button/index.wxss +2 -0
  293. package/components/wd-button/wd-button.wxss +498 -0
  294. package/components/wd-calendar/arrowright--line.svg +3 -0
  295. package/components/wd-calendar/index.js +157 -0
  296. package/components/wd-calendar/index.json +5 -0
  297. package/components/wd-calendar/index.wxml +36 -0
  298. package/components/wd-calendar/index.wxss +203 -0
  299. package/components/wd-calendar/weeks.js +41 -0
  300. package/components/wd-canvas/index.js +250 -0
  301. package/components/wd-canvas/index.json +5 -0
  302. package/components/wd-canvas/index.wxml +2 -0
  303. package/components/wd-canvas/index.wxss +0 -0
  304. package/components/wd-card/index.js +76 -0
  305. package/components/wd-card/index.json +5 -0
  306. package/components/wd-card/index.wxml +11 -0
  307. package/components/wd-card/index.wxss +6 -0
  308. package/components/wd-card/wd-card.wxss +114 -0
  309. package/components/wd-checkbox-list/index.js +170 -0
  310. package/components/wd-checkbox-list/index.json +7 -0
  311. package/components/wd-checkbox-list/index.wxml +37 -0
  312. package/components/wd-checkbox-list/index.wxss +2 -0
  313. package/components/wd-checkbox-list/wd-checkbox-list.wxss +253 -0
  314. package/components/wd-date/calendar/index.js +111 -0
  315. package/components/wd-date/calendar/index.json +7 -0
  316. package/components/wd-date/calendar/index.wxml +38 -0
  317. package/components/wd-date/calendar/index.wxss +0 -0
  318. package/components/wd-date/date-picker/index.js +101 -0
  319. package/components/wd-date/date-picker/index.json +9 -0
  320. package/components/wd-date/date-picker/index.wxml +41 -0
  321. package/components/wd-date/date-picker/index.wxss +7 -0
  322. package/components/wd-date/index.js +129 -0
  323. package/components/wd-date/index.json +10 -0
  324. package/components/wd-date/index.wxml +36 -0
  325. package/components/wd-date/index.wxss +9 -0
  326. package/components/wd-date/modal/index.js +28 -0
  327. package/components/wd-date/modal/index.json +5 -0
  328. package/components/wd-date/modal/index.wxml +14 -0
  329. package/components/wd-date/modal/index.wxss +3 -0
  330. package/components/wd-date/time-picker/index.js +202 -0
  331. package/components/wd-date/time-picker/index.json +5 -0
  332. package/components/wd-date/time-picker/index.wxml +13 -0
  333. package/components/wd-date/time-picker/index.wxss +9 -0
  334. package/components/wd-date/wd-date.wxss +0 -0
  335. package/components/wd-date/year-month-picker/index.js +128 -0
  336. package/components/wd-date/year-month-picker/index.json +5 -0
  337. package/components/wd-date/year-month-picker/index.wxml +8 -0
  338. package/components/wd-date/year-month-picker/index.wxss +9 -0
  339. package/components/wd-date-range/index.js +172 -0
  340. package/components/wd-date-range/index.json +10 -0
  341. package/components/wd-date-range/index.wxml +41 -0
  342. package/components/wd-date-range/index.wxss +9 -0
  343. package/components/wd-date-range/wd-date-range.wxss +0 -0
  344. package/components/wd-divider/index.js +46 -0
  345. package/components/wd-divider/index.json +5 -0
  346. package/components/wd-divider/index.wxml +1 -0
  347. package/components/wd-divider/index.wxss +2 -0
  348. package/components/wd-divider/wd-divider.wxss +26 -0
  349. package/components/wd-form/form-utils.js +55 -0
  350. package/components/wd-form/index.js +748 -0
  351. package/components/wd-form/index.json +5 -0
  352. package/components/wd-form/index.wxml +13 -0
  353. package/components/wd-form/index.wxss +23 -0
  354. package/components/wd-form/remote-value.js +76 -0
  355. package/components/wd-form/wd-form.wxss +1091 -0
  356. package/components/wd-form-item/index.js +106 -0
  357. package/components/wd-form-item/index.json +7 -0
  358. package/components/wd-form-item/index.wxml +47 -0
  359. package/components/wd-form-item/index.wxss +2 -0
  360. package/components/wd-form-item/wd-form-item.wxss +1091 -0
  361. package/components/wd-form-item-read-only/index.js +59 -0
  362. package/components/wd-form-item-read-only/index.json +5 -0
  363. package/components/wd-form-item-read-only/index.wxml +10 -0
  364. package/components/wd-icon/index.js +140 -0
  365. package/components/wd-icon/index.json +7 -0
  366. package/components/wd-icon/index.wxml +4 -0
  367. package/components/wd-icon/index.wxss +4 -0
  368. package/components/wd-icon/wd-font-icon.wxss +4432 -0
  369. package/components/wd-icon/wd-icon.wxss +148 -0
  370. package/components/wd-image/index.js +244 -0
  371. package/components/wd-image/index.json +7 -0
  372. package/components/wd-image/index.wxml +11 -0
  373. package/components/wd-image/index.wxss +11 -0
  374. package/components/wd-image/wd-image.wxss +80 -0
  375. package/components/wd-input/index.js +62 -0
  376. package/components/wd-input/index.json +7 -0
  377. package/components/wd-input/index.wxml +57 -0
  378. package/components/wd-input/inner-input/index.js +202 -0
  379. package/components/wd-input/inner-input/index.json +9 -0
  380. package/components/wd-input/inner-input/index.wxml +79 -0
  381. package/components/wd-input/inner-input/index.wxss +2 -0
  382. package/components/wd-input/inner-input/wd-input.wxss +1574 -0
  383. package/components/wd-input-email/index.js +63 -0
  384. package/components/wd-input-email/index.json +7 -0
  385. package/components/wd-input-email/index.wxml +55 -0
  386. package/components/wd-input-group/index.js +57 -0
  387. package/components/wd-input-group/index.json +5 -0
  388. package/components/wd-input-group/index.wxml +16 -0
  389. package/components/wd-input-group/index.wxss +1 -0
  390. package/components/wd-input-group/wd-input-group.wxss +99 -0
  391. package/components/wd-input-number/index.js +575 -0
  392. package/components/wd-input-number/index.json +10 -0
  393. package/components/wd-input-number/index.wxml +66 -0
  394. package/components/wd-input-number/index.wxss +8 -0
  395. package/components/wd-input-number/number.js +309 -0
  396. package/components/wd-input-number/wd-input-number.wxss +243 -0
  397. package/components/wd-input-phone/index.js +80 -0
  398. package/components/wd-input-phone/index.json +7 -0
  399. package/components/wd-input-phone/index.wxml +55 -0
  400. package/components/wd-input-url/index.js +63 -0
  401. package/components/wd-input-url/index.json +7 -0
  402. package/components/wd-input-url/index.wxml +55 -0
  403. package/components/wd-input-wrap/index.js +112 -0
  404. package/components/wd-input-wrap/index.json +7 -0
  405. package/components/wd-input-wrap/index.wxml +32 -0
  406. package/components/wd-input-wrap/index.wxss +2 -0
  407. package/components/wd-input-wrap/wd-input-wrap.wxss +220 -0
  408. package/components/wd-layout/index.js +33 -0
  409. package/components/wd-layout/index.json +5 -0
  410. package/components/wd-layout/index.wxml +13 -0
  411. package/components/wd-layout/index.wxss +2 -0
  412. package/components/wd-layout/wd-layout.wxss +78 -0
  413. package/components/wd-location/index.js +49 -0
  414. package/components/wd-location/index.json +10 -0
  415. package/components/wd-location/index.wxml +47 -0
  416. package/components/wd-menu-base-layout/index.js +20 -0
  417. package/components/wd-menu-base-layout/index.json +5 -0
  418. package/components/wd-menu-base-layout/index.wxml +3 -0
  419. package/components/wd-menu-horizontal-layout/index.js +20 -0
  420. package/components/wd-menu-horizontal-layout/index.json +5 -0
  421. package/components/wd-menu-horizontal-layout/index.wxml +3 -0
  422. package/components/wd-menu-layout/index.js +69 -0
  423. package/components/wd-menu-layout/index.json +8 -0
  424. package/components/wd-menu-layout/index.wxml +57 -0
  425. package/components/wd-menu-layout/index.wxss +13 -0
  426. package/components/wd-menu-layout/utils/index.js +40 -0
  427. package/components/wd-menu-layout/wd-menu-layout.wxss +632 -0
  428. package/components/wd-menu-list/index.js +246 -0
  429. package/components/wd-menu-list/index.json +7 -0
  430. package/components/wd-menu-list/index.wxml +50 -0
  431. package/components/wd-menu-list/index.wxss +146 -0
  432. package/components/wd-menu-list/wd-menu-list.wxss +621 -0
  433. package/components/wd-menu-nav-layout/index.js +20 -0
  434. package/components/wd-menu-nav-layout/index.json +5 -0
  435. package/components/wd-menu-nav-layout/index.wxml +3 -0
  436. package/components/wd-menu-plant-layout/index.js +20 -0
  437. package/components/wd-menu-plant-layout/index.json +5 -0
  438. package/components/wd-menu-plant-layout/index.wxml +3 -0
  439. package/components/wd-menu-tab-layout/index.js +20 -0
  440. package/components/wd-menu-tab-layout/index.json +5 -0
  441. package/components/wd-menu-tab-layout/index.wxml +3 -0
  442. package/components/wd-menu-vertical-layout/index.js +20 -0
  443. package/components/wd-menu-vertical-layout/index.json +5 -0
  444. package/components/wd-menu-vertical-layout/index.wxml +3 -0
  445. package/components/wd-modal/index.js +184 -0
  446. package/components/wd-modal/index.json +5 -0
  447. package/components/wd-modal/index.wxml +16 -0
  448. package/components/wd-modal/index.wxss +2 -0
  449. package/components/wd-modal/wd-modal.wxss +206 -0
  450. package/components/wd-official-account/index.js +28 -0
  451. package/components/wd-official-account/index.json +5 -0
  452. package/components/wd-official-account/index.wxml +1 -0
  453. package/components/wd-official-account/index.wxss +4 -0
  454. package/components/wd-progress/index.js +127 -0
  455. package/components/wd-progress/index.json +7 -0
  456. package/components/wd-progress/index.wxml +29 -0
  457. package/components/wd-progress/index.wxss +2 -0
  458. package/components/wd-progress/wd-progress.wxss +1123 -0
  459. package/components/wd-radio-list/index.js +157 -0
  460. package/components/wd-radio-list/index.json +7 -0
  461. package/components/wd-radio-list/index.wxml +37 -0
  462. package/components/wd-radio-list/index.wxss +2 -0
  463. package/components/wd-radio-list/wd-radio-list.wxss +181 -0
  464. package/components/wd-rating/index.js +359 -0
  465. package/components/wd-rating/index.json +9 -0
  466. package/components/wd-rating/index.wxml +37 -0
  467. package/components/wd-rating/index.wxss +2 -0
  468. package/components/wd-rating/wd-rating.wxss +1116 -0
  469. package/components/wd-region/index.js +38 -0
  470. package/components/wd-region/index.json +10 -0
  471. package/components/wd-region/index.wxml +28 -0
  472. package/components/wd-region/index.wxss +4 -0
  473. package/components/wd-select/index.js +78 -0
  474. package/components/wd-select/index.json +10 -0
  475. package/components/wd-select/index.wxml +51 -0
  476. package/components/wd-select/select.wxss +728 -0
  477. package/components/wd-select-multiple/index.js +74 -0
  478. package/components/wd-select-multiple/index.json +10 -0
  479. package/components/wd-select-multiple/index.wxml +51 -0
  480. package/components/wd-side-tab/index.js +113 -0
  481. package/components/wd-side-tab/index.json +7 -0
  482. package/components/wd-side-tab/index.wxml +6 -0
  483. package/components/wd-side-tab/index.wxss +1 -0
  484. package/components/wd-switch/index.js +67 -0
  485. package/components/wd-switch/index.json +7 -0
  486. package/components/wd-switch/index.wxml +28 -0
  487. package/components/wd-switch/index.wxss +2 -0
  488. package/components/wd-switch/wd-switch.wxss +1212 -0
  489. package/components/wd-tabbar/index.js +196 -0
  490. package/components/wd-tabbar/index.json +7 -0
  491. package/components/wd-tabbar/index.wxml +10 -0
  492. package/components/wd-tabbar/index.wxss +2 -0
  493. package/components/wd-tabbar/wd-tabbar.wxss +87 -0
  494. package/components/wd-tabs/index.js +62 -0
  495. package/components/wd-tabs/index.json +5 -0
  496. package/components/wd-tabs/index.wxml +34 -0
  497. package/components/wd-tabs/index.wxss +8 -0
  498. package/components/wd-tabs/wd-tabs.wxss +265 -0
  499. package/components/wd-tag/index.js +171 -0
  500. package/components/wd-tag/index.json +7 -0
  501. package/components/wd-tag/index.wxml +22 -0
  502. package/components/wd-tag/index.wxss +3 -0
  503. package/components/wd-tag/tag-behavior.js +57 -0
  504. package/components/wd-tag/tag-item/index.js +198 -0
  505. package/components/wd-tag/tag-item/index.json +7 -0
  506. package/components/wd-tag/tag-item/index.wxml +15 -0
  507. package/components/wd-tag/wd-tag.wxss +319 -0
  508. package/components/wd-tag-select/index.js +107 -0
  509. package/components/wd-tag-select/index.json +8 -0
  510. package/components/wd-tag-select/index.wxml +42 -0
  511. package/components/wd-tag-select/index.wxss +4 -0
  512. package/components/wd-tag-select/wd-tag-select.wxss +1253 -0
  513. package/components/wd-text/index.js +162 -0
  514. package/components/wd-text/index.json +5 -0
  515. package/components/wd-text/index.wxml +8 -0
  516. package/components/wd-text/index.wxss +2 -0
  517. package/components/wd-text/wd-text.wxss +256 -0
  518. package/components/wd-textarea/index.js +94 -0
  519. package/components/wd-textarea/index.json +7 -0
  520. package/components/wd-textarea/index.wxml +31 -0
  521. package/components/wd-textarea/index.wxss +7 -0
  522. package/components/wd-textarea/wd-textarea.wxss +91 -0
  523. package/components/wd-time/index.js +124 -0
  524. package/components/wd-time/index.json +11 -0
  525. package/components/wd-time/index.wxml +36 -0
  526. package/components/wd-time/index.wxss +9 -0
  527. package/components/wd-time/wd-time.wxss +0 -0
  528. package/components/wd-top-tab/index.js +113 -0
  529. package/components/wd-top-tab/index.json +7 -0
  530. package/components/wd-top-tab/index.wxml +6 -0
  531. package/components/wd-top-tab/index.wxss +5 -0
  532. package/components/wd-unified-link/index.js +115 -0
  533. package/components/wd-unified-link/index.json +5 -0
  534. package/components/wd-unified-link/index.wxml +3 -0
  535. package/components/wd-unified-link/index.wxss +2 -0
  536. package/components/wd-unified-link/wd-link.wxss +45 -0
  537. package/components/wd-upload-file/index.js +46 -0
  538. package/components/wd-upload-file/index.json +8 -0
  539. package/components/wd-upload-file/index.wxml +39 -0
  540. package/components/wd-upload-image/index.js +64 -0
  541. package/components/wd-upload-image/index.json +8 -0
  542. package/components/wd-upload-image/index.wxml +45 -0
  543. package/components/web-view/index.js +69 -0
  544. package/components/web-view/index.json +5 -0
  545. package/components/web-view/index.wxml +1 -0
  546. package/components/web-view/index.wxss +1 -0
  547. package/components/wedaVideo/index.js +179 -0
  548. package/components/wedaVideo/index.json +4 -0
  549. package/components/wedaVideo/index.wxml +29 -0
  550. package/components/wedaVideo/index.wxss +20 -0
  551. package/components/wxOpenApi/phone/index.js +122 -0
  552. package/components/wxOpenApi/phone/index.json +4 -0
  553. package/components/wxOpenApi/phone/index.wxml +4 -0
  554. package/components/wxOpenApi/phone/index.wxss +22 -0
  555. package/components/wxOpenApi/phoneCode/index.js +102 -0
  556. package/components/wxOpenApi/phoneCode/index.json +4 -0
  557. package/components/wxOpenApi/phoneCode/index.wxml +4 -0
  558. package/components/wxOpenApi/phoneCode/index.wxss +22 -0
  559. package/components/wxOpenApi/share/index.js +134 -0
  560. package/components/wxOpenApi/share/index.json +4 -0
  561. package/components/wxOpenApi/share/index.wxml +4 -0
  562. package/components/wxOpenApi/share/index.wxss +22 -0
  563. package/components/wxOpenApi/userInfo/index.js +97 -0
  564. package/components/wxOpenApi/userInfo/index.json +4 -0
  565. package/components/wxOpenApi/userInfo/index.wxml +4 -0
  566. package/components/wxOpenApi/userInfo/index.wxss +22 -0
  567. package/index.json +128 -0
  568. package/package.json +16 -0
  569. package/style/utils.wxss +162 -0
  570. package/style/wd-design.wxss +606 -0
  571. package/style/weda-ui.wxss +1412 -0
  572. package/style/wedatea2td.wxss +56 -0
  573. package/utils/classnames.js +39 -0
  574. package/utils/color.js +76 -0
  575. package/utils/common-behavior.js +1 -0
  576. package/utils/constant.js +132 -0
  577. package/utils/date.js +47 -0
  578. package/utils/dayjs.min.js +1 -0
  579. package/utils/debounce.js +134 -0
  580. package/utils/deepEqual.js +42 -0
  581. package/utils/destr.js +49 -0
  582. package/utils/dr_square_point.js +29 -0
  583. package/utils/enum.js +1247 -0
  584. package/utils/error.js +12 -0
  585. package/utils/getCustomInfo.js +34 -0
  586. package/utils/getFormLegacy.js +401 -0
  587. package/utils/getModelParams.js +43 -0
  588. package/utils/getWedaApi.js +1 -0
  589. package/utils/handleEvents.js +34 -0
  590. package/utils/lodash.js +65 -0
  591. package/utils/platform.js +158 -0
  592. package/utils/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.js +1323 -0
  593. package/utils/qrcode/weapp.qrcode.min.js +911 -0
  594. package/utils/range.js +82 -0
  595. package/utils/tcb.js +162 -0
  596. package/utils/tool.js +74 -0
  597. package/utils/widget-api.js +28 -0
@@ -0,0 +1,1206 @@
1
+ @charset "UTF-8";
2
+ /* prettier-ignore */
3
+ /* 与重构沟通的root font-size 是 16, 设计稿分 大中小无,对应 4 3 2 0 */
4
+ /* prettier-ignore */
5
+ .wd-grid-row {
6
+ /**
7
+ * 不采用行列gutter 通过 Grid来设置
8
+ */
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ margin-top: calc(-1 * var(--wd-grid-gutter-y));
12
+ margin-right: calc(-0.5 * var(--wd-grid-gutter-x));
13
+ margin-left: calc(-0.5 * var(--wd-grid-gutter-x));
14
+ /* 特殊加的 */
15
+ margin-bottom: calc(1 * var(--wd-grid-gutter-rb));
16
+ /* 只支持立即子节点的, 通过编辑器位置限制机制来保证 */
17
+ }
18
+ .wd-grid-row:last-child {
19
+ margin-bottom: unset;
20
+ }
21
+ .wd-grid-row > div,
22
+ .wd-grid-row > view {
23
+ flex-shrink: 0;
24
+ width: 100%;
25
+ max-width: 100%;
26
+ padding-right: calc(var(--wd-grid-gutter-x) * 0.5);
27
+ padding-left: calc(var(--wd-grid-gutter-x) * 0.5);
28
+ margin-top: var(--wd-grid-gutter-y);
29
+ }
30
+
31
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
32
+ .wd-grid-col.wd-grid-col {
33
+ flex: 1 0 0%;
34
+ }
35
+
36
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
37
+ .wd-grid-col-auto.wd-grid-col-auto {
38
+ flex: 0 0 auto;
39
+ width: auto;
40
+ }
41
+
42
+ .wd-grid-col-1.wd-grid-col-1 {
43
+ flex: 0 0 auto;
44
+ width: 8.33333333%;
45
+ }
46
+
47
+ .wd-grid-col-2.wd-grid-col-2 {
48
+ flex: 0 0 auto;
49
+ width: 16.66666667%;
50
+ }
51
+
52
+ .wd-grid-col-3.wd-grid-col-3 {
53
+ flex: 0 0 auto;
54
+ width: 25%;
55
+ }
56
+
57
+ .wd-grid-col-4.wd-grid-col-4 {
58
+ flex: 0 0 auto;
59
+ width: 33.33333333%;
60
+ }
61
+
62
+ .wd-grid-col-5.wd-grid-col-5 {
63
+ flex: 0 0 auto;
64
+ width: 41.66666667%;
65
+ }
66
+
67
+ .wd-grid-col-6.wd-grid-col-6 {
68
+ flex: 0 0 auto;
69
+ width: 50%;
70
+ }
71
+
72
+ .wd-grid-col-7.wd-grid-col-7 {
73
+ flex: 0 0 auto;
74
+ width: 58.33333333%;
75
+ }
76
+
77
+ .wd-grid-col-8.wd-grid-col-8 {
78
+ flex: 0 0 auto;
79
+ width: 66.66666667%;
80
+ }
81
+
82
+ .wd-grid-col-9.wd-grid-col-9 {
83
+ flex: 0 0 auto;
84
+ width: 75%;
85
+ }
86
+
87
+ .wd-grid-col-10.wd-grid-col-10 {
88
+ flex: 0 0 auto;
89
+ width: 83.33333333%;
90
+ }
91
+
92
+ .wd-grid-col-11.wd-grid-col-11 {
93
+ flex: 0 0 auto;
94
+ width: 91.66666667%;
95
+ }
96
+
97
+ .wd-grid-col-12.wd-grid-col-12 {
98
+ flex: 0 0 auto;
99
+ width: 100%;
100
+ }
101
+
102
+ /**
103
+ *
104
+ * 不生成offset
105
+ *
106
+ */
107
+ .wd-grid-g-0,
108
+ .wd-grid-gx-0 {
109
+ --wd-grid-gutter-x: 0;
110
+ }
111
+
112
+ .wd-grid-g-0,
113
+ .wd-grid-gy-0 {
114
+ --wd-grid-gutter-y: 0;
115
+ }
116
+
117
+ .wd-grid-grb-0 {
118
+ --wd-grid-gutter-rb: 0;
119
+ }
120
+
121
+ .wd-grid-g-1,
122
+ .wd-grid-gx-1 {
123
+ --wd-grid-gutter-x: 4PX;
124
+ }
125
+
126
+ .wd-grid-g-1,
127
+ .wd-grid-gy-1 {
128
+ --wd-grid-gutter-y: 4PX;
129
+ }
130
+
131
+ .wd-grid-grb-1 {
132
+ --wd-grid-gutter-rb: 4PX;
133
+ }
134
+
135
+ .wd-grid-g-2,
136
+ .wd-grid-gx-2 {
137
+ --wd-grid-gutter-x: 8PX;
138
+ }
139
+
140
+ .wd-grid-g-2,
141
+ .wd-grid-gy-2 {
142
+ --wd-grid-gutter-y: 8PX;
143
+ }
144
+
145
+ .wd-grid-grb-2 {
146
+ --wd-grid-gutter-rb: 8PX;
147
+ }
148
+
149
+ .wd-grid-g-3,
150
+ .wd-grid-gx-3 {
151
+ --wd-grid-gutter-x: 16PX;
152
+ }
153
+
154
+ .wd-grid-g-3,
155
+ .wd-grid-gy-3 {
156
+ --wd-grid-gutter-y: 16PX;
157
+ }
158
+
159
+ .wd-grid-grb-3 {
160
+ --wd-grid-gutter-rb: 16PX;
161
+ }
162
+
163
+ .wd-grid-g-4,
164
+ .wd-grid-gx-4 {
165
+ --wd-grid-gutter-x: 24PX;
166
+ }
167
+
168
+ .wd-grid-g-4,
169
+ .wd-grid-gy-4 {
170
+ --wd-grid-gutter-y: 24PX;
171
+ }
172
+
173
+ .wd-grid-grb-4 {
174
+ --wd-grid-gutter-rb: 24PX;
175
+ }
176
+
177
+ .wd-grid-g-5,
178
+ .wd-grid-gx-5 {
179
+ --wd-grid-gutter-x: 32PX;
180
+ }
181
+
182
+ .wd-grid-g-5,
183
+ .wd-grid-gy-5 {
184
+ --wd-grid-gutter-y: 32PX;
185
+ }
186
+
187
+ .wd-grid-grb-5 {
188
+ --wd-grid-gutter-rb: 32PX;
189
+ }
190
+
191
+ .wd-grid-g-6,
192
+ .wd-grid-gx-6 {
193
+ --wd-grid-gutter-x: 48PX;
194
+ }
195
+
196
+ .wd-grid-g-6,
197
+ .wd-grid-gy-6 {
198
+ --wd-grid-gutter-y: 48PX;
199
+ }
200
+
201
+ .wd-grid-grb-6 {
202
+ --wd-grid-gutter-rb: 48PX;
203
+ }
204
+
205
+ .wd-grid-g-7,
206
+ .wd-grid-gx-7 {
207
+ --wd-grid-gutter-x: 60PX;
208
+ }
209
+
210
+ .wd-grid-g-7,
211
+ .wd-grid-gy-7 {
212
+ --wd-grid-gutter-y: 60PX;
213
+ }
214
+
215
+ .wd-grid-grb-7 {
216
+ --wd-grid-gutter-rb: 60PX;
217
+ }
218
+
219
+ .wd-grid-g-8,
220
+ .wd-grid-gx-8 {
221
+ --wd-grid-gutter-x: 80PX;
222
+ }
223
+
224
+ .wd-grid-g-8,
225
+ .wd-grid-gy-8 {
226
+ --wd-grid-gutter-y: 80PX;
227
+ }
228
+
229
+ .wd-grid-grb-8 {
230
+ --wd-grid-gutter-rb: 80PX;
231
+ }
232
+
233
+ .wd-grid-g-9,
234
+ .wd-grid-gx-9 {
235
+ --wd-grid-gutter-x: 100PX;
236
+ }
237
+
238
+ .wd-grid-g-9,
239
+ .wd-grid-gy-9 {
240
+ --wd-grid-gutter-y: 100PX;
241
+ }
242
+
243
+ .wd-grid-grb-9 {
244
+ --wd-grid-gutter-rb: 100PX;
245
+ }
246
+
247
+ .wd-grid-g-10,
248
+ .wd-grid-gx-10 {
249
+ --wd-grid-gutter-x: 128PX;
250
+ }
251
+
252
+ .wd-grid-g-10,
253
+ .wd-grid-gy-10 {
254
+ --wd-grid-gutter-y: 128PX;
255
+ }
256
+
257
+ .wd-grid-grb-10 {
258
+ --wd-grid-gutter-rb: 128PX;
259
+ }
260
+
261
+ @media (min-width: 576px) {
262
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
263
+ .wd-grid-col-sm.wd-grid-col-sm {
264
+ flex: 1 0 0%;
265
+ }
266
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
267
+ .wd-grid-col-sm-auto.wd-grid-col-sm-auto {
268
+ flex: 0 0 auto;
269
+ width: auto;
270
+ }
271
+ .wd-grid-col-sm-1.wd-grid-col-sm-1 {
272
+ flex: 0 0 auto;
273
+ width: 8.33333333%;
274
+ }
275
+ .wd-grid-col-sm-2.wd-grid-col-sm-2 {
276
+ flex: 0 0 auto;
277
+ width: 16.66666667%;
278
+ }
279
+ .wd-grid-col-sm-3.wd-grid-col-sm-3 {
280
+ flex: 0 0 auto;
281
+ width: 25%;
282
+ }
283
+ .wd-grid-col-sm-4.wd-grid-col-sm-4 {
284
+ flex: 0 0 auto;
285
+ width: 33.33333333%;
286
+ }
287
+ .wd-grid-col-sm-5.wd-grid-col-sm-5 {
288
+ flex: 0 0 auto;
289
+ width: 41.66666667%;
290
+ }
291
+ .wd-grid-col-sm-6.wd-grid-col-sm-6 {
292
+ flex: 0 0 auto;
293
+ width: 50%;
294
+ }
295
+ .wd-grid-col-sm-7.wd-grid-col-sm-7 {
296
+ flex: 0 0 auto;
297
+ width: 58.33333333%;
298
+ }
299
+ .wd-grid-col-sm-8.wd-grid-col-sm-8 {
300
+ flex: 0 0 auto;
301
+ width: 66.66666667%;
302
+ }
303
+ .wd-grid-col-sm-9.wd-grid-col-sm-9 {
304
+ flex: 0 0 auto;
305
+ width: 75%;
306
+ }
307
+ .wd-grid-col-sm-10.wd-grid-col-sm-10 {
308
+ flex: 0 0 auto;
309
+ width: 83.33333333%;
310
+ }
311
+ .wd-grid-col-sm-11.wd-grid-col-sm-11 {
312
+ flex: 0 0 auto;
313
+ width: 91.66666667%;
314
+ }
315
+ .wd-grid-col-sm-12.wd-grid-col-sm-12 {
316
+ flex: 0 0 auto;
317
+ width: 100%;
318
+ }
319
+ /**
320
+ *
321
+ * 不生成offset
322
+ *
323
+ */
324
+ .wd-grid-g-sm-0,
325
+ .wd-grid-gx-sm-0 {
326
+ --wd-grid-gutter-x: 0;
327
+ }
328
+ .wd-grid-g-sm-0,
329
+ .wd-grid-gy-sm-0 {
330
+ --wd-grid-gutter-y: 0;
331
+ }
332
+ .wd-grid-grb-sm-0 {
333
+ --wd-grid-gutter-rb: 0;
334
+ }
335
+ .wd-grid-g-sm-1,
336
+ .wd-grid-gx-sm-1 {
337
+ --wd-grid-gutter-x: 4PX;
338
+ }
339
+ .wd-grid-g-sm-1,
340
+ .wd-grid-gy-sm-1 {
341
+ --wd-grid-gutter-y: 4PX;
342
+ }
343
+ .wd-grid-grb-sm-1 {
344
+ --wd-grid-gutter-rb: 4PX;
345
+ }
346
+ .wd-grid-g-sm-2,
347
+ .wd-grid-gx-sm-2 {
348
+ --wd-grid-gutter-x: 8PX;
349
+ }
350
+ .wd-grid-g-sm-2,
351
+ .wd-grid-gy-sm-2 {
352
+ --wd-grid-gutter-y: 8PX;
353
+ }
354
+ .wd-grid-grb-sm-2 {
355
+ --wd-grid-gutter-rb: 8PX;
356
+ }
357
+ .wd-grid-g-sm-3,
358
+ .wd-grid-gx-sm-3 {
359
+ --wd-grid-gutter-x: 16PX;
360
+ }
361
+ .wd-grid-g-sm-3,
362
+ .wd-grid-gy-sm-3 {
363
+ --wd-grid-gutter-y: 16PX;
364
+ }
365
+ .wd-grid-grb-sm-3 {
366
+ --wd-grid-gutter-rb: 16PX;
367
+ }
368
+ .wd-grid-g-sm-4,
369
+ .wd-grid-gx-sm-4 {
370
+ --wd-grid-gutter-x: 24PX;
371
+ }
372
+ .wd-grid-g-sm-4,
373
+ .wd-grid-gy-sm-4 {
374
+ --wd-grid-gutter-y: 24PX;
375
+ }
376
+ .wd-grid-grb-sm-4 {
377
+ --wd-grid-gutter-rb: 24PX;
378
+ }
379
+ .wd-grid-g-sm-5,
380
+ .wd-grid-gx-sm-5 {
381
+ --wd-grid-gutter-x: 32PX;
382
+ }
383
+ .wd-grid-g-sm-5,
384
+ .wd-grid-gy-sm-5 {
385
+ --wd-grid-gutter-y: 32PX;
386
+ }
387
+ .wd-grid-grb-sm-5 {
388
+ --wd-grid-gutter-rb: 32PX;
389
+ }
390
+ .wd-grid-g-sm-6,
391
+ .wd-grid-gx-sm-6 {
392
+ --wd-grid-gutter-x: 48PX;
393
+ }
394
+ .wd-grid-g-sm-6,
395
+ .wd-grid-gy-sm-6 {
396
+ --wd-grid-gutter-y: 48PX;
397
+ }
398
+ .wd-grid-grb-sm-6 {
399
+ --wd-grid-gutter-rb: 48PX;
400
+ }
401
+ .wd-grid-g-sm-7,
402
+ .wd-grid-gx-sm-7 {
403
+ --wd-grid-gutter-x: 60PX;
404
+ }
405
+ .wd-grid-g-sm-7,
406
+ .wd-grid-gy-sm-7 {
407
+ --wd-grid-gutter-y: 60PX;
408
+ }
409
+ .wd-grid-grb-sm-7 {
410
+ --wd-grid-gutter-rb: 60PX;
411
+ }
412
+ .wd-grid-g-sm-8,
413
+ .wd-grid-gx-sm-8 {
414
+ --wd-grid-gutter-x: 80PX;
415
+ }
416
+ .wd-grid-g-sm-8,
417
+ .wd-grid-gy-sm-8 {
418
+ --wd-grid-gutter-y: 80PX;
419
+ }
420
+ .wd-grid-grb-sm-8 {
421
+ --wd-grid-gutter-rb: 80PX;
422
+ }
423
+ .wd-grid-g-sm-9,
424
+ .wd-grid-gx-sm-9 {
425
+ --wd-grid-gutter-x: 100PX;
426
+ }
427
+ .wd-grid-g-sm-9,
428
+ .wd-grid-gy-sm-9 {
429
+ --wd-grid-gutter-y: 100PX;
430
+ }
431
+ .wd-grid-grb-sm-9 {
432
+ --wd-grid-gutter-rb: 100PX;
433
+ }
434
+ .wd-grid-g-sm-10,
435
+ .wd-grid-gx-sm-10 {
436
+ --wd-grid-gutter-x: 128PX;
437
+ }
438
+ .wd-grid-g-sm-10,
439
+ .wd-grid-gy-sm-10 {
440
+ --wd-grid-gutter-y: 128PX;
441
+ }
442
+ .wd-grid-grb-sm-10 {
443
+ --wd-grid-gutter-rb: 128PX;
444
+ }
445
+ }
446
+ @media (min-width: 768px) {
447
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
448
+ .wd-grid-col-md.wd-grid-col-md {
449
+ flex: 1 0 0%;
450
+ }
451
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
452
+ .wd-grid-col-md-auto.wd-grid-col-md-auto {
453
+ flex: 0 0 auto;
454
+ width: auto;
455
+ }
456
+ .wd-grid-col-md-1.wd-grid-col-md-1 {
457
+ flex: 0 0 auto;
458
+ width: 8.33333333%;
459
+ }
460
+ .wd-grid-col-md-2.wd-grid-col-md-2 {
461
+ flex: 0 0 auto;
462
+ width: 16.66666667%;
463
+ }
464
+ .wd-grid-col-md-3.wd-grid-col-md-3 {
465
+ flex: 0 0 auto;
466
+ width: 25%;
467
+ }
468
+ .wd-grid-col-md-4.wd-grid-col-md-4 {
469
+ flex: 0 0 auto;
470
+ width: 33.33333333%;
471
+ }
472
+ .wd-grid-col-md-5.wd-grid-col-md-5 {
473
+ flex: 0 0 auto;
474
+ width: 41.66666667%;
475
+ }
476
+ .wd-grid-col-md-6.wd-grid-col-md-6 {
477
+ flex: 0 0 auto;
478
+ width: 50%;
479
+ }
480
+ .wd-grid-col-md-7.wd-grid-col-md-7 {
481
+ flex: 0 0 auto;
482
+ width: 58.33333333%;
483
+ }
484
+ .wd-grid-col-md-8.wd-grid-col-md-8 {
485
+ flex: 0 0 auto;
486
+ width: 66.66666667%;
487
+ }
488
+ .wd-grid-col-md-9.wd-grid-col-md-9 {
489
+ flex: 0 0 auto;
490
+ width: 75%;
491
+ }
492
+ .wd-grid-col-md-10.wd-grid-col-md-10 {
493
+ flex: 0 0 auto;
494
+ width: 83.33333333%;
495
+ }
496
+ .wd-grid-col-md-11.wd-grid-col-md-11 {
497
+ flex: 0 0 auto;
498
+ width: 91.66666667%;
499
+ }
500
+ .wd-grid-col-md-12.wd-grid-col-md-12 {
501
+ flex: 0 0 auto;
502
+ width: 100%;
503
+ }
504
+ /**
505
+ *
506
+ * 不生成offset
507
+ *
508
+ */
509
+ .wd-grid-g-md-0,
510
+ .wd-grid-gx-md-0 {
511
+ --wd-grid-gutter-x: 0;
512
+ }
513
+ .wd-grid-g-md-0,
514
+ .wd-grid-gy-md-0 {
515
+ --wd-grid-gutter-y: 0;
516
+ }
517
+ .wd-grid-grb-md-0 {
518
+ --wd-grid-gutter-rb: 0;
519
+ }
520
+ .wd-grid-g-md-1,
521
+ .wd-grid-gx-md-1 {
522
+ --wd-grid-gutter-x: 4PX;
523
+ }
524
+ .wd-grid-g-md-1,
525
+ .wd-grid-gy-md-1 {
526
+ --wd-grid-gutter-y: 4PX;
527
+ }
528
+ .wd-grid-grb-md-1 {
529
+ --wd-grid-gutter-rb: 4PX;
530
+ }
531
+ .wd-grid-g-md-2,
532
+ .wd-grid-gx-md-2 {
533
+ --wd-grid-gutter-x: 8PX;
534
+ }
535
+ .wd-grid-g-md-2,
536
+ .wd-grid-gy-md-2 {
537
+ --wd-grid-gutter-y: 8PX;
538
+ }
539
+ .wd-grid-grb-md-2 {
540
+ --wd-grid-gutter-rb: 8PX;
541
+ }
542
+ .wd-grid-g-md-3,
543
+ .wd-grid-gx-md-3 {
544
+ --wd-grid-gutter-x: 16PX;
545
+ }
546
+ .wd-grid-g-md-3,
547
+ .wd-grid-gy-md-3 {
548
+ --wd-grid-gutter-y: 16PX;
549
+ }
550
+ .wd-grid-grb-md-3 {
551
+ --wd-grid-gutter-rb: 16PX;
552
+ }
553
+ .wd-grid-g-md-4,
554
+ .wd-grid-gx-md-4 {
555
+ --wd-grid-gutter-x: 24PX;
556
+ }
557
+ .wd-grid-g-md-4,
558
+ .wd-grid-gy-md-4 {
559
+ --wd-grid-gutter-y: 24PX;
560
+ }
561
+ .wd-grid-grb-md-4 {
562
+ --wd-grid-gutter-rb: 24PX;
563
+ }
564
+ .wd-grid-g-md-5,
565
+ .wd-grid-gx-md-5 {
566
+ --wd-grid-gutter-x: 32PX;
567
+ }
568
+ .wd-grid-g-md-5,
569
+ .wd-grid-gy-md-5 {
570
+ --wd-grid-gutter-y: 32PX;
571
+ }
572
+ .wd-grid-grb-md-5 {
573
+ --wd-grid-gutter-rb: 32PX;
574
+ }
575
+ .wd-grid-g-md-6,
576
+ .wd-grid-gx-md-6 {
577
+ --wd-grid-gutter-x: 48PX;
578
+ }
579
+ .wd-grid-g-md-6,
580
+ .wd-grid-gy-md-6 {
581
+ --wd-grid-gutter-y: 48PX;
582
+ }
583
+ .wd-grid-grb-md-6 {
584
+ --wd-grid-gutter-rb: 48PX;
585
+ }
586
+ .wd-grid-g-md-7,
587
+ .wd-grid-gx-md-7 {
588
+ --wd-grid-gutter-x: 60PX;
589
+ }
590
+ .wd-grid-g-md-7,
591
+ .wd-grid-gy-md-7 {
592
+ --wd-grid-gutter-y: 60PX;
593
+ }
594
+ .wd-grid-grb-md-7 {
595
+ --wd-grid-gutter-rb: 60PX;
596
+ }
597
+ .wd-grid-g-md-8,
598
+ .wd-grid-gx-md-8 {
599
+ --wd-grid-gutter-x: 80PX;
600
+ }
601
+ .wd-grid-g-md-8,
602
+ .wd-grid-gy-md-8 {
603
+ --wd-grid-gutter-y: 80PX;
604
+ }
605
+ .wd-grid-grb-md-8 {
606
+ --wd-grid-gutter-rb: 80PX;
607
+ }
608
+ .wd-grid-g-md-9,
609
+ .wd-grid-gx-md-9 {
610
+ --wd-grid-gutter-x: 100PX;
611
+ }
612
+ .wd-grid-g-md-9,
613
+ .wd-grid-gy-md-9 {
614
+ --wd-grid-gutter-y: 100PX;
615
+ }
616
+ .wd-grid-grb-md-9 {
617
+ --wd-grid-gutter-rb: 100PX;
618
+ }
619
+ .wd-grid-g-md-10,
620
+ .wd-grid-gx-md-10 {
621
+ --wd-grid-gutter-x: 128PX;
622
+ }
623
+ .wd-grid-g-md-10,
624
+ .wd-grid-gy-md-10 {
625
+ --wd-grid-gutter-y: 128PX;
626
+ }
627
+ .wd-grid-grb-md-10 {
628
+ --wd-grid-gutter-rb: 128PX;
629
+ }
630
+ }
631
+ @media (min-width: 992px) {
632
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
633
+ .wd-grid-col-lg.wd-grid-col-lg {
634
+ flex: 1 0 0%;
635
+ }
636
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
637
+ .wd-grid-col-lg-auto.wd-grid-col-lg-auto {
638
+ flex: 0 0 auto;
639
+ width: auto;
640
+ }
641
+ .wd-grid-col-lg-1.wd-grid-col-lg-1 {
642
+ flex: 0 0 auto;
643
+ width: 8.33333333%;
644
+ }
645
+ .wd-grid-col-lg-2.wd-grid-col-lg-2 {
646
+ flex: 0 0 auto;
647
+ width: 16.66666667%;
648
+ }
649
+ .wd-grid-col-lg-3.wd-grid-col-lg-3 {
650
+ flex: 0 0 auto;
651
+ width: 25%;
652
+ }
653
+ .wd-grid-col-lg-4.wd-grid-col-lg-4 {
654
+ flex: 0 0 auto;
655
+ width: 33.33333333%;
656
+ }
657
+ .wd-grid-col-lg-5.wd-grid-col-lg-5 {
658
+ flex: 0 0 auto;
659
+ width: 41.66666667%;
660
+ }
661
+ .wd-grid-col-lg-6.wd-grid-col-lg-6 {
662
+ flex: 0 0 auto;
663
+ width: 50%;
664
+ }
665
+ .wd-grid-col-lg-7.wd-grid-col-lg-7 {
666
+ flex: 0 0 auto;
667
+ width: 58.33333333%;
668
+ }
669
+ .wd-grid-col-lg-8.wd-grid-col-lg-8 {
670
+ flex: 0 0 auto;
671
+ width: 66.66666667%;
672
+ }
673
+ .wd-grid-col-lg-9.wd-grid-col-lg-9 {
674
+ flex: 0 0 auto;
675
+ width: 75%;
676
+ }
677
+ .wd-grid-col-lg-10.wd-grid-col-lg-10 {
678
+ flex: 0 0 auto;
679
+ width: 83.33333333%;
680
+ }
681
+ .wd-grid-col-lg-11.wd-grid-col-lg-11 {
682
+ flex: 0 0 auto;
683
+ width: 91.66666667%;
684
+ }
685
+ .wd-grid-col-lg-12.wd-grid-col-lg-12 {
686
+ flex: 0 0 auto;
687
+ width: 100%;
688
+ }
689
+ /**
690
+ *
691
+ * 不生成offset
692
+ *
693
+ */
694
+ .wd-grid-g-lg-0,
695
+ .wd-grid-gx-lg-0 {
696
+ --wd-grid-gutter-x: 0;
697
+ }
698
+ .wd-grid-g-lg-0,
699
+ .wd-grid-gy-lg-0 {
700
+ --wd-grid-gutter-y: 0;
701
+ }
702
+ .wd-grid-grb-lg-0 {
703
+ --wd-grid-gutter-rb: 0;
704
+ }
705
+ .wd-grid-g-lg-1,
706
+ .wd-grid-gx-lg-1 {
707
+ --wd-grid-gutter-x: 4PX;
708
+ }
709
+ .wd-grid-g-lg-1,
710
+ .wd-grid-gy-lg-1 {
711
+ --wd-grid-gutter-y: 4PX;
712
+ }
713
+ .wd-grid-grb-lg-1 {
714
+ --wd-grid-gutter-rb: 4PX;
715
+ }
716
+ .wd-grid-g-lg-2,
717
+ .wd-grid-gx-lg-2 {
718
+ --wd-grid-gutter-x: 8PX;
719
+ }
720
+ .wd-grid-g-lg-2,
721
+ .wd-grid-gy-lg-2 {
722
+ --wd-grid-gutter-y: 8PX;
723
+ }
724
+ .wd-grid-grb-lg-2 {
725
+ --wd-grid-gutter-rb: 8PX;
726
+ }
727
+ .wd-grid-g-lg-3,
728
+ .wd-grid-gx-lg-3 {
729
+ --wd-grid-gutter-x: 16PX;
730
+ }
731
+ .wd-grid-g-lg-3,
732
+ .wd-grid-gy-lg-3 {
733
+ --wd-grid-gutter-y: 16PX;
734
+ }
735
+ .wd-grid-grb-lg-3 {
736
+ --wd-grid-gutter-rb: 16PX;
737
+ }
738
+ .wd-grid-g-lg-4,
739
+ .wd-grid-gx-lg-4 {
740
+ --wd-grid-gutter-x: 24PX;
741
+ }
742
+ .wd-grid-g-lg-4,
743
+ .wd-grid-gy-lg-4 {
744
+ --wd-grid-gutter-y: 24PX;
745
+ }
746
+ .wd-grid-grb-lg-4 {
747
+ --wd-grid-gutter-rb: 24PX;
748
+ }
749
+ .wd-grid-g-lg-5,
750
+ .wd-grid-gx-lg-5 {
751
+ --wd-grid-gutter-x: 32PX;
752
+ }
753
+ .wd-grid-g-lg-5,
754
+ .wd-grid-gy-lg-5 {
755
+ --wd-grid-gutter-y: 32PX;
756
+ }
757
+ .wd-grid-grb-lg-5 {
758
+ --wd-grid-gutter-rb: 32PX;
759
+ }
760
+ .wd-grid-g-lg-6,
761
+ .wd-grid-gx-lg-6 {
762
+ --wd-grid-gutter-x: 48PX;
763
+ }
764
+ .wd-grid-g-lg-6,
765
+ .wd-grid-gy-lg-6 {
766
+ --wd-grid-gutter-y: 48PX;
767
+ }
768
+ .wd-grid-grb-lg-6 {
769
+ --wd-grid-gutter-rb: 48PX;
770
+ }
771
+ .wd-grid-g-lg-7,
772
+ .wd-grid-gx-lg-7 {
773
+ --wd-grid-gutter-x: 60PX;
774
+ }
775
+ .wd-grid-g-lg-7,
776
+ .wd-grid-gy-lg-7 {
777
+ --wd-grid-gutter-y: 60PX;
778
+ }
779
+ .wd-grid-grb-lg-7 {
780
+ --wd-grid-gutter-rb: 60PX;
781
+ }
782
+ .wd-grid-g-lg-8,
783
+ .wd-grid-gx-lg-8 {
784
+ --wd-grid-gutter-x: 80PX;
785
+ }
786
+ .wd-grid-g-lg-8,
787
+ .wd-grid-gy-lg-8 {
788
+ --wd-grid-gutter-y: 80PX;
789
+ }
790
+ .wd-grid-grb-lg-8 {
791
+ --wd-grid-gutter-rb: 80PX;
792
+ }
793
+ .wd-grid-g-lg-9,
794
+ .wd-grid-gx-lg-9 {
795
+ --wd-grid-gutter-x: 100PX;
796
+ }
797
+ .wd-grid-g-lg-9,
798
+ .wd-grid-gy-lg-9 {
799
+ --wd-grid-gutter-y: 100PX;
800
+ }
801
+ .wd-grid-grb-lg-9 {
802
+ --wd-grid-gutter-rb: 100PX;
803
+ }
804
+ .wd-grid-g-lg-10,
805
+ .wd-grid-gx-lg-10 {
806
+ --wd-grid-gutter-x: 128PX;
807
+ }
808
+ .wd-grid-g-lg-10,
809
+ .wd-grid-gy-lg-10 {
810
+ --wd-grid-gutter-y: 128PX;
811
+ }
812
+ .wd-grid-grb-lg-10 {
813
+ --wd-grid-gutter-rb: 128PX;
814
+ }
815
+ }
816
+ @media (min-width: 1200px) {
817
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
818
+ .wd-grid-col-xl.wd-grid-col-xl {
819
+ flex: 1 0 0%;
820
+ }
821
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
822
+ .wd-grid-col-xl-auto.wd-grid-col-xl-auto {
823
+ flex: 0 0 auto;
824
+ width: auto;
825
+ }
826
+ .wd-grid-col-xl-1.wd-grid-col-xl-1 {
827
+ flex: 0 0 auto;
828
+ width: 8.33333333%;
829
+ }
830
+ .wd-grid-col-xl-2.wd-grid-col-xl-2 {
831
+ flex: 0 0 auto;
832
+ width: 16.66666667%;
833
+ }
834
+ .wd-grid-col-xl-3.wd-grid-col-xl-3 {
835
+ flex: 0 0 auto;
836
+ width: 25%;
837
+ }
838
+ .wd-grid-col-xl-4.wd-grid-col-xl-4 {
839
+ flex: 0 0 auto;
840
+ width: 33.33333333%;
841
+ }
842
+ .wd-grid-col-xl-5.wd-grid-col-xl-5 {
843
+ flex: 0 0 auto;
844
+ width: 41.66666667%;
845
+ }
846
+ .wd-grid-col-xl-6.wd-grid-col-xl-6 {
847
+ flex: 0 0 auto;
848
+ width: 50%;
849
+ }
850
+ .wd-grid-col-xl-7.wd-grid-col-xl-7 {
851
+ flex: 0 0 auto;
852
+ width: 58.33333333%;
853
+ }
854
+ .wd-grid-col-xl-8.wd-grid-col-xl-8 {
855
+ flex: 0 0 auto;
856
+ width: 66.66666667%;
857
+ }
858
+ .wd-grid-col-xl-9.wd-grid-col-xl-9 {
859
+ flex: 0 0 auto;
860
+ width: 75%;
861
+ }
862
+ .wd-grid-col-xl-10.wd-grid-col-xl-10 {
863
+ flex: 0 0 auto;
864
+ width: 83.33333333%;
865
+ }
866
+ .wd-grid-col-xl-11.wd-grid-col-xl-11 {
867
+ flex: 0 0 auto;
868
+ width: 91.66666667%;
869
+ }
870
+ .wd-grid-col-xl-12.wd-grid-col-xl-12 {
871
+ flex: 0 0 auto;
872
+ width: 100%;
873
+ }
874
+ /**
875
+ *
876
+ * 不生成offset
877
+ *
878
+ */
879
+ .wd-grid-g-xl-0,
880
+ .wd-grid-gx-xl-0 {
881
+ --wd-grid-gutter-x: 0;
882
+ }
883
+ .wd-grid-g-xl-0,
884
+ .wd-grid-gy-xl-0 {
885
+ --wd-grid-gutter-y: 0;
886
+ }
887
+ .wd-grid-grb-xl-0 {
888
+ --wd-grid-gutter-rb: 0;
889
+ }
890
+ .wd-grid-g-xl-1,
891
+ .wd-grid-gx-xl-1 {
892
+ --wd-grid-gutter-x: 4PX;
893
+ }
894
+ .wd-grid-g-xl-1,
895
+ .wd-grid-gy-xl-1 {
896
+ --wd-grid-gutter-y: 4PX;
897
+ }
898
+ .wd-grid-grb-xl-1 {
899
+ --wd-grid-gutter-rb: 4PX;
900
+ }
901
+ .wd-grid-g-xl-2,
902
+ .wd-grid-gx-xl-2 {
903
+ --wd-grid-gutter-x: 8PX;
904
+ }
905
+ .wd-grid-g-xl-2,
906
+ .wd-grid-gy-xl-2 {
907
+ --wd-grid-gutter-y: 8PX;
908
+ }
909
+ .wd-grid-grb-xl-2 {
910
+ --wd-grid-gutter-rb: 8PX;
911
+ }
912
+ .wd-grid-g-xl-3,
913
+ .wd-grid-gx-xl-3 {
914
+ --wd-grid-gutter-x: 16PX;
915
+ }
916
+ .wd-grid-g-xl-3,
917
+ .wd-grid-gy-xl-3 {
918
+ --wd-grid-gutter-y: 16PX;
919
+ }
920
+ .wd-grid-grb-xl-3 {
921
+ --wd-grid-gutter-rb: 16PX;
922
+ }
923
+ .wd-grid-g-xl-4,
924
+ .wd-grid-gx-xl-4 {
925
+ --wd-grid-gutter-x: 24PX;
926
+ }
927
+ .wd-grid-g-xl-4,
928
+ .wd-grid-gy-xl-4 {
929
+ --wd-grid-gutter-y: 24PX;
930
+ }
931
+ .wd-grid-grb-xl-4 {
932
+ --wd-grid-gutter-rb: 24PX;
933
+ }
934
+ .wd-grid-g-xl-5,
935
+ .wd-grid-gx-xl-5 {
936
+ --wd-grid-gutter-x: 32PX;
937
+ }
938
+ .wd-grid-g-xl-5,
939
+ .wd-grid-gy-xl-5 {
940
+ --wd-grid-gutter-y: 32PX;
941
+ }
942
+ .wd-grid-grb-xl-5 {
943
+ --wd-grid-gutter-rb: 32PX;
944
+ }
945
+ .wd-grid-g-xl-6,
946
+ .wd-grid-gx-xl-6 {
947
+ --wd-grid-gutter-x: 48PX;
948
+ }
949
+ .wd-grid-g-xl-6,
950
+ .wd-grid-gy-xl-6 {
951
+ --wd-grid-gutter-y: 48PX;
952
+ }
953
+ .wd-grid-grb-xl-6 {
954
+ --wd-grid-gutter-rb: 48PX;
955
+ }
956
+ .wd-grid-g-xl-7,
957
+ .wd-grid-gx-xl-7 {
958
+ --wd-grid-gutter-x: 60PX;
959
+ }
960
+ .wd-grid-g-xl-7,
961
+ .wd-grid-gy-xl-7 {
962
+ --wd-grid-gutter-y: 60PX;
963
+ }
964
+ .wd-grid-grb-xl-7 {
965
+ --wd-grid-gutter-rb: 60PX;
966
+ }
967
+ .wd-grid-g-xl-8,
968
+ .wd-grid-gx-xl-8 {
969
+ --wd-grid-gutter-x: 80PX;
970
+ }
971
+ .wd-grid-g-xl-8,
972
+ .wd-grid-gy-xl-8 {
973
+ --wd-grid-gutter-y: 80PX;
974
+ }
975
+ .wd-grid-grb-xl-8 {
976
+ --wd-grid-gutter-rb: 80PX;
977
+ }
978
+ .wd-grid-g-xl-9,
979
+ .wd-grid-gx-xl-9 {
980
+ --wd-grid-gutter-x: 100PX;
981
+ }
982
+ .wd-grid-g-xl-9,
983
+ .wd-grid-gy-xl-9 {
984
+ --wd-grid-gutter-y: 100PX;
985
+ }
986
+ .wd-grid-grb-xl-9 {
987
+ --wd-grid-gutter-rb: 100PX;
988
+ }
989
+ .wd-grid-g-xl-10,
990
+ .wd-grid-gx-xl-10 {
991
+ --wd-grid-gutter-x: 128PX;
992
+ }
993
+ .wd-grid-g-xl-10,
994
+ .wd-grid-gy-xl-10 {
995
+ --wd-grid-gutter-y: 128PX;
996
+ }
997
+ .wd-grid-grb-xl-10 {
998
+ --wd-grid-gutter-rb: 128PX;
999
+ }
1000
+ }
1001
+ @media (min-width: 1400px) {
1002
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
1003
+ .wd-grid-col-xxl.wd-grid-col-xxl {
1004
+ flex: 1 0 0%;
1005
+ }
1006
+ /* 小程序不支持 * 选择器, 使用view element选择器的需要加一个 优先级*/
1007
+ .wd-grid-col-xxl-auto.wd-grid-col-xxl-auto {
1008
+ flex: 0 0 auto;
1009
+ width: auto;
1010
+ }
1011
+ .wd-grid-col-xxl-1.wd-grid-col-xxl-1 {
1012
+ flex: 0 0 auto;
1013
+ width: 8.33333333%;
1014
+ }
1015
+ .wd-grid-col-xxl-2.wd-grid-col-xxl-2 {
1016
+ flex: 0 0 auto;
1017
+ width: 16.66666667%;
1018
+ }
1019
+ .wd-grid-col-xxl-3.wd-grid-col-xxl-3 {
1020
+ flex: 0 0 auto;
1021
+ width: 25%;
1022
+ }
1023
+ .wd-grid-col-xxl-4.wd-grid-col-xxl-4 {
1024
+ flex: 0 0 auto;
1025
+ width: 33.33333333%;
1026
+ }
1027
+ .wd-grid-col-xxl-5.wd-grid-col-xxl-5 {
1028
+ flex: 0 0 auto;
1029
+ width: 41.66666667%;
1030
+ }
1031
+ .wd-grid-col-xxl-6.wd-grid-col-xxl-6 {
1032
+ flex: 0 0 auto;
1033
+ width: 50%;
1034
+ }
1035
+ .wd-grid-col-xxl-7.wd-grid-col-xxl-7 {
1036
+ flex: 0 0 auto;
1037
+ width: 58.33333333%;
1038
+ }
1039
+ .wd-grid-col-xxl-8.wd-grid-col-xxl-8 {
1040
+ flex: 0 0 auto;
1041
+ width: 66.66666667%;
1042
+ }
1043
+ .wd-grid-col-xxl-9.wd-grid-col-xxl-9 {
1044
+ flex: 0 0 auto;
1045
+ width: 75%;
1046
+ }
1047
+ .wd-grid-col-xxl-10.wd-grid-col-xxl-10 {
1048
+ flex: 0 0 auto;
1049
+ width: 83.33333333%;
1050
+ }
1051
+ .wd-grid-col-xxl-11.wd-grid-col-xxl-11 {
1052
+ flex: 0 0 auto;
1053
+ width: 91.66666667%;
1054
+ }
1055
+ .wd-grid-col-xxl-12.wd-grid-col-xxl-12 {
1056
+ flex: 0 0 auto;
1057
+ width: 100%;
1058
+ }
1059
+ /**
1060
+ *
1061
+ * 不生成offset
1062
+ *
1063
+ */
1064
+ .wd-grid-g-xxl-0,
1065
+ .wd-grid-gx-xxl-0 {
1066
+ --wd-grid-gutter-x: 0;
1067
+ }
1068
+ .wd-grid-g-xxl-0,
1069
+ .wd-grid-gy-xxl-0 {
1070
+ --wd-grid-gutter-y: 0;
1071
+ }
1072
+ .wd-grid-grb-xxl-0 {
1073
+ --wd-grid-gutter-rb: 0;
1074
+ }
1075
+ .wd-grid-g-xxl-1,
1076
+ .wd-grid-gx-xxl-1 {
1077
+ --wd-grid-gutter-x: 4PX;
1078
+ }
1079
+ .wd-grid-g-xxl-1,
1080
+ .wd-grid-gy-xxl-1 {
1081
+ --wd-grid-gutter-y: 4PX;
1082
+ }
1083
+ .wd-grid-grb-xxl-1 {
1084
+ --wd-grid-gutter-rb: 4PX;
1085
+ }
1086
+ .wd-grid-g-xxl-2,
1087
+ .wd-grid-gx-xxl-2 {
1088
+ --wd-grid-gutter-x: 8PX;
1089
+ }
1090
+ .wd-grid-g-xxl-2,
1091
+ .wd-grid-gy-xxl-2 {
1092
+ --wd-grid-gutter-y: 8PX;
1093
+ }
1094
+ .wd-grid-grb-xxl-2 {
1095
+ --wd-grid-gutter-rb: 8PX;
1096
+ }
1097
+ .wd-grid-g-xxl-3,
1098
+ .wd-grid-gx-xxl-3 {
1099
+ --wd-grid-gutter-x: 16PX;
1100
+ }
1101
+ .wd-grid-g-xxl-3,
1102
+ .wd-grid-gy-xxl-3 {
1103
+ --wd-grid-gutter-y: 16PX;
1104
+ }
1105
+ .wd-grid-grb-xxl-3 {
1106
+ --wd-grid-gutter-rb: 16PX;
1107
+ }
1108
+ .wd-grid-g-xxl-4,
1109
+ .wd-grid-gx-xxl-4 {
1110
+ --wd-grid-gutter-x: 24PX;
1111
+ }
1112
+ .wd-grid-g-xxl-4,
1113
+ .wd-grid-gy-xxl-4 {
1114
+ --wd-grid-gutter-y: 24PX;
1115
+ }
1116
+ .wd-grid-grb-xxl-4 {
1117
+ --wd-grid-gutter-rb: 24PX;
1118
+ }
1119
+ .wd-grid-g-xxl-5,
1120
+ .wd-grid-gx-xxl-5 {
1121
+ --wd-grid-gutter-x: 32PX;
1122
+ }
1123
+ .wd-grid-g-xxl-5,
1124
+ .wd-grid-gy-xxl-5 {
1125
+ --wd-grid-gutter-y: 32PX;
1126
+ }
1127
+ .wd-grid-grb-xxl-5 {
1128
+ --wd-grid-gutter-rb: 32PX;
1129
+ }
1130
+ .wd-grid-g-xxl-6,
1131
+ .wd-grid-gx-xxl-6 {
1132
+ --wd-grid-gutter-x: 48PX;
1133
+ }
1134
+ .wd-grid-g-xxl-6,
1135
+ .wd-grid-gy-xxl-6 {
1136
+ --wd-grid-gutter-y: 48PX;
1137
+ }
1138
+ .wd-grid-grb-xxl-6 {
1139
+ --wd-grid-gutter-rb: 48PX;
1140
+ }
1141
+ .wd-grid-g-xxl-7,
1142
+ .wd-grid-gx-xxl-7 {
1143
+ --wd-grid-gutter-x: 60PX;
1144
+ }
1145
+ .wd-grid-g-xxl-7,
1146
+ .wd-grid-gy-xxl-7 {
1147
+ --wd-grid-gutter-y: 60PX;
1148
+ }
1149
+ .wd-grid-grb-xxl-7 {
1150
+ --wd-grid-gutter-rb: 60PX;
1151
+ }
1152
+ .wd-grid-g-xxl-8,
1153
+ .wd-grid-gx-xxl-8 {
1154
+ --wd-grid-gutter-x: 80PX;
1155
+ }
1156
+ .wd-grid-g-xxl-8,
1157
+ .wd-grid-gy-xxl-8 {
1158
+ --wd-grid-gutter-y: 80PX;
1159
+ }
1160
+ .wd-grid-grb-xxl-8 {
1161
+ --wd-grid-gutter-rb: 80PX;
1162
+ }
1163
+ .wd-grid-g-xxl-9,
1164
+ .wd-grid-gx-xxl-9 {
1165
+ --wd-grid-gutter-x: 100PX;
1166
+ }
1167
+ .wd-grid-g-xxl-9,
1168
+ .wd-grid-gy-xxl-9 {
1169
+ --wd-grid-gutter-y: 100PX;
1170
+ }
1171
+ .wd-grid-grb-xxl-9 {
1172
+ --wd-grid-gutter-rb: 100PX;
1173
+ }
1174
+ .wd-grid-g-xxl-10,
1175
+ .wd-grid-gx-xxl-10 {
1176
+ --wd-grid-gutter-x: 128PX;
1177
+ }
1178
+ .wd-grid-g-xxl-10,
1179
+ .wd-grid-gy-xxl-10 {
1180
+ --wd-grid-gutter-y: 128PX;
1181
+ }
1182
+ .wd-grid-grb-xxl-10 {
1183
+ --wd-grid-gutter-rb: 128PX;
1184
+ }
1185
+ }
1186
+ .wd-grid--avoid-scrollbar .wd-grid-row {
1187
+ /**
1188
+ * 不采用行列gutter 通过 Grid来设置
1189
+ */
1190
+ display: flex;
1191
+ flex-wrap: wrap;
1192
+ margin-top: calc(-1 * var(--wd-grid-gutter-y));
1193
+ margin-right: 0;
1194
+ margin-left: calc(-1 * var(--wd-grid-gutter-x));
1195
+ }
1196
+ .wd-grid--avoid-scrollbar .wd-grid-row > div,
1197
+ .wd-grid--avoid-scrollbar .wd-grid-row > view {
1198
+ flex-shrink: 0;
1199
+ width: 100%;
1200
+ max-width: 100%;
1201
+ padding-right: 0;
1202
+ padding-left: calc(var(--wd-grid-gutter-x) * 1);
1203
+ margin-top: var(--wd-grid-gutter-y);
1204
+ }
1205
+
1206
+ /*# sourceMappingURL=grid.css.map */