vue2-client 1.16.48 → 1.16.51

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 (28) hide show
  1. package/package.json +112 -112
  2. package/src/assets/svg/female.svg +1 -0
  3. package/src/assets/svg/male.svg +1 -0
  4. package/src/base-client/components/common/HIS/HButtons/HButtons.vue +371 -371
  5. package/src/base-client/components/common/HIS/HFormGroup/HFormGroup.vue +120 -120
  6. package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
  7. package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +379 -257
  8. package/src/base-client/components/common/HIS/demo.vue +61 -61
  9. package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +1178 -1178
  10. package/src/base-client/components/common/XCollapse/XCollapse.vue +461 -461
  11. package/src/base-client/components/common/XDataCard/XDataCard.vue +44 -18
  12. package/src/base-client/components/common/XInput/XInput.vue +147 -147
  13. package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +824 -824
  14. package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
  15. package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
  16. package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
  17. package/src/base-client/components/his/XList/XList.vue +829 -607
  18. package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
  19. package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
  20. package/src/router/async/router.map.js +129 -132
  21. package/src/assets/img/paymentMethod/icon1.png +0 -0
  22. package/src/assets/img/paymentMethod/icon2.png +0 -0
  23. package/src/assets/img/paymentMethod/icon3.png +0 -0
  24. package/src/assets/img/paymentMethod/icon4.png +0 -0
  25. package/src/assets/img/paymentMethod/icon5.png +0 -0
  26. package/src/assets/img/paymentMethod/icon6.png +0 -0
  27. package/src/base-client/components/common/XReport/XReportHospitalizationDemo.vue +0 -45
  28. package/src/base-client/components/his/XCharge/testConfig.js +0 -149
@@ -1,371 +1,371 @@
1
- <script setup lang="ts">
2
- import XButtons from '@vue2-client/base-client/components/common/XButtons/XButtons.vue'
3
- import { ref, computed, useAttrs } from 'vue'
4
-
5
- defineProps({
6
- // HButtons特有的属性
7
- buttonStyle: {
8
- type: String,
9
- default: 'button24'
10
- }
11
- })
12
-
13
- // 内部 XButtons 实例引用
14
- const xButtonsRef = ref()
15
-
16
- // 兼容多种样式配置
17
- const attrs = useAttrs()
18
- const wrapperClassObject = computed(() => {
19
- const a = attrs
20
- const classes = {}
21
-
22
- // 通用布尔样式开关(以存在/空字符串/'true' 为真)
23
- const booleanStyleKeys = [
24
- 'max-width200'
25
- ]
26
- for (const key of booleanStyleKeys) {
27
- const val = a[key]
28
- const truthy = val === true || val === '' || val === 'true'
29
- if (truthy) classes[`h-buttons-${key}`] = true
30
- }
31
- return classes
32
- })
33
-
34
- // 暴露方法:获取内部 XButtons 实例
35
- defineExpose({
36
- getXButtonsInstance: function () { return xButtonsRef.value }
37
- })
38
- </script>
39
-
40
- <template>
41
- <div
42
- class="h-buttons-wrapper"
43
- :class="[
44
- `h-buttons-${buttonStyle}`,
45
- wrapperClassObject
46
- ]"
47
- >
48
- <x-buttons
49
- ref="xButtonsRef"
50
- v-bind="$attrs"
51
- v-on="$listeners"
52
- >
53
- <template v-for="(_, name) in $slots" v-slot:[name]="slotData">
54
- <slot :name="name" v-bind="slotData" />
55
- </template>
56
- </x-buttons>
57
- </div>
58
- </template>
59
-
60
- <style scoped lang="less">
61
- .h-buttons-wrapper {
62
- // 基础样式
63
- :deep(.ant-btn-group) {
64
- .ant-btn {
65
- border-radius: 6px;
66
- background-color: #FFFFFF;
67
- border: 1px solid #9499A0;
68
- color: #313131;
69
- font-weight: normal;
70
- letter-spacing: 0em;
71
- width: 110px;
72
- font-size: 16px;
73
- font-family: "Source Han Sans";
74
- line-height: normal;
75
- margin-right: 25px;
76
- height: 32px;
77
- }
78
- }
79
- // button24样式
80
- &.h-buttons-button24 {
81
- :deep(.ant-btn-group) {
82
- .ant-btn {
83
- border: 1px solid #CDCDCD;
84
- color: #5D5C5C;
85
- // top: -100px;
86
- width: fit-content;
87
- min-width: 110px;
88
- }
89
- }
90
- }
91
- // button23样式
92
- &.h-buttons-button23 {
93
- :deep(.ant-btn-group) {
94
- .ant-btn {
95
- border: none;
96
- padding: 0 !important;
97
- color: #FFFFFF;
98
- border-radius: 50%;
99
- background-color: #1890FF;
100
- margin-left: 10px;
101
- top: -88px;
102
- width: 30px;
103
- height: 30px;
104
- }
105
- }
106
- }
107
- // +号样式(共享基础样式)
108
- &.h-buttons-table-height-button23,
109
- &.h-buttons-table-height-button23-no-transform {
110
- :deep(.ant-btn-group) {
111
- display: inline-flex;
112
- align-items: center;
113
- height: 100%;
114
-
115
- .ant-btn {
116
- display: inline-flex;
117
- align-items: center;
118
- justify-content: center;
119
- border: none;
120
- padding: 0 !important;
121
- color: #FFFFFF;
122
- border-radius: 50%;
123
- background-color: #1890FF;
124
- margin-left: 10px;
125
- width: 30px;
126
- height: 30px;
127
- }
128
- }
129
- }
130
- // 仅在有分页的场景上移
131
- &.h-buttons-table-height-button23 {
132
- :deep(.ant-btn-group) {
133
- .ant-btn { transform: translateY(-100%); }
134
- }
135
- }
136
- // 居中+悬停高亮的新样式
137
- &.h-buttons-plus-center {
138
- :deep(.ant-btn-group) {
139
- display: flex;
140
- align-items: center;
141
- justify-content: center;
142
- gap: 16px;
143
-
144
- .ant-btn {
145
- display: inline-flex;
146
- align-items: center;
147
- justify-content: center;
148
- border: 1px solid #CDCDCD;
149
- color: #5D5C5C;
150
- min-width: 110px;
151
- transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
152
-
153
- &:hover {
154
- background-color: #0057FE;
155
- border-color: #0057FE;
156
- color: #FFFFFF;
157
- }
158
- /* 支持通过 data-type 改变悬停颜色 */
159
- &[data-type='success']:hover {
160
- background-color: #34C76E;
161
- border-color: #34C76E;
162
- color: #FFFFFF;
163
- }
164
- }
165
- }
166
- }
167
- // 按钮布局样式公共部分
168
- &.h-buttons-button-left,
169
- &.h-buttons-button-center,
170
- &.h-buttons-button-right,
171
- &.h-buttons-button-space-between {
172
- :deep(.ant-btn-group) {
173
- width: 100%;
174
- display: flex;
175
- flex-wrap: nowrap;
176
- .ant-btn {
177
- border: 1px solid #CDCDCD;
178
- color: #5D5C5C;
179
- width: auto;
180
- min-width: 124px;
181
- max-width: 170px;
182
- white-space: nowrap;
183
- overflow: hidden;
184
- margin-right: 0px;
185
- text-overflow: ellipsis;
186
- }
187
- }
188
- }
189
- &.h-buttons-max-width200 {
190
- :deep(.ant-btn) {
191
- max-width: 200px !important;
192
- }
193
- }
194
- // button-left样式 - 按钮从左到右排列
195
- &.h-buttons-button-left {
196
- :deep(.ant-btn-group) {
197
- justify-content: flex-start;
198
- gap: 12px;
199
- .ant-btn {
200
- flex: 1 1 auto;
201
- }
202
- }
203
- }
204
- // button-center样式 - 按钮居中排列
205
- &.h-buttons-button-center {
206
- :deep(.ant-btn-group) {
207
- justify-content: center;
208
- gap: 12px;
209
- .ant-btn {
210
- flex: 1 1 auto;
211
- }
212
- }
213
- }
214
- // button-right样式 - 按钮从右到左排列
215
- &.h-buttons-button-right {
216
- :deep(.ant-btn-group) {
217
- justify-content: flex-end;
218
- gap: 12px;
219
- .ant-btn {
220
- flex: 1 1 auto;
221
- }
222
- }
223
- }
224
- // button-space-between样式 - 按钮两端对齐(两个按钮时分布在两端)
225
- &.h-buttons-button-space-between {
226
- :deep(.ant-btn-group) {
227
- justify-content: space-between;
228
- .ant-btn {
229
- flex: 1 1 auto;
230
- }
231
- }
232
- }
233
-
234
- // button-icon-tiles样式 - 左侧彩色图标块 + 右侧文字
235
- &.h-buttons-button-icon-tiles {
236
- :deep(.ant-btn-group) {
237
- width: 100%;
238
- display: flex;
239
- flex-wrap: wrap; // 允许自动换行
240
- justify-content: flex-start; // 左对齐
241
- gap: 0; // 取消统一间距
242
-
243
- .ant-btn {
244
- position: relative;
245
- display: inline-flex;
246
- align-items: center;
247
- gap: 10px; // 控制图标与文字间距
248
- border: 1px solid #E6E8EB;
249
- font-size: 14px;
250
- height: 44px;
251
- padding: 0 10px 0 10px;
252
- border-radius: 8px;
253
- min-width: 116px;
254
- box-shadow: 0 2px 0 rgba(0,0,0,0.02);
255
- margin-right: 12px; // 用margin控制横向间距,末尾一排自然换行
256
- }
257
-
258
- .ant-btn .anticon {
259
- width: 26px;
260
- height: 26px;
261
- display: inline-flex;
262
- align-items: center;
263
- justify-content: center;
264
- border-radius: 6px;
265
- color: #fff;
266
- font-size: 14px;
267
- flex: 0 0 26px; // 固定正方形,防止随文本挤压变形
268
- box-sizing: border-box;
269
- }
270
-
271
- /* 默认蓝色,支持通过 data-type 改变色块(success/warning/error/default)*/
272
- .ant-btn .anticon { background: #3FA7FF; }
273
- .ant-btn[data-type='success'] .anticon { background: #34C76E; }
274
- .ant-btn[data-type='warning'] .anticon { background: #FFA940; }
275
- .ant-btn[data-type='error'] .anticon { background: #FF7875; }
276
- .ant-btn[disabled] .anticon { background: #BFBFBF; }
277
-
278
- /* 图标与文字间距在有图标时更自然 */
279
- .ant-btn > .anticon + span { margin-left: 10px; }
280
- }
281
- }
282
- // 水印图标与按钮容器布局调整
283
- &.h-buttons-button-watermark-icon {
284
- :deep(.watermark-icon) { transform: translate(-50%, -54%) !important; }
285
- :deep(.x-button) { display: flex !important; }
286
- :deep(.ant-btn-group) {
287
- margin: 0 auto;
288
- display: block;
289
- }
290
- }
291
- &.h-buttons-0padding-button {
292
- padding: 0px 4px;
293
- }
294
- // button25样式 用于会诊申请侧边栏按钮样式
295
- &.h-buttons-button25 {
296
- :deep(.x-buttons) {
297
- .ant-btn-group {
298
- width: 173px;
299
- justify-content: space-between;
300
-
301
- .ant-btn {
302
- width: 173px;
303
- }
304
- }
305
- }
306
- }
307
- // 居中样式 用于门诊收费左侧按钮样式(三个按钮居中样式)
308
- &.h-buttons-out-button {
309
- :deep(.x-buttons) {
310
- margin-top: -1vw;
311
- display: flex;
312
- justify-content: center;
313
- .ant-btn-group {
314
- display: flex;
315
- flex-wrap: nowrap;
316
- gap: 12px;
317
- .ant-btn {
318
- box-sizing: border-box;
319
- margin-right: 0px;
320
- width: auto;
321
- min-width: 130px;
322
- white-space: nowrap;
323
- overflow: hidden;
324
- text-overflow: ellipsis;
325
- }
326
- }
327
- }
328
- }
329
- // button15样式 - 垂直排列的深色按钮组
330
- &.h-buttons-button15 {
331
- :deep(.x-buttons) {
332
- margin-top: -22px;
333
- .ant-btn-group {
334
- flex-direction: column; /* 按钮垂直排列 */
335
- display: flex; /* 启用flex布局 */
336
- gap: 6px; /* 按钮间距 */
337
- .ant-btn {
338
- border: none; /* 移除边框 */
339
- color: #FFFFFF; /* 字体颜色 */
340
- background-color: #5D5C5C; /* 背景色 */
341
- box-sizing: border-box; /* 盒模型 */
342
- left: 12px; /* 左偏移 */
343
- width: 280px; /* 宽度 */
344
- }
345
- }
346
- }
347
- }
348
- // button2样式
349
- &.h-buttons-button2 {
350
- :deep(.x-buttons) {
351
- margin: -20px 6px -20px 6px;
352
- .ant-btn-group {
353
- width: 100%;
354
- justify-content: space-between;
355
- display: flex; /* 确保flex布局 */
356
- flex-wrap: nowrap; /* 防止换行 */
357
- .ant-btn {
358
- border-radius: 6px; /* 边框圆角 */
359
- border: none; /* 移除边框 */
360
- flex: 0 0 46%; /* flex-grow: 0, flex-shrink: 0, flex-basis: 46% */
361
- min-width: 0; /* 覆盖可能的默认最小宽度 */
362
- font-size: 16px; /* 字体大小 */
363
- height: 32px; /* 高度 */
364
- color: #FFFFFF; /* 字体颜色 */
365
- background-color: #1890FF; /* 背景颜色 */
366
- }
367
- }
368
- }
369
- }
370
- }
371
- </style>
1
+ <script setup lang="ts">
2
+ import XButtons from '@vue2-client/base-client/components/common/XButtons/XButtons.vue'
3
+ import { ref, computed, useAttrs } from 'vue'
4
+
5
+ defineProps({
6
+ // HButtons特有的属性
7
+ buttonStyle: {
8
+ type: String,
9
+ default: 'button24'
10
+ }
11
+ })
12
+
13
+ // 内部 XButtons 实例引用
14
+ const xButtonsRef = ref()
15
+
16
+ // 兼容多种样式配置
17
+ const attrs = useAttrs()
18
+ const wrapperClassObject = computed(() => {
19
+ const a = attrs
20
+ const classes = {}
21
+
22
+ // 通用布尔样式开关(以存在/空字符串/'true' 为真)
23
+ const booleanStyleKeys = [
24
+ 'max-width200'
25
+ ]
26
+ for (const key of booleanStyleKeys) {
27
+ const val = a[key]
28
+ const truthy = val === true || val === '' || val === 'true'
29
+ if (truthy) classes[`h-buttons-${key}`] = true
30
+ }
31
+ return classes
32
+ })
33
+
34
+ // 暴露方法:获取内部 XButtons 实例
35
+ defineExpose({
36
+ getXButtonsInstance: function () { return xButtonsRef.value }
37
+ })
38
+ </script>
39
+
40
+ <template>
41
+ <div
42
+ class="h-buttons-wrapper"
43
+ :class="[
44
+ `h-buttons-${buttonStyle}`,
45
+ wrapperClassObject
46
+ ]"
47
+ >
48
+ <x-buttons
49
+ ref="xButtonsRef"
50
+ v-bind="$attrs"
51
+ v-on="$listeners"
52
+ >
53
+ <template v-for="(_, name) in $slots" v-slot:[name]="slotData">
54
+ <slot :name="name" v-bind="slotData" />
55
+ </template>
56
+ </x-buttons>
57
+ </div>
58
+ </template>
59
+
60
+ <style scoped lang="less">
61
+ .h-buttons-wrapper {
62
+ // 基础样式
63
+ :deep(.ant-btn-group) {
64
+ .ant-btn {
65
+ border-radius: 6px;
66
+ background-color: #FFFFFF;
67
+ border: 1px solid #9499A0;
68
+ color: #313131;
69
+ font-weight: normal;
70
+ letter-spacing: 0em;
71
+ width: 110px;
72
+ font-size: 16px;
73
+ font-family: "Source Han Sans";
74
+ line-height: normal;
75
+ margin-right: 25px;
76
+ height: 32px;
77
+ }
78
+ }
79
+ // button24样式
80
+ &.h-buttons-button24 {
81
+ :deep(.ant-btn-group) {
82
+ .ant-btn {
83
+ border: 1px solid #CDCDCD;
84
+ color: #5D5C5C;
85
+ // top: -100px;
86
+ width: fit-content;
87
+ min-width: 110px;
88
+ }
89
+ }
90
+ }
91
+ // button23样式
92
+ &.h-buttons-button23 {
93
+ :deep(.ant-btn-group) {
94
+ .ant-btn {
95
+ border: none;
96
+ padding: 0 !important;
97
+ color: #FFFFFF;
98
+ border-radius: 50%;
99
+ background-color: #1890FF;
100
+ margin-left: 10px;
101
+ top: -88px;
102
+ width: 30px;
103
+ height: 30px;
104
+ }
105
+ }
106
+ }
107
+ // +号样式(共享基础样式)
108
+ &.h-buttons-table-height-button23,
109
+ &.h-buttons-table-height-button23-no-transform {
110
+ :deep(.ant-btn-group) {
111
+ display: inline-flex;
112
+ align-items: center;
113
+ height: 100%;
114
+
115
+ .ant-btn {
116
+ display: inline-flex;
117
+ align-items: center;
118
+ justify-content: center;
119
+ border: none;
120
+ padding: 0 !important;
121
+ color: #FFFFFF;
122
+ border-radius: 50%;
123
+ background-color: #1890FF;
124
+ margin-left: 10px;
125
+ width: 30px;
126
+ height: 30px;
127
+ }
128
+ }
129
+ }
130
+ // 仅在有分页的场景上移
131
+ &.h-buttons-table-height-button23 {
132
+ :deep(.ant-btn-group) {
133
+ .ant-btn { transform: translateY(-100%); }
134
+ }
135
+ }
136
+ // 居中+悬停高亮的新样式
137
+ &.h-buttons-plus-center {
138
+ :deep(.ant-btn-group) {
139
+ display: flex;
140
+ align-items: center;
141
+ justify-content: center;
142
+ gap: 16px;
143
+
144
+ .ant-btn {
145
+ display: inline-flex;
146
+ align-items: center;
147
+ justify-content: center;
148
+ border: 1px solid #CDCDCD;
149
+ color: #5D5C5C;
150
+ min-width: 110px;
151
+ transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
152
+
153
+ &:hover {
154
+ background-color: #0057FE;
155
+ border-color: #0057FE;
156
+ color: #FFFFFF;
157
+ }
158
+ /* 支持通过 data-type 改变悬停颜色 */
159
+ &[data-type='success']:hover {
160
+ background-color: #34C76E;
161
+ border-color: #34C76E;
162
+ color: #FFFFFF;
163
+ }
164
+ }
165
+ }
166
+ }
167
+ // 按钮布局样式公共部分
168
+ &.h-buttons-button-left,
169
+ &.h-buttons-button-center,
170
+ &.h-buttons-button-right,
171
+ &.h-buttons-button-space-between {
172
+ :deep(.ant-btn-group) {
173
+ width: 100%;
174
+ display: flex;
175
+ flex-wrap: nowrap;
176
+ .ant-btn {
177
+ border: 1px solid #CDCDCD;
178
+ color: #5D5C5C;
179
+ width: auto;
180
+ min-width: 124px;
181
+ max-width: 170px;
182
+ white-space: nowrap;
183
+ overflow: hidden;
184
+ margin-right: 0px;
185
+ text-overflow: ellipsis;
186
+ }
187
+ }
188
+ }
189
+ &.h-buttons-max-width200 {
190
+ :deep(.ant-btn) {
191
+ max-width: 200px !important;
192
+ }
193
+ }
194
+ // button-left样式 - 按钮从左到右排列
195
+ &.h-buttons-button-left {
196
+ :deep(.ant-btn-group) {
197
+ justify-content: flex-start;
198
+ gap: 12px;
199
+ .ant-btn {
200
+ flex: 1 1 auto;
201
+ }
202
+ }
203
+ }
204
+ // button-center样式 - 按钮居中排列
205
+ &.h-buttons-button-center {
206
+ :deep(.ant-btn-group) {
207
+ justify-content: center;
208
+ gap: 12px;
209
+ .ant-btn {
210
+ flex: 1 1 auto;
211
+ }
212
+ }
213
+ }
214
+ // button-right样式 - 按钮从右到左排列
215
+ &.h-buttons-button-right {
216
+ :deep(.ant-btn-group) {
217
+ justify-content: flex-end;
218
+ gap: 12px;
219
+ .ant-btn {
220
+ flex: 1 1 auto;
221
+ }
222
+ }
223
+ }
224
+ // button-space-between样式 - 按钮两端对齐(两个按钮时分布在两端)
225
+ &.h-buttons-button-space-between {
226
+ :deep(.ant-btn-group) {
227
+ justify-content: space-between;
228
+ .ant-btn {
229
+ flex: 1 1 auto;
230
+ }
231
+ }
232
+ }
233
+
234
+ // button-icon-tiles样式 - 左侧彩色图标块 + 右侧文字
235
+ &.h-buttons-button-icon-tiles {
236
+ :deep(.ant-btn-group) {
237
+ width: 100%;
238
+ display: flex;
239
+ flex-wrap: wrap; // 允许自动换行
240
+ justify-content: flex-start; // 左对齐
241
+ gap: 0; // 取消统一间距
242
+
243
+ .ant-btn {
244
+ position: relative;
245
+ display: inline-flex;
246
+ align-items: center;
247
+ gap: 10px; // 控制图标与文字间距
248
+ border: 1px solid #E6E8EB;
249
+ font-size: 14px;
250
+ height: 44px;
251
+ padding: 0 10px 0 10px;
252
+ border-radius: 8px;
253
+ min-width: 116px;
254
+ box-shadow: 0 2px 0 rgba(0,0,0,0.02);
255
+ margin-right: 12px; // 用margin控制横向间距,末尾一排自然换行
256
+ }
257
+
258
+ .ant-btn .anticon {
259
+ width: 26px;
260
+ height: 26px;
261
+ display: inline-flex;
262
+ align-items: center;
263
+ justify-content: center;
264
+ border-radius: 6px;
265
+ color: #fff;
266
+ font-size: 14px;
267
+ flex: 0 0 26px; // 固定正方形,防止随文本挤压变形
268
+ box-sizing: border-box;
269
+ }
270
+
271
+ /* 默认蓝色,支持通过 data-type 改变色块(success/warning/error/default)*/
272
+ .ant-btn .anticon { background: #3FA7FF; }
273
+ .ant-btn[data-type='success'] .anticon { background: #34C76E; }
274
+ .ant-btn[data-type='warning'] .anticon { background: #FFA940; }
275
+ .ant-btn[data-type='error'] .anticon { background: #FF7875; }
276
+ .ant-btn[disabled] .anticon { background: #BFBFBF; }
277
+
278
+ /* 图标与文字间距在有图标时更自然 */
279
+ .ant-btn > .anticon + span { margin-left: 10px; }
280
+ }
281
+ }
282
+ // 水印图标与按钮容器布局调整
283
+ &.h-buttons-button-watermark-icon {
284
+ :deep(.watermark-icon) { transform: translate(-50%, -54%) !important; }
285
+ :deep(.x-button) { display: flex !important; }
286
+ :deep(.ant-btn-group) {
287
+ margin: 0 auto;
288
+ display: block;
289
+ }
290
+ }
291
+ &.h-buttons-0padding-button {
292
+ padding: 0px 4px;
293
+ }
294
+ // button25样式 用于会诊申请侧边栏按钮样式
295
+ &.h-buttons-button25 {
296
+ :deep(.x-buttons) {
297
+ .ant-btn-group {
298
+ width: 173px;
299
+ justify-content: space-between;
300
+
301
+ .ant-btn {
302
+ width: 173px;
303
+ }
304
+ }
305
+ }
306
+ }
307
+ // 居中样式 用于门诊收费左侧按钮样式(三个按钮居中样式)
308
+ &.h-buttons-out-button {
309
+ :deep(.x-buttons) {
310
+ margin-top: 0vw;
311
+ display: flex;
312
+ justify-content: center;
313
+ .ant-btn-group {
314
+ display: flex;
315
+ flex-wrap: nowrap;
316
+ gap: 12px;
317
+ .ant-btn {
318
+ box-sizing: border-box;
319
+ margin-right: 0px;
320
+ width: auto;
321
+ min-width: 130px;
322
+ white-space: nowrap;
323
+ overflow: hidden;
324
+ text-overflow: ellipsis;
325
+ }
326
+ }
327
+ }
328
+ }
329
+ // button15样式 - 垂直排列的深色按钮组
330
+ &.h-buttons-button15 {
331
+ :deep(.x-buttons) {
332
+ margin-top: -22px;
333
+ .ant-btn-group {
334
+ flex-direction: column; /* 按钮垂直排列 */
335
+ display: flex; /* 启用flex布局 */
336
+ gap: 6px; /* 按钮间距 */
337
+ .ant-btn {
338
+ border: none; /* 移除边框 */
339
+ color: #FFFFFF; /* 字体颜色 */
340
+ background-color: #5D5C5C; /* 背景色 */
341
+ box-sizing: border-box; /* 盒模型 */
342
+ left: 12px; /* 左偏移 */
343
+ width: 280px; /* 宽度 */
344
+ }
345
+ }
346
+ }
347
+ }
348
+ // button2样式
349
+ &.h-buttons-button2 {
350
+ :deep(.x-buttons) {
351
+ margin: -20px 6px -20px 6px;
352
+ .ant-btn-group {
353
+ width: 100%;
354
+ justify-content: space-between;
355
+ display: flex; /* 确保flex布局 */
356
+ flex-wrap: nowrap; /* 防止换行 */
357
+ .ant-btn {
358
+ border-radius: 6px; /* 边框圆角 */
359
+ border: none; /* 移除边框 */
360
+ flex: 0 0 46%; /* flex-grow: 0, flex-shrink: 0, flex-basis: 46% */
361
+ min-width: 0; /* 覆盖可能的默认最小宽度 */
362
+ font-size: 16px; /* 字体大小 */
363
+ height: 32px; /* 高度 */
364
+ color: #FFFFFF; /* 字体颜色 */
365
+ background-color: #1890FF; /* 背景颜色 */
366
+ }
367
+ }
368
+ }
369
+ }
370
+ }
371
+ </style>