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