@cloudbase/weda-ui 3.4.3 → 3.4.5

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 (277) hide show
  1. package/dist/configs/components/chart/bar.json +117 -8
  2. package/dist/configs/components/chart/line.js +127 -18
  3. package/dist/configs/components/chart/pie.json +117 -8
  4. package/dist/configs/components/chart/statisticsCard.json +57 -0
  5. package/dist/configs/components/dataView.js +507 -0
  6. package/dist/configs/components/form/location.json +2 -1
  7. package/dist/configs/components/form/userTreeSelect.json +55 -0
  8. package/dist/configs/components/formdetail.json +12 -2
  9. package/dist/configs/components/graphicCard.json +1 -1
  10. package/dist/configs/components/grid/col.js +125 -0
  11. package/dist/configs/components/grid/grid.js +131 -0
  12. package/dist/configs/components/grid/row.js +143 -0
  13. package/dist/configs/components/image.js +11 -1
  14. package/dist/configs/components/link.js +11 -1
  15. package/dist/configs/components/listView.js +1092 -0
  16. package/dist/configs/components/navLayout.json +1 -1
  17. package/dist/configs/components/navigationBar.json +9 -1
  18. package/dist/configs/components/repeater-item.json +17 -0
  19. package/dist/configs/components/repeater.js +125 -0
  20. package/dist/configs/components/table.json +187 -29
  21. package/dist/configs/components/text.js +12 -1
  22. package/dist/configs/components/wd-bubble.js +204 -0
  23. package/dist/configs/components/wd-button.js +417 -0
  24. package/dist/configs/components/wd-divider.js +89 -0
  25. package/dist/configs/components/wd-icon.js +126 -0
  26. package/dist/configs/components/wd-image.js +164 -0
  27. package/dist/configs/components/wd-link.js +234 -0
  28. package/dist/configs/components/wd-table.js +59 -0
  29. package/dist/configs/components/wd-text.js +142 -0
  30. package/dist/configs/components/wxOpenApi/phone.js +2 -2
  31. package/dist/configs/components/wxOpenApi/phoneCode.js +2 -2
  32. package/dist/configs/index.js +34 -3
  33. package/dist/configs/type-utils/index.js +4 -1
  34. package/dist/docs/common/componentList.js +144 -0
  35. package/dist/docs/common/components/classes-view.js +34 -0
  36. package/dist/docs/common/components/event-view.js +46 -0
  37. package/dist/docs/common/components/json-schema-view.js +18 -0
  38. package/dist/docs/common/components/methods-view.js +32 -0
  39. package/dist/docs/common/components/properties-view.js +45 -0
  40. package/dist/docs/common/format.js +60 -35
  41. package/dist/docs/common/helper.js +1 -0
  42. package/dist/docs/common/tableView.js +61 -50
  43. package/dist/enum/index.js +521 -0
  44. package/dist/index.js +1 -1
  45. package/dist/style/index.scss +1 -0
  46. package/dist/web/actions/showMessage/index.css +0 -3
  47. package/dist/web/actions/showMessage/index.js +1 -1
  48. package/dist/web/actions/showModal/index.css +0 -3
  49. package/dist/web/components/button/index.css +2 -5
  50. package/dist/web/components/button/index.js +3 -3
  51. package/dist/web/components/calendar/index.css +29 -32
  52. package/dist/web/components/calendar/index.js +37 -35
  53. package/dist/web/components/carousel/index.css +11 -14
  54. package/dist/web/components/carousel/index.js +3 -1
  55. package/dist/web/components/chart/common/core/eChartBar.js +10 -2
  56. package/dist/web/components/chart/common/core/eChartLine.js +16 -8
  57. package/dist/web/components/chart/common/core/eChartPie.js +2 -1
  58. package/dist/web/components/chart/common/data-transform.js +1 -1
  59. package/dist/web/components/chart/statisticsCard/index.css +12 -15
  60. package/dist/web/components/chart/statisticsCard/index.js +7 -2
  61. package/dist/web/components/dataView/index.js +3 -3
  62. package/dist/web/components/emptyContent/index.css +26 -0
  63. package/dist/web/components/emptyContent/index.js +46 -0
  64. package/dist/web/components/flow/components/FlowModuleText/index.css +1 -4
  65. package/dist/web/components/flow/components/FlowUserSelect/index.css +29 -32
  66. package/dist/web/components/flow/components/HighlightTextarea/index.css +5 -8
  67. package/dist/web/components/flow/components/UserSelectModel/UserSelect.js +9 -8
  68. package/dist/web/components/flow/components/UserSelectModel/UserSelectMobile.css +1 -4
  69. package/dist/web/components/flow/components/UserSelectModel/UserSelectMobile.js +3 -4
  70. package/dist/web/components/flow/components/WedaUserTransfer/index.css +0 -3
  71. package/dist/web/components/flow/frame/getCommonFlowData.js +3 -1
  72. package/dist/web/components/flow/frame/index.js +18 -1
  73. package/dist/web/components/flow/frame/types.js +6 -0
  74. package/dist/web/components/flow/frame/utils.js +20 -11
  75. package/dist/web/components/flow/modules/basic/Basic.css +3 -6
  76. package/dist/web/components/flow/modules/basic/BasicMobile.css +9 -12
  77. package/dist/web/components/flow/modules/chart/Chart.js +2 -2
  78. package/dist/web/components/flow/modules/chart/index.css +23 -29
  79. package/dist/web/components/flow/modules/chart/isString.js +5 -0
  80. package/dist/web/components/flow/modules/control/ApprovalDrawer.css +44 -47
  81. package/dist/web/components/flow/modules/control/ApprovalPopup.css +34 -37
  82. package/dist/web/components/flow/modules/control/ApprovalPopup.js +12 -9
  83. package/dist/web/components/flow/modules/control/Control.css +7 -10
  84. package/dist/web/components/flow/modules/control/Control.js +31 -16
  85. package/dist/web/components/flow/modules/control/ControlMobile.css +41 -12
  86. package/dist/web/components/flow/modules/control/ControlMobile.js +28 -13
  87. package/dist/web/components/flow/modules/control/FlowTaskInfoModal.css +0 -3
  88. package/dist/web/components/flow/modules/control/FlowTaskInfoModal.js +4 -4
  89. package/dist/web/components/flow/modules/control/provider/useControlModel.js +20 -11
  90. package/dist/web/components/flow/modules/control/provider/useMobileModel.js +0 -2
  91. package/dist/web/components/flow/modules/control/provider/useRevokeAndBackHook.js +2 -0
  92. package/dist/web/components/flow/modules/control/utils/index.js +1 -0
  93. package/dist/web/components/flow/modules/control/utils/tools.js +3 -0
  94. package/dist/web/components/flow/modules/layout/index.css +0 -3
  95. package/dist/web/components/flow/modules/process/Process.js +1 -1
  96. package/dist/web/components/flow/modules/process/ProcessMobile.js +1 -1
  97. package/dist/web/components/flow/modules/process/index.css +49 -43
  98. package/dist/web/components/form/form/index.css +2 -5
  99. package/dist/web/components/form/form/index.js +48 -4
  100. package/dist/web/components/form/formcell/index.css +29 -17
  101. package/dist/web/components/form/input/index.css +5 -8
  102. package/dist/web/components/form/input/index.js +11 -0
  103. package/dist/web/components/form/location/common/mapChoose.css +88 -91
  104. package/dist/web/components/form/location/common/selectModal.css +10 -13
  105. package/dist/web/components/form/location/components/LocationH5/index.css +17 -20
  106. package/dist/web/components/form/location/components/LocationH5/location.h5.js +2 -3
  107. package/dist/web/components/form/location/components/LocationH5/location.module.css +0 -3
  108. package/dist/web/components/form/location/components/LocationPC/index.css +10 -13
  109. package/dist/web/components/form/location/components/LocationPC/location.PC.js +2 -3
  110. package/dist/web/components/form/location/index.css +0 -3
  111. package/dist/web/components/form/radio/index.css +0 -3
  112. package/dist/web/components/form/select/allTimePicker/calendar.css +15 -18
  113. package/dist/web/components/form/select/allTimePicker/index.css +53 -27
  114. package/dist/web/components/form/select/dropdown-select/h5.js +23 -12
  115. package/dist/web/components/form/select/dropdown-select/index.css +34 -27
  116. package/dist/web/components/form/select/dropdown-select/index.js +37 -4
  117. package/dist/web/components/form/select/dropdown-select/pc.js +57 -17
  118. package/dist/web/components/form/select/dropdown-select/ui.js +5 -2
  119. package/dist/web/components/form/select/index.css +12 -8
  120. package/dist/web/components/form/select/index.js +4 -9
  121. package/dist/web/components/form/select/status/index.css +10 -13
  122. package/dist/web/components/form/switch/switch.module.css +0 -3
  123. package/dist/web/components/form/textarea/index.css +1 -4
  124. package/dist/web/components/form/textarea/index.js +1 -1
  125. package/dist/web/components/form/tips/index.css +11 -2
  126. package/dist/web/components/form/uploader/index.css +14 -17
  127. package/dist/web/components/form/uploaderFile/index.css +64 -66
  128. package/dist/web/components/form/uploaderFile/uploadFile.h5.js +10 -11
  129. package/dist/web/components/form/uploaderFile/uploadFile.pc.js +3 -2
  130. package/dist/web/components/form/userOrgSelect/common/fetch-data-service.js +120 -38
  131. package/dist/web/components/form/userOrgSelect/common/utils.js +89 -1
  132. package/dist/web/components/form/userOrgSelect/component/depart-breadcrumb.js +15 -0
  133. package/dist/web/components/form/userOrgSelect/component/depart-select/depart-select-pc.js +63 -0
  134. package/dist/web/components/form/userOrgSelect/component/depart-select/index.js +96 -0
  135. package/dist/web/components/form/userOrgSelect/component/depart-select/org-modal-pc.js +69 -0
  136. package/dist/web/components/form/userOrgSelect/{user-select-pc → component}/error-tips.js +0 -0
  137. package/dist/web/components/form/userOrgSelect/component/index.css +323 -0
  138. package/dist/web/components/form/userOrgSelect/component/input-tags.js +21 -0
  139. package/dist/web/components/form/userOrgSelect/component/modal-search-h5.js +25 -0
  140. package/dist/web/components/form/userOrgSelect/component/modal-search.js +11 -0
  141. package/dist/web/components/form/userOrgSelect/component/modal-select-h5.js +201 -0
  142. package/dist/web/components/form/userOrgSelect/component/org-tree-h5.js +19 -0
  143. package/dist/web/components/form/userOrgSelect/component/org-tree.js +33 -0
  144. package/dist/web/components/form/userOrgSelect/component/selected-list-h5.js +44 -0
  145. package/dist/web/components/form/userOrgSelect/component/selected-list.js +15 -0
  146. package/dist/web/components/form/userOrgSelect/component/user-org-list.js +55 -0
  147. package/dist/web/components/form/userOrgSelect/component/user-select-h5/index.js +168 -0
  148. package/dist/web/components/form/userOrgSelect/component/user-select-h5/user-list-h5.js +107 -0
  149. package/dist/web/components/form/userOrgSelect/component/user-select-h5/user-select-h5.js +59 -0
  150. package/dist/web/components/form/userOrgSelect/component/user-select-pc/error-tips.js +11 -0
  151. package/dist/web/components/form/userOrgSelect/{user-select-pc → component/user-select-pc}/model-user-list.js +9 -9
  152. package/dist/web/components/form/userOrgSelect/component/user-select-pc/org-tree.js +10 -0
  153. package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-model.js +75 -0
  154. package/dist/web/components/form/userOrgSelect/component/user-select-pc/user-select-pc.js +65 -0
  155. package/dist/web/components/form/userOrgSelect/component/userOrgSelect.css +1160 -0
  156. package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.h5.js +54 -87
  157. package/dist/web/components/form/userOrgSelect/hooks/use-depart-data.js +30 -35
  158. package/dist/web/components/form/userOrgSelect/hooks/use-views-data.js +48 -0
  159. package/dist/web/components/formdetail/index.css +34 -31
  160. package/dist/web/components/formdetail/index.js +12 -3
  161. package/dist/web/components/graphicCard/index.css +15 -18
  162. package/dist/web/components/grid/_utils.css +67 -0
  163. package/dist/web/components/grid/col.js +33 -0
  164. package/dist/web/components/grid/grid.css +1185 -0
  165. package/dist/web/components/grid/grid.js +19 -0
  166. package/dist/web/components/grid/row.js +14 -0
  167. package/dist/web/components/image/image.js +9 -1
  168. package/dist/web/components/image/index.css +2 -5
  169. package/dist/web/components/index.js +17 -3
  170. package/dist/web/components/link/index.css +0 -3
  171. package/dist/web/components/listView/index.css +21 -23
  172. package/dist/web/components/listView/index.js +215 -81
  173. package/dist/web/components/lottery/index.css +72 -75
  174. package/dist/web/components/modal/h5.css +19 -21
  175. package/dist/web/components/modal/modal.h5.js +11 -10
  176. package/dist/web/components/navLayout/index.css +14 -139
  177. package/dist/web/components/navigationBar/common.js +5 -4
  178. package/dist/web/components/navigationBar/h5Menu.js +12 -10
  179. package/dist/web/components/navigationBar/horizontalMenu.js +42 -35
  180. package/dist/web/components/navigationBar/index.css +130 -86
  181. package/dist/web/components/navigationBar/index.js +6 -4
  182. package/dist/web/components/navigationBar/verticalMenu.js +13 -9
  183. package/dist/web/components/pageLayout/PageContent/index.css +7 -10
  184. package/dist/web/components/pageLayout/index.css +0 -3
  185. package/dist/web/components/pageLayout/index.js +2 -1
  186. package/dist/web/components/repeater/index.js +17 -0
  187. package/dist/web/components/repeater-item/index.js +9 -0
  188. package/dist/web/components/richText/index.css +5 -8
  189. package/dist/web/components/richText/index.js +4 -2
  190. package/dist/web/components/richText/richtext.module.css +1 -4
  191. package/dist/web/components/richTextView/index.css +9 -10
  192. package/dist/web/components/swiper/index.css +10 -13
  193. package/dist/web/components/swiper/index.js +25 -5
  194. package/dist/web/components/table/BaseTable.js +355 -286
  195. package/dist/web/components/table/ExportFileModalByApi/index.css +9 -0
  196. package/dist/web/components/table/ExportFileModalByApi/index.js +150 -0
  197. package/dist/web/components/table/FieldRender.js +25 -18
  198. package/dist/web/components/table/FilterFields.js +17 -11
  199. package/dist/web/components/table/Form/Location.css +2 -5
  200. package/dist/web/components/table/ImportFileModal/csvTemplate.json +65 -6
  201. package/dist/web/components/table/ImportFileModalByApi/index.css +130 -0
  202. package/dist/web/components/table/ImportFileModalByApi/index.js +321 -0
  203. package/dist/web/components/table/ImportFileModalByApi/uploadCSVFile.js +115 -0
  204. package/dist/web/components/table/InOrOutRecordModeal.js +139 -0
  205. package/dist/web/components/table/SelectableBlock/index.css +0 -2
  206. package/dist/web/components/table/UserDepartment/viewCell.css +3 -6
  207. package/dist/web/components/table/baseTable.css +579 -0
  208. package/dist/web/components/table/hooks/useImportingStatus.js +69 -0
  209. package/dist/web/components/table/hooks/useInOutFieldsRecords.js +23 -0
  210. package/dist/web/components/table/index.css +275 -508
  211. package/dist/web/components/table/index.js +6 -4
  212. package/dist/web/components/tabs/index.css +19 -18
  213. package/dist/web/components/tabs/tabs.h5.js +7 -16
  214. package/dist/web/components/text/index.css +6 -9
  215. package/dist/web/components/uploaderFileView/index.css +0 -3
  216. package/dist/web/components/uploaderView/index.css +5 -8
  217. package/dist/web/components/wd-bubble/index.js +3 -17
  218. package/dist/web/components/wd-bubble/wd-bubble.js +17 -0
  219. package/dist/web/components/wd-button/convert-legacy-props.js +14 -0
  220. package/dist/web/components/wd-button/index.js +3 -0
  221. package/dist/web/components/wd-button/wd-button.js +89 -0
  222. package/dist/web/components/wd-config-provider/index.js +1 -0
  223. package/dist/web/components/wd-config-provider/wd-config-context.js +5 -0
  224. package/dist/web/components/wd-config-provider/wd-config-provider.js +12 -0
  225. package/dist/web/components/wd-divider/index.js +3 -0
  226. package/dist/web/components/wd-divider/wd-divider.js +29 -0
  227. package/dist/web/components/wd-icon/convert-legacy-props.js +14 -0
  228. package/dist/web/components/wd-icon/index.js +3 -0
  229. package/dist/web/components/wd-icon/wd-icon.js +63 -0
  230. package/dist/web/components/wd-image/image.js +171 -0
  231. package/dist/web/components/wd-image/index.js +82 -0
  232. package/dist/web/components/wd-link/index.js +3 -0
  233. package/dist/web/components/wd-link/wd-link.js +105 -0
  234. package/dist/web/components/wd-table/index.js +3 -0
  235. package/dist/web/components/wd-table/wd-table.js +24 -0
  236. package/dist/web/components/wd-text/convert-legacy-props.js +14 -0
  237. package/dist/web/components/wd-text/index.js +3 -0
  238. package/dist/web/components/wd-text/wd-text.js +91 -0
  239. package/dist/web/components/wedaVideo/index.css +2 -5
  240. package/dist/web/components/wedaVideo/index.js +8 -6
  241. package/dist/web/index.js +1 -1
  242. package/dist/web/utils/config-context/index.js +1 -0
  243. package/dist/web/utils/config-context/use-config.js +9 -0
  244. package/dist/web/utils/constant.js +1 -0
  245. package/dist/web/utils/datasource.js +19 -7
  246. package/dist/web/utils/file.js +22 -0
  247. package/dist/web/utils/hooks/CreatePortal.js +6 -0
  248. package/dist/web/utils/hooks/EnumHoc.js +23 -3
  249. package/dist/web/utils/hooks/context.js +5 -1
  250. package/dist/web/utils/hooks/use-cloud-id-temp-url.js +2 -1
  251. package/dist/web/utils/platform.js +40 -12
  252. package/dist/web/utils/pollingInterface.js +61 -0
  253. package/dist/web/utils/tcb.js +16 -0
  254. package/dist/web/utils/tool.js +88 -0
  255. package/dist/web/utils/widget-api/index.js +18 -0
  256. package/dist/web/weda-ui.css +128 -4
  257. package/package.json +51 -33
  258. package/dist/configs/components/dataView.json +0 -305
  259. package/dist/configs/components/listView.json +0 -515
  260. package/dist/configs/components/wd-bubble.json +0 -170
  261. package/dist/web/components/form/userOrgSelect/comTool.js +0 -102
  262. package/dist/web/components/form/userOrgSelect/departTreeSelect/departTreeSelect.pc.js +0 -155
  263. package/dist/web/components/form/userOrgSelect/departTreeSelect/index.js +0 -17
  264. package/dist/web/components/form/userOrgSelect/getUserService.js +0 -165
  265. package/dist/web/components/form/userOrgSelect/index.js +0 -17
  266. package/dist/web/components/form/userOrgSelect/user-select-pc/index.css +0 -216
  267. package/dist/web/components/form/userOrgSelect/user-select-pc/index.js +0 -195
  268. package/dist/web/components/form/userOrgSelect/user-select-pc/org-tree.js +0 -15
  269. package/dist/web/components/form/userOrgSelect/user-select-pc/search-user.js +0 -80
  270. package/dist/web/components/form/userOrgSelect/user-select-pc/selected-user-list.js +0 -12
  271. package/dist/web/components/form/userOrgSelect/user-select-pc/user-model.js +0 -36
  272. package/dist/web/components/form/userOrgSelect/userOrgSelect.css +0 -824
  273. package/dist/web/components/form/userOrgSelect/userTreeSelect.h5.js +0 -302
  274. package/dist/web/components/form/userOrgSelect/utils.js +0 -95
  275. package/dist/web/components/table/ImportFileModal/index.css +0 -263
  276. package/dist/web/components/wd-bubble/index.css +0 -21
  277. package/dist/web/utils/hooks/useRequest.js +0 -25
@@ -0,0 +1,1185 @@
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
+ }