@aplus-frontend/ui 0.6.0-beta.0 → 0.6.0-beta.2

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 (209) hide show
  1. package/es/src/ap-button/ap-button.vue.mjs +1 -1
  2. package/es/src/ap-form/ap-form.vue2.mjs +57 -58
  3. package/es/src/ap-form/interface.d.ts +4 -0
  4. package/es/src/ap-form/item/index.vue.mjs +33 -28
  5. package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
  6. package/es/src/ap-form/items/date/index.vue.mjs +8 -7
  7. package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
  8. package/es/src/ap-form/items/number/index.vue.mjs +9 -8
  9. package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
  10. package/es/src/ap-form/items/select/index.vue.mjs +7 -6
  11. package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
  12. package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
  13. package/es/src/ap-form/items/text/password.vue.mjs +1 -0
  14. package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
  15. package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
  16. package/es/src/ap-form/render/item.vue.mjs +5 -4
  17. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  18. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +8 -8
  19. package/es/src/ap-form/search-form/index.vue.mjs +36 -35
  20. package/es/src/ap-grid/editable/form-item.vue.mjs +1 -1
  21. package/es/src/ap-grid/editable/index.vue.mjs +1 -1
  22. package/es/src/ap-grid/index.vue.mjs +149 -140
  23. package/es/src/ap-grid/interface.d.ts +1 -1
  24. package/es/src/ap-table/ap-table.vue2.mjs +206 -199
  25. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  26. package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
  27. package/es/src/ap-tag/interface.d.ts +4 -0
  28. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -12
  29. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  30. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +108 -99
  31. package/es/src/business/ap-export-group/index.d.ts +3 -0
  32. package/es/src/business/ap-export-group/interface.d.ts +7 -2
  33. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  34. package/es/src/business/ap-view/ap-view.vue2.mjs +120 -114
  35. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +63 -55
  36. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +38 -38
  37. package/es/src/business/ap-view/interface.d.ts +4 -0
  38. package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
  39. package/es/src/business/hooks/usePageListApGrid.mjs +2 -4
  40. package/es/src/check-card/index.vue2.mjs +1 -1
  41. package/es/src/config-provider/css-var.mjs +2 -2
  42. package/es/src/design-token/index.mjs +9 -3
  43. package/es/src/editable-table/form-item.vue.mjs +1 -1
  44. package/es/src/editable-table/index.vue.mjs +27 -27
  45. package/es/src/locale/lang/en.mjs +1 -1
  46. package/es/src/locale/lang/zh-cn.mjs +1 -1
  47. package/lib/src/ap-button/ap-button.vue.js +1 -1
  48. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  49. package/lib/src/ap-form/interface.d.ts +4 -0
  50. package/lib/src/ap-form/item/index.vue.js +1 -1
  51. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  52. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  53. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  54. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  55. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  56. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  57. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  58. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  59. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  60. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  61. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  62. package/lib/src/ap-form/render/item.vue.js +1 -1
  63. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  64. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  65. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  66. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  67. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  68. package/lib/src/ap-grid/index.vue.js +1 -1
  69. package/lib/src/ap-grid/interface.d.ts +1 -1
  70. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  71. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  72. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  73. package/lib/src/ap-tag/interface.d.ts +4 -0
  74. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  75. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  76. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  77. package/lib/src/business/ap-export-group/index.d.ts +3 -0
  78. package/lib/src/business/ap-export-group/interface.d.ts +7 -2
  79. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  80. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  81. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  82. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  83. package/lib/src/business/ap-view/interface.d.ts +4 -0
  84. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  85. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  86. package/lib/src/check-card/index.vue2.js +1 -1
  87. package/lib/src/config-provider/css-var.js +1 -1
  88. package/lib/src/design-token/index.js +1 -1
  89. package/lib/src/editable-table/form-item.vue.js +1 -1
  90. package/lib/src/editable-table/index.vue.js +1 -1
  91. package/lib/src/locale/lang/en.js +1 -1
  92. package/lib/src/locale/lang/zh-cn.js +1 -1
  93. package/package.json +1 -1
  94. package/theme/antd-global-overwrite/admin/index.css +5 -8
  95. package/theme/antd-global-overwrite/admin/modal.css +2 -5
  96. package/theme/antd-global-overwrite/admin/modal.less +3 -3
  97. package/theme/antd-global-overwrite/admin/table.css +3 -3
  98. package/theme/antd-global-overwrite/admin/table.less +3 -3
  99. package/theme/antd-global-overwrite/aplus/index.css +5 -8
  100. package/theme/antd-global-overwrite/aplus/modal.css +2 -5
  101. package/theme/antd-global-overwrite/aplus/modal.less +3 -3
  102. package/theme/antd-global-overwrite/aplus/table.css +3 -3
  103. package/theme/antd-global-overwrite/aplus/table.less +3 -3
  104. package/theme/ap-action/item-dropdown.css +5 -5
  105. package/theme/ap-action/item-dropdown.less +1 -1
  106. package/theme/ap-action/item.css +5 -5
  107. package/theme/ap-action/item.less +1 -1
  108. package/theme/ap-appendix/ap-appendix.css +7 -5
  109. package/theme/ap-appendix/ap-appendix.less +4 -2
  110. package/theme/ap-attachment/ap-attachment.css +7 -7
  111. package/theme/ap-attachment/ap-attachment.less +4 -4
  112. package/theme/ap-batch-action/ap-batch-action.css +9 -6
  113. package/theme/ap-batch-action/ap-batch-action.less +6 -3
  114. package/theme/ap-button/ap-button.css +3 -3
  115. package/theme/ap-card/ap-card.css +3 -3
  116. package/theme/ap-descriptions/ap-descriptions.css +6 -8
  117. package/theme/ap-descriptions/ap-descriptions.less +3 -5
  118. package/theme/ap-download/ap-download.css +10 -13
  119. package/theme/ap-download/ap-download.less +8 -11
  120. package/theme/ap-expand-alert/ap-expand-alert.css +4 -4
  121. package/theme/ap-expand-alert/ap-expand-alert.less +3 -4
  122. package/theme/ap-field/checkbox.css +4 -4
  123. package/theme/ap-field/checkbox.less +2 -1
  124. package/theme/ap-field/index.css +5 -5
  125. package/theme/ap-field/number.css +3 -3
  126. package/theme/ap-field/radio.css +4 -4
  127. package/theme/ap-field/radio.less +1 -1
  128. package/theme/ap-field/text-area.css +3 -3
  129. package/theme/ap-form/ap-form-item-group.css +3 -3
  130. package/theme/ap-form/ap-form-item.css +10 -8
  131. package/theme/ap-form/ap-form-item.less +8 -6
  132. package/theme/ap-form/drawer-form.css +3 -3
  133. package/theme/ap-form/index.css +21 -19
  134. package/theme/ap-form/item-text-group.css +3 -3
  135. package/theme/ap-form/item-text.css +3 -3
  136. package/theme/ap-form/modal-form.css +3 -3
  137. package/theme/ap-form/search-form-sorter.css +12 -12
  138. package/theme/ap-form/search-form-sorter.less +7 -7
  139. package/theme/ap-form/search-form.css +21 -19
  140. package/theme/ap-form/search-form.less +5 -5
  141. package/theme/ap-grid/editable.css +5 -5
  142. package/theme/ap-grid/editable.less +3 -2
  143. package/theme/ap-grid/index.css +43 -32
  144. package/theme/ap-grid/index.less +20 -9
  145. package/theme/ap-group-search/ap-extension-select.css +3 -3
  146. package/theme/ap-group-search/ap-group-search.css +3 -3
  147. package/theme/ap-group-search/ap-popover-select.css +3 -3
  148. package/theme/ap-image/ap-image.css +3 -3
  149. package/theme/ap-input-radio/ap-input-radio.css +3 -3
  150. package/theme/ap-label/ap-label.css +3 -3
  151. package/theme/ap-ladder/ap-ladder.css +6 -6
  152. package/theme/ap-ladder/ap-ladder.less +3 -3
  153. package/theme/ap-layout/ap-info-layout.css +3 -3
  154. package/theme/ap-list/index.css +4 -4
  155. package/theme/ap-list/index.less +2 -1
  156. package/theme/ap-product-info/ap-product-info.css +3 -3
  157. package/theme/ap-select-layout/ap-select-layout.css +11 -11
  158. package/theme/ap-select-layout/ap-select-layout.less +8 -8
  159. package/theme/ap-size-input/ap-size-input.css +3 -3
  160. package/theme/ap-status/ap-status.css +5 -6
  161. package/theme/ap-status/ap-status.less +2 -4
  162. package/theme/ap-summary/index.css +6 -6
  163. package/theme/ap-summary/index.less +3 -3
  164. package/theme/ap-table/ap-table-index.css +8 -8
  165. package/theme/ap-table/ap-table-index.less +5 -5
  166. package/theme/ap-table/ap-table-paragraph-ellipsis.css +3 -3
  167. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  168. package/theme/ap-table/ap-table.css +46 -42
  169. package/theme/ap-table/ap-table.less +10 -9
  170. package/theme/ap-table/setting/index.css +7 -7
  171. package/theme/ap-table/setting/modal.css +5 -5
  172. package/theme/ap-table/setting/select-group.css +3 -3
  173. package/theme/ap-table/setting/sortable-item-meta.css +3 -3
  174. package/theme/ap-table/setting/sortable-item.css +3 -3
  175. package/theme/ap-table/setting/sorter.css +5 -5
  176. package/theme/ap-table-modal/index.css +46 -42
  177. package/theme/ap-tag/ap-tag-group.css +3 -3
  178. package/theme/ap-tag/ap-tag-group.less +2 -2
  179. package/theme/ap-tag/ap-tag.css +27 -18
  180. package/theme/ap-tag/ap-tag.less +37 -24
  181. package/theme/ap-title/ap-title.css +5 -5
  182. package/theme/ap-title/ap-title.less +2 -2
  183. package/theme/ap-upload/index.css +6 -6
  184. package/theme/ap-upload/multiple-file.css +4 -4
  185. package/theme/ap-upload/multiple-file.less +1 -1
  186. package/theme/ap-upload/picture.css +5 -5
  187. package/theme/ap-upload/picture.less +2 -2
  188. package/theme/ap-upload/single-file.css +3 -3
  189. package/theme/ap-upload/upload.css +3 -3
  190. package/theme/ap-upload-single/index.css +3 -3
  191. package/theme/ap-view/ap-view.css +7 -3
  192. package/theme/ap-view/ap-view.less +4 -0
  193. package/theme/batch-input-group/index.css +5 -5
  194. package/theme/batch-input-group/popover-input.css +3 -3
  195. package/theme/check-card/index.css +22 -22
  196. package/theme/check-card/index.less +17 -15
  197. package/theme/editable-table/index.css +36 -32
  198. package/theme/editable-table/index.less +9 -7
  199. package/theme/full-screen/index.css +3 -3
  200. package/theme/index.css +174 -147
  201. package/theme/mask/index.css +3 -3
  202. package/theme/mixins/config.less +26 -4
  203. package/theme/mixins/mixins.css +3 -3
  204. package/theme/scroll-bar/index.css +3 -3
  205. package/theme/scroll-view/index.css +3 -3
  206. package/theme/splitter/index.css +8 -8
  207. package/theme/text/group.css +3 -3
  208. package/theme/text/index.css +5 -5
  209. package/theme/work-order-modal/index.css +3 -3
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -39,7 +39,7 @@
39
39
  box-sizing: border-box;
40
40
  border: 1px solid var(--ap-form-bordered-border-color-base, #DEE4ED);
41
41
  border-radius: 4px;
42
- padding-inline: 12px;
42
+ padding-inline: 8px;
43
43
  }
44
44
  .aplus-ap-form-item--bordered .ant-input-affix-wrapper {
45
45
  padding: 0;
@@ -69,8 +69,11 @@
69
69
  .aplus-ap-form-item--bordered:has(.ant-select) {
70
70
  padding-right: 0px;
71
71
  }
72
+ .aplus-ap-form-item--bordered:has(.ant-select) .ant-form-item-label > label {
73
+ padding-right: 4px;
74
+ }
72
75
  .aplus-ap-form-item--bordered .ant-form-item-label > label {
73
- padding-right: 16px;
76
+ padding-right: 12px;
74
77
  height: 30px;
75
78
  }
76
79
  .aplus-ap-form-item--bordered .ant-form-item-label > label::after {
@@ -94,9 +97,8 @@
94
97
  box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
95
98
  }
96
99
  .aplus-ap-form-item .ant-form-show-help .ant-form-item-explain-error {
97
- font-size: 12px;
98
- line-height: 18px;
99
- margin-top: 2px;
100
+ font-size: 10px;
101
+ line-height: 1.6;
100
102
  }
101
103
  .aplus-ap-form-item .ant-col .ant-form-item-extra {
102
104
  line-height: 22px;
@@ -158,11 +160,11 @@
158
160
  margin: 0;
159
161
  padding: 0;
160
162
  color: rgba(0 0 0 / 85%);
161
- font-size: 14px;
163
+ font-size: 12px;
162
164
  font-family: inherit;
163
- line-height: 22px;
165
+ line-height: 1.5;
164
166
  list-style: none;
165
- font-size: 16px;
167
+ font-size: 14px;
166
168
  font-weight: 700;
167
169
  display: inline-block;
168
170
  padding-bottom: 4px;
@@ -172,9 +174,9 @@
172
174
  margin: 0;
173
175
  padding: 0;
174
176
  color: rgba(0 0 0 / 85%);
175
- font-size: 14px;
177
+ font-size: 12px;
176
178
  font-family: inherit;
177
- line-height: 22px;
179
+ line-height: 1.5;
178
180
  list-style: none;
179
181
  color: #8896b0;
180
182
  }
@@ -188,9 +190,9 @@
188
190
  margin: 0;
189
191
  padding: 0;
190
192
  color: rgba(0 0 0 / 85%);
191
- font-size: 14px;
193
+ font-size: 12px;
192
194
  font-family: inherit;
193
- line-height: 22px;
195
+ line-height: 1.5;
194
196
  list-style: none;
195
197
  color: #0070ff;
196
198
  }
@@ -229,9 +231,9 @@
229
231
  margin: 0;
230
232
  padding: 0;
231
233
  color: rgba(0 0 0 / 85%);
232
- font-size: 14px;
234
+ font-size: 12px;
233
235
  font-family: inherit;
234
- line-height: 22px;
236
+ line-height: 1.5;
235
237
  list-style: none;
236
238
  padding-left: 4px;
237
239
  max-width: 100%;
@@ -240,7 +242,7 @@
240
242
  text-overflow: ellipsis;
241
243
  }
242
244
  .aplus-ap-form-search-form .ant-form-item {
243
- margin-bottom: 16px;
245
+ margin-bottom: 8px;
244
246
  }
245
247
  .aplus-ap-form-search-form .ant-form-item-control .ant-picker {
246
248
  display: flex;
@@ -249,7 +251,7 @@
249
251
  width: 100%;
250
252
  }
251
253
  .aplus-ap-form-search-form__popover .ant-form-item {
252
- margin-bottom: 16px;
254
+ margin-bottom: 8px;
253
255
  }
254
256
  .aplus-ap-form-search-form__popover .ant-popover-arrow {
255
257
  display: none;
@@ -354,7 +356,7 @@
354
356
  }
355
357
  .aplus-field-checkbox--vertical label.ant-checkbox-wrapper:not(:last-child) {
356
358
  display: flex;
357
- margin-block-end: 16px;
359
+ margin-block-end: 12px;
358
360
  }
359
361
  .aplus-field-number-label-left {
360
362
  padding-right: 4px;
@@ -364,7 +366,7 @@
364
366
  }
365
367
  .aplus-field-radio--vertical label.ant-radio-wrapper:not(:last-child) {
366
368
  display: flex;
367
- margin-block-end: 16px;
369
+ margin-block-end: 12px;
368
370
  }
369
371
  .aplus-field-text-area {
370
372
  white-space: pre-wrap;
@@ -376,9 +378,9 @@
376
378
  margin: 0;
377
379
  padding: 0;
378
380
  color: rgba(0 0 0 / 85%);
379
- font-size: 14px;
381
+ font-size: 12px;
380
382
  font-family: inherit;
381
- line-height: 22px;
383
+ line-height: 1.5;
382
384
  list-style: none;
383
385
  display: inline-block;
384
386
  cursor: pointer;
@@ -420,8 +422,8 @@
420
422
  }
421
423
  .aplus-action-item-dropdown__icon {
422
424
  color: #0070ff;
423
- margin-left: 4px;
424
- font-size: 14px;
425
+ margin-left: 2px;
426
+ font-size: 12px;
425
427
  display: inline-flex;
426
428
  }
427
429
  .aplus-ap-grid-adaptive {
@@ -434,18 +436,17 @@
434
436
  flex: 1;
435
437
  }
436
438
  .aplus-ap-grid .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
437
- margin: 16px 0px 0px;
439
+ margin-block: 12px;
438
440
  }
439
441
  .aplus-ap-grid-sticky .aplus-ap-grid-pagination-wrapper {
440
442
  background-color: #fff;
441
443
  z-index: 10;
442
444
  position: sticky;
443
445
  bottom: 0;
444
- padding-bottom: 16px;
445
446
  }
446
447
  .aplus-ap-grid-sticky:has(.aplus-scroll-bar) .aplus-ap-grid-pagination-wrapper ul.ant-pagination {
447
448
  margin-top: 0;
448
- padding-top: 8px;
449
+ padding-top: 4px;
449
450
  }
450
451
  .aplus-ap-grid-sticky:has(.aplus-scroll-bar) .vxe-table--scroll-x-wrapper {
451
452
  opacity: 0;
@@ -454,9 +455,13 @@
454
455
  height: 0px !important;
455
456
  }
456
457
  .aplus-ap-grid-wrapper {
457
- padding: 16px;
458
+ padding: 8px;
459
+ padding-bottom: 12px;
458
460
  background-color: #fff;
459
461
  }
462
+ .aplus-ap-grid-wrapper:has(ul.ant-pagination) {
463
+ padding-bottom: 0;
464
+ }
460
465
  .aplus-ap-grid-wrapper.aplus-ap-grid-sticky {
461
466
  padding-bottom: 0;
462
467
  }
@@ -464,9 +469,10 @@
464
469
  padding-bottom: 0;
465
470
  }
466
471
  .aplus-ap-grid__search-wrapper {
467
- padding: 16px;
472
+ padding: 8px;
468
473
  padding-bottom: 0;
469
474
  background-color: #fff;
475
+ border-radius: 4px;
470
476
  margin-bottom: 10px;
471
477
  }
472
478
  .aplus-ap-grid__table-wrapper {
@@ -478,11 +484,16 @@
478
484
  flex-direction: column;
479
485
  }
480
486
  .aplus-ap-grid__table-wrapper-card {
481
- padding: 12px 16px 16px;
487
+ padding: 8px;
488
+ padding-bottom: 12px;
489
+ border-radius: 4px;
482
490
  background-color: #fff;
483
491
  }
492
+ .aplus-ap-grid__table-wrapper-card:has(ul.ant-pagination) {
493
+ padding-bottom: 0;
494
+ }
484
495
  .aplus-ap-grid-pagination {
485
- margin-top: 16px;
496
+ margin-block: 12px;
486
497
  display: flex;
487
498
  flex-wrap: wrap;
488
499
  row-gap: 8px;
@@ -21,7 +21,7 @@
21
21
  }
22
22
  .@{pg} {
23
23
  ul.ant-pagination {
24
- margin: 16px 0px 0px;
24
+ margin-block: @spacing-lg;
25
25
  }
26
26
  }
27
27
  &-sticky {
@@ -30,13 +30,13 @@
30
30
  z-index: 10;
31
31
  position: sticky;
32
32
  bottom: 0;
33
- padding-bottom: 16px;
34
33
  }
34
+ // 如果粘贴模式下渲染了自定义滚动条,则隐藏默认滚动条及其区域,重设分页器顶部间距
35
35
  &:has(.@{sb}) {
36
36
  .@{pg} {
37
37
  ul.ant-pagination {
38
38
  margin-top: 0;
39
- padding-top: 8px;
39
+ padding-top: 4px;
40
40
  }
41
41
  }
42
42
  .vxe-table--scroll-x-wrapper {
@@ -48,7 +48,12 @@
48
48
  }
49
49
  }
50
50
  &-wrapper {
51
- padding: 16px;
51
+ padding: @spacing;
52
+ padding-bottom: @spacing-lg;
53
+ // 如果渲染了分页器,则取消容器的底部边距,防止双重边距
54
+ &:has(ul.ant-pagination) {
55
+ padding-bottom: 0;
56
+ }
52
57
  background-color: #fff;
53
58
  }
54
59
  &-wrapper&-sticky {
@@ -58,9 +63,10 @@
58
63
  padding-bottom: 0;
59
64
  }
60
65
  &__search-wrapper {
61
- padding:16px;
66
+ padding: @spacing;
62
67
  padding-bottom: 0;
63
68
  background-color: #fff;
69
+ border-radius: @border-radius;
64
70
  margin-bottom: 10px;
65
71
  }
66
72
  &__table-wrapper {
@@ -72,11 +78,16 @@
72
78
  flex-direction: column;
73
79
  }
74
80
  &__table-wrapper-card {
75
- padding: 12px 16px 16px;
81
+ padding: @spacing;
82
+ padding-bottom: @spacing-lg;
83
+ &:has(ul.ant-pagination) {
84
+ padding-bottom: 0;
85
+ }
86
+ border-radius: @border-radius;
76
87
  background-color: #fff;
77
88
  }
78
89
  &-pagination {
79
- margin-top: 16px;
90
+ margin-block: @spacing-lg;
80
91
  display: flex;
81
92
  flex-wrap: wrap;
82
93
  row-gap: 8px;
@@ -95,7 +106,7 @@
95
106
  }
96
107
  &-header-wrapper {
97
108
  }
98
- // ApTable中Table的Header区域
109
+ // ApGrid中表格表头的样式
99
110
  &-table-header {
100
111
  &__title {
101
112
  display: -webkit-inline-box;
@@ -110,7 +121,7 @@
110
121
  flex: 1;
111
122
  }
112
123
  }
113
-
124
+ // 实现表头不换行排列
114
125
  th .vxe-cell--wrapper {
115
126
  display: flex;
116
127
  flex-direction: row;
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -29,7 +29,7 @@
29
29
  .aplus-ap-ladder {
30
30
  position: relative;
31
31
  width: inherit;
32
- font-size: 14px;
32
+ font-size: 12px;
33
33
  /** 自动溢出省略 */
34
34
  /** Aplus端样式 */
35
35
  /** Admin端样式 */
@@ -132,11 +132,11 @@
132
132
  margin-left: 4px;
133
133
  }
134
134
  .aplus-ap-ladder__major {
135
- line-height: 22px;
135
+ line-height: 1.5;
136
136
  color: #182948;
137
137
  }
138
138
  .aplus-ap-ladder__minor {
139
- line-height: 22px;
139
+ line-height: 1.5;
140
140
  color: #8896B0;
141
141
  }
142
142
  .aplus-ap-ladder__label {
@@ -5,7 +5,7 @@
5
5
  @root-cls: ~'@{ns}@{common-separator}ap-ladder';
6
6
  position: relative;
7
7
  width: inherit;
8
- font-size: 14px;
8
+ font-size: @font-size-base;
9
9
 
10
10
 
11
11
  &__value-group-item{
@@ -110,11 +110,11 @@
110
110
 
111
111
  /** Aplus端样式 */
112
112
  &__major {
113
- line-height: 22px;
113
+ line-height: @line-height-base;
114
114
  color: #182948;
115
115
  }
116
116
  &__minor {
117
- line-height: 22px;
117
+ line-height: @line-height-base;
118
118
  color: #8896B0;
119
119
  }
120
120
  &__label {
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -37,7 +37,7 @@
37
37
  pointer-events: none;
38
38
  }
39
39
  .aplus-ap-list__footer {
40
- margin-top: 16px;
40
+ margin-top: 8px;
41
41
  display: flex;
42
42
  justify-content: flex-end;
43
43
  }
@@ -1,4 +1,5 @@
1
1
  @import '../mixins/mixins.less';
2
+ @import '../mixins/config.less';
2
3
 
3
4
  @listCls: ~'@{ns}-ap-list';
4
5
  @listContentContainerCls: ~'@{listCls}-content-container';
@@ -14,7 +15,7 @@
14
15
  }
15
16
  }
16
17
  &__footer {
17
- margin-top: 16px;
18
+ margin-top: @spacing;
18
19
  display: flex;
19
20
  justify-content: flex-end;
20
21
  }
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -3,9 +3,9 @@
3
3
  margin: 0;
4
4
  padding: 0;
5
5
  color: rgba(0 0 0 / 85%);
6
- font-size: 14px;
6
+ font-size: 12px;
7
7
  font-family: inherit;
8
- line-height: 22px;
8
+ line-height: 1.5;
9
9
  list-style: none;
10
10
  }
11
11
  .clear-fix::before {
@@ -19,7 +19,7 @@
19
19
  }
20
20
  .common-style {
21
21
  box-sizing: border-box;
22
- font-size: 14px;
22
+ font-size: 12px;
23
23
  font-family: inherit;
24
24
  }
25
25
  .common-style::before,
@@ -64,17 +64,17 @@
64
64
  .aplus-ap-select-layout-side__header > h3 {
65
65
  margin: 0;
66
66
  color: #333;
67
- font-size: 16px;
67
+ font-size: 14px;
68
68
  font-weight: bold;
69
- line-height: 18px;
69
+ line-height: 1.1 0.57142857;
70
70
  }
71
71
  .aplus-ap-select-layout-side__header--imgWrap {
72
72
  border-radius: 2px;
73
73
  cursor: pointer;
74
- font-size: 24px;
74
+ font-size: 20px;
75
75
  color: #999;
76
76
  display: flex;
77
- height: 24px;
77
+ height: 20px;
78
78
  }
79
79
  .aplus-ap-select-layout-side__header--imgWrap:hover {
80
80
  background: #f5f5f5;
@@ -138,9 +138,9 @@
138
138
  margin-right: 10px;
139
139
  border-radius: 2px;
140
140
  cursor: pointer;
141
- font-size: 24px;
141
+ font-size: 20px;
142
142
  display: flex;
143
- height: 24px;
143
+ height: 20px;
144
144
  color: #999;
145
145
  }
146
146
  .aplus-ap-select-layout-content__header--imgWrap:hover {
@@ -148,7 +148,7 @@
148
148
  }
149
149
  .aplus-ap-select-layout-content__header--title {
150
150
  margin: 0;
151
- font-size: 16px;
151
+ font-size: 14px;
152
152
  font-weight: bold;
153
- line-height: 32px;
153
+ line-height: 1.1 0.57142857;
154
154
  }
@@ -41,18 +41,18 @@
41
41
  & > h3 {
42
42
  margin: 0;
43
43
  color: #333;
44
- font-size: 16px;
44
+ font-size: @font-size-lg;
45
45
  font-weight: bold;
46
- line-height: 18px;
46
+ line-height: @line-height-lg;
47
47
  }
48
48
 
49
49
  &--imgWrap {
50
50
  border-radius: 2px;
51
51
  cursor: pointer;
52
- font-size: 24px;
52
+ font-size: 20px;
53
53
  color: #999;
54
54
  display: flex;
55
- height: 24px;;
55
+ height: 20px;
56
56
 
57
57
  &:hover {
58
58
  background: #f5f5f5;
@@ -130,9 +130,9 @@
130
130
  margin-right: 10px;
131
131
  border-radius: 2px;
132
132
  cursor: pointer;
133
- font-size: 24px;
133
+ font-size: 20px;
134
134
  display: flex;
135
- height: 24px;;
135
+ height: 20px;
136
136
  color: #999;
137
137
 
138
138
  &:hover {
@@ -142,9 +142,9 @@
142
142
 
143
143
  &--title {
144
144
  margin: 0;
145
- font-size: 16px;
145
+ font-size: @font-size-lg;
146
146
  font-weight: bold;
147
- line-height: 32px;
147
+ line-height: @line-height-lg;
148
148
  }
149
149
  }
150
150
  }