vue2-client 1.16.84 → 1.16.85

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 (25) hide show
  1. package/package.json +112 -112
  2. package/src/assets/svg/female.svg +1 -1
  3. package/src/assets/svg/male.svg +1 -1
  4. package/src/base-client/components/common/HIS/HButtons/HButtons.vue +381 -381
  5. package/src/base-client/components/common/HIS/HForm/HForm.vue +492 -348
  6. package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
  7. package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +10 -1
  8. package/src/base-client/components/common/HIS/HTab/HTab.vue +26 -1
  9. package/src/base-client/components/common/XCollapse/XCollapse.vue +833 -833
  10. package/src/base-client/components/common/XInput/XInput.vue +194 -194
  11. package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
  12. package/src/base-client/components/common/XTimeline/XTimeline.vue +478 -462
  13. package/src/base-client/components/common/XTree/XTreePro.vue +4 -4
  14. package/src/base-client/components/his/XCheckbox/XCheckbox.vue +181 -181
  15. package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
  16. package/src/base-client/components/his/XList/XList.vue +829 -829
  17. package/src/base-client/components/his/XRadio/XRadio.vue +389 -389
  18. package/src/base-client/components/his/XSimpleTable/XSimpleTable.vue +159 -159
  19. package/src/base-client/components/his/XTimeSelect/XTimeSelect.vue +306 -306
  20. package/src/base-client/components/his/XTitle/XTitle.vue +274 -269
  21. package/src/base-client/components/his/XTreeRows/XTreeRows.vue +341 -341
  22. package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
  23. package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
  24. package/src-base-client/components/common/HIS/HForm/HForm.vue +0 -348
  25. package/src-base-client/components/common/XCollapse/XCollapse.vue +0 -0
@@ -1,348 +1,492 @@
1
- <script setup lang="ts">
2
- import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
- import { ref, computed, useAttrs } from 'vue'
4
-
5
- const xAddNativeFormRef = ref()
6
-
7
- const attrs = useAttrs()
8
- const wrapperClassObject = computed(() => {
9
- const a = attrs
10
- const classes = {}
11
-
12
- // 1) 多个布尔型样式开关(存在且为真则生效)
13
- const booleanStyleKeys = [
14
- 'query-conditions',
15
- 'padding-50',
16
- 'label-text-horizontal',
17
- 'label-text-justify',
18
- 'left-form',
19
- 'charge-form'
20
- ]
21
- for (const key of booleanStyleKeys) {
22
- const val = a[key]
23
- const truthy = val === true || val === '' || val === 'true'
24
- if (truthy) classes[`h-form-${key}`] = true
25
- }
26
- return classes
27
- })
28
-
29
- defineExpose({
30
- getXAddNativeFormInstance: () => xAddNativeFormRef.value,
31
- init: (params) => xAddNativeFormRef.value && xAddNativeFormRef.value.init && xAddNativeFormRef.value.init(params),
32
- asyncSubmit: () => xAddNativeFormRef.value && xAddNativeFormRef.value.asyncSubmit && xAddNativeFormRef.value.asyncSubmit(),
33
- validateForm: () => xAddNativeFormRef.value && xAddNativeFormRef.value.validateForm && xAddNativeFormRef.value.validateForm()
34
- })
35
-
36
- </script>
37
-
38
- <template>
39
- <div
40
- class="h-form-wrapper"
41
- :class="[
42
- wrapperClassObject
43
- ]"
44
- >
45
-
46
- <x-add-native-form
47
- ref="xAddNativeFormRef"
48
- v-bind="$attrs"
49
- v-on="$listeners"
50
- >
51
- <template v-for="(_, name) in $slots" #[name]="slotData">
52
- <slot :name="name" v-bind="slotData" />
53
- </template>
54
- </x-add-native-form>
55
- </div>
56
- </template>
57
-
58
- <style scoped lang="less">
59
- .h-form-wrapper {
60
- // 基础样式
61
- :deep(.ant-form-item) {
62
- margin-bottom: 4px;
63
- }
64
-
65
- // query-conditions 样式
66
- &.h-form-query-conditions {
67
- // ant-card-body 样式
68
- :deep(.ant-card-body) {
69
- padding: 0px;
70
- }
71
-
72
- // ant-row-flex 样式
73
- :deep(.ant-row-flex) {
74
- // x-form-col-wrapper 样式
75
- .x-form-col-wrapper {
76
- .ant-form-item {
77
- display: flex;
78
- width: 100%;
79
- margin-bottom: 4px;
80
- justify-content: space-between;
81
-
82
- .ant-form-item-label {
83
- padding-left: 4px;
84
- width: 100%;
85
- }
86
-
87
- .ant-form-item-control-wrapper {
88
- padding-left: -6px;
89
- }
90
- }
91
- }
92
-
93
- // ant-col-24 样式
94
- .ant-col-24 {
95
- padding: 0px 4px !important;
96
- }
97
- }
98
- }
99
-
100
- &.h-form-padding-50 {
101
- // ant-row-flex 样式
102
- :deep(.ant-row-flex) {
103
- padding-left: 50px;
104
- padding-right: 50px
105
- }
106
- }
107
-
108
- // charge-form 样式
109
- &.h-form-charge-form {
110
- margin-top: 2px !important;
111
- // 定义变量
112
- @font-common: {
113
- font-family: 'Source Han Sans', sans-serif;
114
- font-size: 16px;
115
- font-weight: normal;
116
- letter-spacing: 0em;
117
- font-variation-settings: "opsz" auto;
118
- font-feature-settings: "kern" on;
119
- };
120
-
121
- @color-primary: #313131;
122
- @color-placeholder: #999999;
123
-
124
- // 定义混合宏
125
- .input-base() {
126
- width: 100%;
127
- height: 30px;
128
- line-height: 30px;
129
- vertical-align: top;
130
- margin: 0;
131
- text-align: left;
132
- color: @color-primary;
133
- opacity: 1;
134
- @font-common();
135
- }
136
-
137
- .placeholder-base() {
138
- color: @color-placeholder;
139
- opacity: 1;
140
- @font-common();
141
- }
142
-
143
- .option-group-base() {
144
- height: 30px;
145
- line-height: 30px;
146
- display: flex;
147
- align-items: center;
148
-
149
- .ant-radio-wrapper,
150
- .ant-checkbox-wrapper {
151
- height: 30px;
152
- line-height: 30px;
153
- margin-right: 16px;
154
- }
155
- }
156
-
157
- :deep(.ant-form-item) {
158
- margin-bottom: 16px;
159
- margin-top: 0;
160
- padding: 0;
161
- display: flex;
162
- align-items: center;
163
-
164
- .ant-form-item-label {
165
- text-align: left;
166
- margin: 0 16px 0 0 !important;
167
- width: 64px;
168
- min-width: 64px;
169
- max-width: 64px;
170
- flex-shrink: 0;
171
-
172
- label {
173
- height: 23px;
174
- opacity: 1;
175
- line-height: 23px;
176
- color: @color-primary;
177
- margin: 0;
178
- padding: 0;
179
- white-space: nowrap;
180
- display: block;
181
- @font-common();
182
-
183
- // 移除冒号
184
- &::after {
185
- content: '';
186
- }
187
- }
188
- }
189
-
190
- .ant-form-item-control-wrapper {
191
- margin: 0;
192
- padding: 0;
193
- flex: 1;
194
- min-width: 0;
195
- display: flex;
196
- align-items: center;
197
-
198
- .ant-form-item-control {
199
- margin: 0;
200
- padding: 0;
201
- width: 100%;
202
- text-align: left;
203
- line-height: 30px !important;
204
-
205
- // 输入框样式统一
206
- .ant-input,
207
- .ant-input-affix-wrapper,
208
- .ant-select,
209
- .ant-input-number,
210
- .ant-picker,
211
- .ant-radio-group,
212
- .ant-checkbox-group {
213
- .input-base();
214
- }
215
-
216
- // 选择器样式
217
- .ant-select {
218
- .ant-select-selector {
219
- .input-base();
220
- height: 30px;
221
- line-height: 30px;
222
-
223
- .ant-select-selection-item {
224
- .input-base();
225
- line-height: 30px;
226
- }
227
-
228
- .ant-select-selection-placeholder {
229
- .placeholder-base();
230
- line-height: 30px;
231
- }
232
- }
233
- }
234
-
235
- // 日期选择器样式
236
- .ant-picker {
237
- height: 30px;
238
-
239
- .ant-picker-input {
240
- height: 30px;
241
- line-height: 30px;
242
- .input-base();
243
-
244
- input {
245
- .input-base();
246
- height: 30px;
247
- line-height: 30px;
248
- }
249
- }
250
- }
251
-
252
- // 数字输入框样式
253
- .ant-input-number {
254
- height: 30px;
255
-
256
- .ant-input-number-input {
257
- .input-base();
258
- height: 30px;
259
- line-height: 30px;
260
- }
261
- }
262
-
263
- // 单选框组样式
264
- .ant-radio-group {
265
- .option-group-base();
266
- }
267
-
268
- // 复选框组样式
269
- .ant-checkbox-group {
270
- .option-group-base();
271
- }
272
- }
273
- }
274
- }
275
-
276
- // 重置可能的容器边距
277
- :deep(.ant-row) {
278
- margin: 0;
279
- padding: 0;
280
-
281
- .ant-col {
282
- margin: 0;
283
- padding: 0;
284
- }
285
- }
286
-
287
- // 强制重置所有可能的表单项样式
288
- :deep(.ant-form-item) {
289
- margin: 0 0 16px 0 !important;
290
-
291
- // 重置可能的内部边距
292
- .ant-form-item-control-input,
293
- .ant-form-item-control-input-content {
294
- margin: 0 !important;
295
- padding: 0 !important;
296
- }
297
- }
298
- }
299
-
300
- // label-text-horizontal 样式 - 只控制label文字从左到右排列
301
- &.h-form-label-text-horizontal {
302
- :deep(.ant-form-item-label) {
303
- text-align: left;
304
- direction: ltr;
305
-
306
- // 标签文字水平排列
307
- .ant-form-item-label-text {
308
- display: inline-block;
309
- text-align: left;
310
- direction: ltr;
311
- unicode-bidi: normal;
312
- }
313
-
314
- // 必填标识水平排列
315
- .ant-form-item-required::before {
316
- margin-right: 4px;
317
- margin-left: 0;
318
- }
319
- }
320
- }
321
-
322
- // label-text-justify 样式 - 标签文字两端对齐分散占满 必填*可能会有问题
323
- &.h-form-label-text-justify {
324
- :deep(.ant-form-item-label) {
325
- padding-left: 0;
326
- padding-right: 8px;
327
- label {
328
- position: relative;
329
- display: block;
330
- width: 100%;
331
- white-space: nowrap;
332
- margin: 0;
333
- text-indent: 0;
334
- text-align: justify;
335
- text-align-last: justify;
336
- text-justify: inter-ideograph;
337
- box-sizing: border-box;
338
- padding-right: 12px; // 给绝对定位的冒号留出空间
339
- }
340
- // 将冒号绝对定位到最右侧,避免参与两端对齐计算
341
- label::after {
342
- position: absolute;
343
- right: 0;
344
- }
345
- }
346
- }
347
- }
348
- </style>
1
+ <script setup lang="ts">
2
+ import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
3
+ import { ref, computed, useAttrs } from 'vue'
4
+
5
+ const xAddNativeFormRef = ref()
6
+
7
+ const attrs = useAttrs()
8
+ const wrapperClassObject = computed(() => {
9
+ const a = attrs
10
+ const classes = {}
11
+
12
+ // 1) 多个布尔型样式开关(存在且为真则生效)
13
+ const booleanStyleKeys = [
14
+ 'query-conditions',
15
+ 'padding-50',
16
+ 'label-text-horizontal',
17
+ 'label-text-justify',
18
+ 'left-form',
19
+ 'charge-form',
20
+ 'aligned-form'
21
+ ]
22
+ for (const key of booleanStyleKeys) {
23
+ const val = a[key]
24
+ const truthy = val === true || val === '' || val === 'true'
25
+ if (truthy) classes[`h-form-${key}`] = true
26
+ }
27
+ return classes
28
+ })
29
+
30
+ defineExpose({
31
+ getXAddNativeFormInstance: () => xAddNativeFormRef.value,
32
+ init: (params) => xAddNativeFormRef.value && xAddNativeFormRef.value.init && xAddNativeFormRef.value.init(params),
33
+ asyncSubmit: () => xAddNativeFormRef.value && xAddNativeFormRef.value.asyncSubmit && xAddNativeFormRef.value.asyncSubmit(),
34
+ validateForm: () => xAddNativeFormRef.value && xAddNativeFormRef.value.validateForm && xAddNativeFormRef.value.validateForm()
35
+ })
36
+
37
+ </script>
38
+
39
+ <template>
40
+ <div
41
+ class="h-form-wrapper"
42
+ :class="[
43
+ wrapperClassObject
44
+ ]"
45
+ >
46
+
47
+ <x-add-native-form
48
+ ref="xAddNativeFormRef"
49
+ v-bind="$attrs"
50
+ v-on="$listeners"
51
+ >
52
+ <template v-for="(_, name) in $slots" #[name]="slotData">
53
+ <slot :name="name" v-bind="slotData" />
54
+ </template>
55
+ </x-add-native-form>
56
+ </div>
57
+ </template>
58
+
59
+ <style scoped lang="less">
60
+ .h-form-wrapper {
61
+ // 基础样式
62
+ :deep(.ant-form-item) {
63
+ margin-bottom: 4px;
64
+ }
65
+
66
+ // query-conditions 样式
67
+ &.h-form-query-conditions {
68
+ // ant-card-body 样式
69
+ :deep(.ant-card-body) {
70
+ padding: 0px;
71
+ }
72
+
73
+ // ant-row-flex 样式
74
+ :deep(.ant-row-flex) {
75
+ // x-form-col-wrapper 样式
76
+ .x-form-col-wrapper {
77
+ .ant-form-item {
78
+ display: flex;
79
+ width: 100%;
80
+ margin-bottom: 4px;
81
+ justify-content: space-between;
82
+
83
+ .ant-form-item-label {
84
+ padding-left: 4px;
85
+ width: 100%;
86
+ }
87
+
88
+ .ant-form-item-control-wrapper {
89
+ padding-left: -6px;
90
+ }
91
+ }
92
+ }
93
+
94
+ // ant-col-24 样式
95
+ .ant-col-24 {
96
+ padding: 0px 4px !important;
97
+ }
98
+ }
99
+ }
100
+
101
+ &.h-form-padding-50 {
102
+ // ant-row-flex 样式
103
+ :deep(.ant-row-flex) {
104
+ padding-left: 50px;
105
+ padding-right: 50px
106
+ }
107
+ }
108
+
109
+ // charge-form 样式
110
+ &.h-form-charge-form {
111
+ margin-top: 2px !important;
112
+ // 定义变量
113
+ @font-common: {
114
+ font-family: 'Source Han Sans', sans-serif;
115
+ font-size: 16px;
116
+ font-weight: normal;
117
+ letter-spacing: 0em;
118
+ font-variation-settings: "opsz" auto;
119
+ font-feature-settings: "kern" on;
120
+ };
121
+
122
+ @color-primary: #313131;
123
+ @color-placeholder: #999999;
124
+
125
+ // 定义混合宏
126
+ .input-base() {
127
+ width: 100%;
128
+ height: 30px;
129
+ line-height: 30px;
130
+ vertical-align: top;
131
+ margin: 0;
132
+ text-align: left;
133
+ color: @color-primary;
134
+ opacity: 1;
135
+ @font-common();
136
+ }
137
+
138
+ .placeholder-base() {
139
+ color: @color-placeholder;
140
+ opacity: 1;
141
+ @font-common();
142
+ }
143
+
144
+ .option-group-base() {
145
+ height: 30px;
146
+ line-height: 30px;
147
+ display: flex;
148
+ align-items: center;
149
+
150
+ .ant-radio-wrapper,
151
+ .ant-checkbox-wrapper {
152
+ height: 30px;
153
+ line-height: 30px;
154
+ margin-right: 16px;
155
+ }
156
+ }
157
+
158
+ :deep(.ant-form-item) {
159
+ margin-bottom: 16px;
160
+ margin-top: 0;
161
+ padding: 0;
162
+ display: flex;
163
+ align-items: center;
164
+
165
+ .ant-form-item-label {
166
+ text-align: left;
167
+ margin: 0 16px 0 0 !important;
168
+ width: 64px;
169
+ min-width: 64px;
170
+ max-width: 64px;
171
+ flex-shrink: 0;
172
+
173
+ label {
174
+ height: 23px;
175
+ opacity: 1;
176
+ line-height: 23px;
177
+ color: @color-primary;
178
+ margin: 0;
179
+ padding: 0;
180
+ white-space: nowrap;
181
+ display: block;
182
+ @font-common();
183
+
184
+ // 移除冒号
185
+ &::after {
186
+ content: '';
187
+ }
188
+ }
189
+ }
190
+
191
+ .ant-form-item-control-wrapper {
192
+ margin: 0;
193
+ padding: 0;
194
+ flex: 1;
195
+ min-width: 0;
196
+ display: flex;
197
+ align-items: center;
198
+
199
+ .ant-form-item-control {
200
+ margin: 0;
201
+ padding: 0;
202
+ width: 100%;
203
+ text-align: left;
204
+ line-height: 30px !important;
205
+
206
+ // 输入框样式统一
207
+ .ant-input,
208
+ .ant-input-affix-wrapper,
209
+ .ant-select,
210
+ .ant-input-number,
211
+ .ant-picker,
212
+ .ant-radio-group,
213
+ .ant-checkbox-group {
214
+ .input-base();
215
+ }
216
+
217
+ // 选择器样式
218
+ .ant-select {
219
+ .ant-select-selector {
220
+ .input-base();
221
+ height: 30px;
222
+ line-height: 30px;
223
+
224
+ .ant-select-selection-item {
225
+ .input-base();
226
+ line-height: 30px;
227
+ }
228
+
229
+ .ant-select-selection-placeholder {
230
+ .placeholder-base();
231
+ line-height: 30px;
232
+ }
233
+ }
234
+ }
235
+
236
+ // 日期选择器样式
237
+ .ant-picker {
238
+ height: 30px;
239
+
240
+ .ant-picker-input {
241
+ height: 30px;
242
+ line-height: 30px;
243
+ .input-base();
244
+
245
+ input {
246
+ .input-base();
247
+ height: 30px;
248
+ line-height: 30px;
249
+ }
250
+ }
251
+ }
252
+
253
+ // 数字输入框样式
254
+ .ant-input-number {
255
+ height: 30px;
256
+
257
+ .ant-input-number-input {
258
+ .input-base();
259
+ height: 30px;
260
+ line-height: 30px;
261
+ }
262
+ }
263
+
264
+ // 单选框组样式
265
+ .ant-radio-group {
266
+ .option-group-base();
267
+ }
268
+
269
+ // 复选框组样式
270
+ .ant-checkbox-group {
271
+ .option-group-base();
272
+ }
273
+ }
274
+ }
275
+ }
276
+
277
+ // 重置可能的容器边距
278
+ :deep(.ant-row) {
279
+ margin: 0;
280
+ padding: 0;
281
+
282
+ .ant-col {
283
+ margin: 0;
284
+ padding: 0;
285
+ }
286
+ }
287
+
288
+ // 强制重置所有可能的表单项样式
289
+ :deep(.ant-form-item) {
290
+ margin: 0 0 16px 0 !important;
291
+
292
+ // 重置可能的内部边距
293
+ .ant-form-item-control-input,
294
+ .ant-form-item-control-input-content {
295
+ margin: 0 !important;
296
+ padding: 0 !important;
297
+ }
298
+ }
299
+ }
300
+
301
+ // label-text-horizontal 样式 - 只控制label文字从左到右排列
302
+ &.h-form-label-text-horizontal {
303
+ :deep(.ant-form-item-label) {
304
+ text-align: left;
305
+ direction: ltr;
306
+
307
+ // 标签文字水平排列
308
+ .ant-form-item-label-text {
309
+ display: inline-block;
310
+ text-align: left;
311
+ direction: ltr;
312
+ unicode-bidi: normal;
313
+ }
314
+
315
+ // 必填标识水平排列
316
+ .ant-form-item-required::before {
317
+ margin-right: 4px;
318
+ margin-left: 0;
319
+ }
320
+ }
321
+ }
322
+
323
+ // label-text-justify 样式 - 标签文字两端对齐分散占满 必填*可能会有问题
324
+ &.h-form-label-text-justify {
325
+ :deep(.ant-form-item-label) {
326
+ padding-left: 0;
327
+ padding-right: 8px;
328
+ label {
329
+ position: relative;
330
+ display: block;
331
+ width: 100%;
332
+ white-space: nowrap;
333
+ margin: 0;
334
+ text-indent: 0;
335
+ text-align: justify;
336
+ text-align-last: justify;
337
+ text-justify: inter-ideograph;
338
+ box-sizing: border-box;
339
+ padding-right: 12px; // 给绝对定位的冒号留出空间
340
+ }
341
+ // 将冒号绝对定位到最右侧,避免参与两端对齐计算
342
+ label::after {
343
+ position: absolute;
344
+ right: 0;
345
+ }
346
+ }
347
+ }
348
+
349
+ // aligned-form 样式 - 实现标签左对齐、输入框垂直对齐的整齐布局
350
+ &.h-form-aligned-form {
351
+ :deep(.ant-form-item) {
352
+ margin-bottom: 16px;
353
+ display: flex;
354
+ align-items: center;
355
+ width: 100%;
356
+
357
+ .ant-form-item-label {
358
+ text-align: left;
359
+ margin-right: 12px;
360
+ flex-shrink: 0;
361
+ min-width: 80px; // 确保标签有最小宽度,保持对齐
362
+ max-width: 120px; // 限制最大宽度,避免过宽
363
+
364
+ label {
365
+ margin: 0;
366
+ padding: 0;
367
+ white-space: nowrap;
368
+ display: block;
369
+ text-align: left;
370
+ line-height: 32px;
371
+ height: 32px;
372
+ color: rgba(0, 0, 0, 0.85);
373
+ font-size: 14px;
374
+
375
+ // 移除默认冒号
376
+ &::after {
377
+ content: '';
378
+ }
379
+ }
380
+ }
381
+
382
+ .ant-form-item-control-wrapper {
383
+ flex: 1;
384
+ min-width: 0;
385
+ display: flex;
386
+ align-items: center;
387
+
388
+ .ant-form-item-control {
389
+ width: 100%;
390
+ margin: 0;
391
+ padding: 0;
392
+
393
+ // 统一输入框样式
394
+ .ant-input,
395
+ .ant-input-affix-wrapper,
396
+ .ant-select,
397
+ .ant-input-number,
398
+ .ant-picker,
399
+ .ant-radio-group,
400
+ .ant-checkbox-group {
401
+ width: 100%;
402
+ height: 32px;
403
+ line-height: 32px;
404
+ vertical-align: top;
405
+ margin: 0;
406
+ text-align: left;
407
+ }
408
+
409
+ // 选择器样式
410
+ .ant-select {
411
+ .ant-select-selector {
412
+ height: 32px;
413
+ line-height: 32px;
414
+
415
+ .ant-select-selection-item,
416
+ .ant-select-selection-placeholder {
417
+ line-height: 32px;
418
+ height: 32px;
419
+ }
420
+ }
421
+ }
422
+
423
+ // 日期选择器样式
424
+ .ant-picker {
425
+ height: 32px;
426
+
427
+ .ant-picker-input {
428
+ height: 32px;
429
+ line-height: 32px;
430
+
431
+ input {
432
+ height: 32px;
433
+ line-height: 32px;
434
+ }
435
+ }
436
+ }
437
+
438
+ // 数字输入框样式
439
+ .ant-input-number {
440
+ height: 32px;
441
+
442
+ .ant-input-number-input {
443
+ height: 32px;
444
+ line-height: 32px;
445
+ }
446
+ }
447
+
448
+ // 单选框组和复选框组样式
449
+ .ant-radio-group,
450
+ .ant-checkbox-group {
451
+ height: 32px;
452
+ line-height: 32px;
453
+ display: flex;
454
+ align-items: center;
455
+
456
+ .ant-radio-wrapper,
457
+ .ant-checkbox-wrapper {
458
+ height: 32px;
459
+ line-height: 32px;
460
+ margin-right: 16px;
461
+ }
462
+ }
463
+ }
464
+ }
465
+ }
466
+
467
+ // 确保行容器样式
468
+ :deep(.ant-row) {
469
+ margin: 0;
470
+ padding: 0;
471
+
472
+ .ant-col {
473
+ margin: 0;
474
+ padding: 0 8px; // 列与列之间的间距
475
+ display: flex;
476
+ flex-direction: column;
477
+ }
478
+ }
479
+
480
+ // 重置可能的容器边距
481
+ :deep(.ant-form-item) {
482
+ margin: 0 0 16px 0 !important;
483
+
484
+ .ant-form-item-control-input,
485
+ .ant-form-item-control-input-content {
486
+ margin: 0 !important;
487
+ padding: 0 !important;
488
+ }
489
+ }
490
+ }
491
+ }
492
+ </style>