vue2-client 1.22.26 → 1.22.28
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.
- package/.env.his +19 -19
- package/.history/.eslintrc_20260521171150.js +74 -0
- package/.history/.eslintrc_20260521171213.js +74 -0
- package/.history/src/base-client/components/common/HIS/HAddNativeForm/HAddNativeForm_20260601154443.vue +726 -0
- package/.history/src/base-client/components/common/HIS/HAddNativeForm/HAddNativeForm_20260601154700.vue +478 -0
- package/.history/src/base-client/components/common/HIS/HButtons/HButtons_20260611152602.vue +755 -0
- package/.history/src/base-client/components/common/HIS/HButtons/HButtons_20260702161223.vue +748 -0
- package/.history/src/base-client/components/common/HIS/HButtons/HButtons_20260702163310.vue +832 -0
- package/.history/src/base-client/components/common/HIS/HButtons/HButtons_20260702163324.vue +748 -0
- package/.history/src/base-client/components/common/HIS/HButtons/HButtons_20260702165416.vue +748 -0
- package/.history/src/base-client/components/common/HIS/HButtons/HButtons_20260702174939.vue +793 -0
- package/.history/src/base-client/components/common/HIS/HForm/HForm_20260702115430.vue +1463 -0
- package/.history/src/base-client/components/common/HIS/HFormTable/HFormTable_20260310142713.vue +512 -0
- package/.history/src/base-client/components/common/HIS/HFormTable/HFormTable_20260310145118.vue +511 -0
- package/.history/src/base-client/components/common/HIS/HFormTable/HFormTable_20260311094834.vue +696 -0
- package/.history/src/base-client/components/common/HIS/HFormTable/HFormTable_20260320143028.vue +693 -0
- package/.history/src/base-client/components/common/HIS/HFormTable/HFormTable_20260409101450.vue +677 -0
- package/.history/src/base-client/components/common/HIS/HTab/HTab_20260625173703.vue +767 -0
- package/.history/src/base-client/components/common/HIS/HTab/HTab_20260626112425.vue +803 -0
- package/.history/src/base-client/components/common/XAddNativeForm/XAddNativeForm_20260626173854.vue +1522 -0
- package/.history/src/base-client/components/common/XCollapse/XCollapse_20260703180349.vue +862 -0
- package/.history/src/base-client/components/common/XCollapse/XCollapse_20260703180623.vue +862 -0
- package/.history/src/base-client/components/common/XCollapse/XCollapse_20260703180702.vue +842 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20260703101840.vue +1621 -0
- package/.history/src/base-client/components/common/XMarkdownViewer/XMarkdownViewer_20260519140403.vue +643 -0
- package/.history/src/base-client/components/common/XMarkdownViewer/XMarkdownViewer_20260519140829.vue +628 -0
- package/.history/src/base-client/components/common/XMarkdownViewer/demo_20260519142824.vue +104 -0
- package/.history/src/base-client/components/common/XMarkdownViewer/demo_20260519143155.vue +102 -0
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20260703180412.vue +1102 -0
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20260703180623.vue +1093 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20260309171231.vue +1241 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20260309171441.vue +1223 -0
- package/.history/src/base-client/components/his/HAi/HAi_20260612174826.vue +472 -0
- package/.history/src/base-client/components/his/HAi/HAi_20260612175839.vue +538 -0
- package/.history/src/base-client/components/his/HAi/HAi_20260615103331.vue +650 -0
- package/.history/src/base-client/components/his/HAi/HAi_20260618140214.vue +1396 -0
- package/.history/src/base-client/components/his/HAi/HAi_20260618140556.vue +1396 -0
- package/.history/src/base-client/components/his/XHDescriptions/XHDescriptions_20260424134504.vue +1469 -0
- package/.history/src/base-client/components/his/XRadio/XRadio_20260702140351.vue +774 -0
- package/.history/src/base-client/components/his/XRadio/XRadio_20260702140441.vue +774 -0
- package/.history/src/base-client/components/his/XSidebar/XSidebar_20260610171133.vue +788 -0
- package/.history/src/base-client/components/his/XSidebar/XSidebar_20260610171151.vue +780 -0
- package/.history/src/base-client/components/his/XTransfer/XTransfer_20260511170841.vue +585 -0
- package/.history/src/base-client/components/his/XTransfer/XTransfer_20260511171138.vue +787 -0
- package/.history/src/base-client/components/his/XTransfer/XTransfer_20260512141830.vue +739 -0
- package/.history/src/components/STable/index_20260409155138.js +806 -0
- package/.history/src/components/STable/index_20260409155218.js +814 -0
- package/.history/src/expression/core/Expression_20260305164427.js +1371 -0
- package/.history/src/expression/core/Expression_20260305170258.js +1358 -0
- package/.history/src/expression/core/Program_20260305111830.js +944 -0
- package/.history/src/expression/core/Program_20260305112041.js +931 -0
- package/.history/src/logic/LogicRunner_20260304154306.js +170 -0
- package/.history/src/logic/LogicRunner_20260304155553.js +112 -0
- package/.history/src/logic/LogicRunner_20260305105834.js +112 -0
- package/.history/src/logic/LogicRunner_20260305112718.js +129 -0
- package/.history/src/logic/LogicRunner_20260305182436.js +133 -0
- package/.history/src/logic/LogicRunner_20260306151301.js +213 -0
- package/.history/src/logic/LogicRunner_20260306152419.js +213 -0
- package/.history/src/logic/plugins/common/DateTools_20260305154159.js +61 -0
- package/.history/src/logic/plugins/common/DateTools_20260305154217.js +44 -0
- package/.history/src/logic/plugins/common/DateTools_20260305161014.js +44 -0
- package/.history/src/logic/plugins/common/HttpTools_20260305164352.js +80 -0
- package/.history/src/logic/plugins/common/HttpTools_20260305170258.js +75 -0
- package/.history/src/logic/plugins/common/HttpTools_20260305171634.js +75 -0
- package/.history/src/logic/plugins/common/HttpTools_20260306152419.js +72 -0
- package/.history/src/services/api/restTools_20260427142149.js +245 -0
- package/.history/src/services/api/restTools_20260427142853.js +230 -0
- package/.history/src/services/api/restTools_20260519135558.js +230 -0
- package/.history/src/services/api/restTools_20260519140825.js +230 -0
- package/.history/src/services/api/restTools_20260519151223.js +230 -0
- package/.history/src/theme/global_20260703101634.less +370 -0
- package/.history/src/theme/global_20260703101840.less +337 -0
- package/.history/src/theme/global_20260703104511.less +337 -0
- package/.history/src/utils/indexedDB_20260306150918.js +593 -0
- package/.history/src/utils/indexedDB_20260306151301.js +586 -0
- package/.idea/codeStyles/Project.xml +62 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/misc.xml +5 -87
- package/docs/XCollapse/345/261/225/345/274/200/347/251/272/347/231/275/346/216/222/346/237/245/350/256/260/345/275/225.md +153 -0
- package/package.json +1 -1
- package/preview-input-box.html +180 -0
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +775 -748
- package/src/base-client/components/common/HIS/HForm/HForm.vue +1708 -1186
- package/src/base-client/components/common/HIS/HTab/HTab.vue +790 -790
- package/src/base-client/components/common/XMarkdownViewer/demo.vue +102 -102
- package/src/base-client/components/his/XRadio/XRadio.vue +73 -1
- package/src/base-client/components/his/XTitle/XTitle.vue +63 -3
- package/src/base-client/components/his/XTransfer/index.md +327 -327
- package/src/services/user.js +1 -0
- package/.idea/.name +0 -1
- package/.idea/MarsCodeWorkspaceAppSettings.xml +0 -8
- package/.idea/deployment.xml +0 -14
- package/.idea/gradle.xml +0 -7
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/libraries/contour_plot.xml +0 -9
- package/.idea/material_theme_project_new.xml +0 -18
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
@import '~ant-design-vue/es/style/themes/default.less';
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body,
|
|
5
|
+
#app,
|
|
6
|
+
#root {
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.height-fill {
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.bg-white {
|
|
15
|
+
background: #fff;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.colorWeak {
|
|
19
|
+
filter: invert(80%);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ant-layout.layout-basic {
|
|
23
|
+
height: 100vh;
|
|
24
|
+
min-height: 100vh;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
canvas {
|
|
28
|
+
display: block;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
body {
|
|
32
|
+
text-rendering: optimizeLegibility;
|
|
33
|
+
-webkit-font-smoothing: antialiased;
|
|
34
|
+
-moz-osx-font-smoothing: grayscale;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
ul,
|
|
38
|
+
ol {
|
|
39
|
+
list-style: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 数据列表 样式
|
|
43
|
+
.table-alert {
|
|
44
|
+
margin-bottom: 16px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// 数据列表 操作
|
|
48
|
+
.table-operator {
|
|
49
|
+
margin-bottom: 18px;
|
|
50
|
+
|
|
51
|
+
button {
|
|
52
|
+
margin-right: 8px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 导出组件选择框
|
|
57
|
+
#export-checkbox-group .ant-checkbox-group-item {
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
width: 33.33333333%;
|
|
60
|
+
min-height: 1px;
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
margin: 2px 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#XAddNativeForm {
|
|
66
|
+
// 日期选择框的样式
|
|
67
|
+
.ant-calendar-picker {
|
|
68
|
+
min-width: 0 !important;
|
|
69
|
+
width: 100% !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// 数据列表 搜索条件 form表单样式
|
|
74
|
+
.table-page-search-wrapper {
|
|
75
|
+
.ant-form-inline {
|
|
76
|
+
.ant-form-item {
|
|
77
|
+
display: flex;
|
|
78
|
+
margin-top: 12px;
|
|
79
|
+
|
|
80
|
+
.ant-form-item-control-wrapper {
|
|
81
|
+
flex: 1 1;
|
|
82
|
+
display: inline-block;
|
|
83
|
+
vertical-align: middle;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
> .ant-form-item-label {
|
|
87
|
+
line-height: 32px;
|
|
88
|
+
padding-right: 8px;
|
|
89
|
+
width: auto;
|
|
90
|
+
// 保留lable文本中的空格和换行
|
|
91
|
+
> label {
|
|
92
|
+
white-space: pre;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ant-form-item-control {
|
|
97
|
+
height: 32px;
|
|
98
|
+
line-height: 32px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// 日期选择框的样式
|
|
104
|
+
.ant-calendar-picker {
|
|
105
|
+
min-width: 0;
|
|
106
|
+
width: 100% !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.table-page-search-submitButtons {
|
|
110
|
+
display: block;
|
|
111
|
+
margin: 12px 0;
|
|
112
|
+
float: right;
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
// 按钮间隔
|
|
115
|
+
.detailed-condition ~ button {
|
|
116
|
+
margin-left: 8px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ant-checkbox-inner,
|
|
122
|
+
.ant-checkbox-input,
|
|
123
|
+
.ant-checkbox {
|
|
124
|
+
width: 20px;
|
|
125
|
+
height: 20px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.el-checkbox__inner {
|
|
129
|
+
width: 16px !important;
|
|
130
|
+
height: 16px !important;
|
|
131
|
+
margin-top: 1px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.el-checkbox__inner::after {
|
|
135
|
+
height: 9px !important;
|
|
136
|
+
left: 5px !important;
|
|
137
|
+
}
|
|
138
|
+
.el-checkbox__inner::before {
|
|
139
|
+
top: 6px !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.el-checkbox__input .is-checked {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ant-layout-footer {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// STable 表格行样式 - 同时应用于主表格和固定列
|
|
153
|
+
.ant-table-tbody,
|
|
154
|
+
.ant-table-fixed-left .ant-table-tbody,
|
|
155
|
+
.ant-table-fixed-right .ant-table-tbody {
|
|
156
|
+
// 统一为所有行添加平滑过渡效果
|
|
157
|
+
tr {
|
|
158
|
+
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
159
|
+
|
|
160
|
+
td {
|
|
161
|
+
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// 成功样式 - 绿色
|
|
166
|
+
.row-style-success {
|
|
167
|
+
background-color: rgba(82, 196, 26, 0.1) !important;
|
|
168
|
+
|
|
169
|
+
// 使用 Ant Design 自动添加的 .ant-table-row-hover 类名
|
|
170
|
+
&.ant-table-row-hover,
|
|
171
|
+
&.row-clicked {
|
|
172
|
+
background-color: rgba(82, 196, 26, 0.2) !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
td {
|
|
176
|
+
background-color: transparent !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// 超链接样式 - 使用更深的绿色
|
|
180
|
+
a {
|
|
181
|
+
color: #389e0d !important; // 深绿色
|
|
182
|
+
transition: color 0.2s ease;
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
color: #237804 !important; // 更深的绿色
|
|
186
|
+
text-decoration: underline;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&:active {
|
|
190
|
+
color: #135200 !important; // 最深的绿色
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// 警告样式 - 黄色
|
|
196
|
+
.row-style-warning,
|
|
197
|
+
.row-style-warn {
|
|
198
|
+
background-color: rgba(250, 173, 20, 0.1) !important;
|
|
199
|
+
|
|
200
|
+
&.ant-table-row-hover,
|
|
201
|
+
&.row-clicked {
|
|
202
|
+
background-color: rgba(250, 173, 20, 0.2) !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
td {
|
|
206
|
+
background-color: transparent !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// 超链接样式 - 使用更深的橙黄色
|
|
210
|
+
a {
|
|
211
|
+
color: #d48806 !important; // 深橙黄色
|
|
212
|
+
transition: color 0.2s ease;
|
|
213
|
+
|
|
214
|
+
&:hover {
|
|
215
|
+
color: #ad6800 !important; // 更深的橙黄色
|
|
216
|
+
text-decoration: underline;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:active {
|
|
220
|
+
color: #874d00 !important; // 最深的橙黄色
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// 错误/危险样式 - 红色
|
|
226
|
+
.row-style-error,
|
|
227
|
+
.row-style-danger {
|
|
228
|
+
background-color: rgba(245, 34, 47, 0.1) !important;
|
|
229
|
+
|
|
230
|
+
&.ant-table-row-hover,
|
|
231
|
+
&.row-clicked {
|
|
232
|
+
background-color: rgba(245, 34, 47, 0.2) !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
td {
|
|
236
|
+
background-color: transparent !important;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// 超链接样式 - 使用更深的红色
|
|
240
|
+
a {
|
|
241
|
+
color: #cf1322 !important; // 深红色
|
|
242
|
+
transition: color 0.2s ease;
|
|
243
|
+
|
|
244
|
+
&:hover {
|
|
245
|
+
color: #a8071a !important; // 更深的红色
|
|
246
|
+
text-decoration: underline;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&:active {
|
|
250
|
+
color: #820014 !important; // 最深的红色
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// 魔法样式 - 紫色
|
|
256
|
+
.row-style-magic {
|
|
257
|
+
background-color: rgba(114, 46, 209, 0.1) !important;
|
|
258
|
+
|
|
259
|
+
&.ant-table-row-hover,
|
|
260
|
+
&.row-clicked {
|
|
261
|
+
background-color: rgba(114, 46, 209, 0.2) !important;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
td {
|
|
265
|
+
background-color: transparent !important;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// 超链接样式 - 使用更深的紫色
|
|
269
|
+
a {
|
|
270
|
+
color: #531dab !important; // 深紫色
|
|
271
|
+
transition: color 0.2s ease;
|
|
272
|
+
|
|
273
|
+
&:hover {
|
|
274
|
+
color: #391085 !important; // 更深的紫色
|
|
275
|
+
text-decoration: underline;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
&:active {
|
|
279
|
+
color: #22075e !important; // 最深的紫色
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
// 默认信息样式
|
|
285
|
+
.row-style-info {
|
|
286
|
+
&.ant-table-row-hover,
|
|
287
|
+
&.row-clicked {
|
|
288
|
+
// 使用主题色的 10% 透明度
|
|
289
|
+
background-color: fade(@primary-color, 10%) !important;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
td {
|
|
293
|
+
background-color: transparent !important;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@media (max-width: @screen-xs) {
|
|
299
|
+
.ant-table {
|
|
300
|
+
width: 100%;
|
|
301
|
+
overflow-x: auto;
|
|
302
|
+
|
|
303
|
+
&-thead > tr,
|
|
304
|
+
&-tbody > tr {
|
|
305
|
+
> th,
|
|
306
|
+
> td {
|
|
307
|
+
white-space: pre;
|
|
308
|
+
|
|
309
|
+
> span {
|
|
310
|
+
display: block;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
span {
|
|
318
|
+
svg {
|
|
319
|
+
display: block !important;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
button {
|
|
324
|
+
svg {
|
|
325
|
+
display: inline-block !important;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
i {
|
|
330
|
+
svg {
|
|
331
|
+
display: block !important;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.ant-table {
|
|
336
|
+
color: rgba(0, 0, 0, 0.8) !important;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
// HForm 多选框组换行样式
|
|
340
|
+
#XAddNativeForm {
|
|
341
|
+
.ant-checkbox-group {
|
|
342
|
+
display: flex !important;
|
|
343
|
+
flex-wrap: wrap !important;
|
|
344
|
+
width: 100% !important;
|
|
345
|
+
min-height: 30px !important;
|
|
346
|
+
align-items: center !important;
|
|
347
|
+
|
|
348
|
+
.ant-checkbox-wrapper {
|
|
349
|
+
display: inline-flex !important;
|
|
350
|
+
align-items: center !important;
|
|
351
|
+
margin-right: 16px !important;
|
|
352
|
+
flex-shrink: 0 !important;
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.ant-radio-group {
|
|
357
|
+
display: flex !important;
|
|
358
|
+
flex-wrap: wrap !important;
|
|
359
|
+
width: 100% !important;
|
|
360
|
+
min-height: 30px !important;
|
|
361
|
+
align-items: center !important;
|
|
362
|
+
|
|
363
|
+
.ant-radio-wrapper {
|
|
364
|
+
display: inline-flex !important;
|
|
365
|
+
align-items: center !important;
|
|
366
|
+
margin-right: 16px !important;
|
|
367
|
+
flex-shrink: 0 !important;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
}
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
@import '~ant-design-vue/es/style/themes/default.less';
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body,
|
|
5
|
+
#app,
|
|
6
|
+
#root {
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.height-fill {
|
|
11
|
+
height: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.bg-white {
|
|
15
|
+
background: #fff;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.colorWeak {
|
|
19
|
+
filter: invert(80%);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ant-layout.layout-basic {
|
|
23
|
+
height: 100vh;
|
|
24
|
+
min-height: 100vh;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
canvas {
|
|
28
|
+
display: block;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
body {
|
|
32
|
+
text-rendering: optimizeLegibility;
|
|
33
|
+
-webkit-font-smoothing: antialiased;
|
|
34
|
+
-moz-osx-font-smoothing: grayscale;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
ul,
|
|
38
|
+
ol {
|
|
39
|
+
list-style: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// 数据列表 样式
|
|
43
|
+
.table-alert {
|
|
44
|
+
margin-bottom: 16px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// 数据列表 操作
|
|
48
|
+
.table-operator {
|
|
49
|
+
margin-bottom: 18px;
|
|
50
|
+
|
|
51
|
+
button {
|
|
52
|
+
margin-right: 8px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 导出组件选择框
|
|
57
|
+
#export-checkbox-group .ant-checkbox-group-item {
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
width: 33.33333333%;
|
|
60
|
+
min-height: 1px;
|
|
61
|
+
font-weight: 700;
|
|
62
|
+
margin: 2px 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
#XAddNativeForm {
|
|
66
|
+
// 日期选择框的样式
|
|
67
|
+
.ant-calendar-picker {
|
|
68
|
+
min-width: 0 !important;
|
|
69
|
+
width: 100% !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// 数据列表 搜索条件 form表单样式
|
|
74
|
+
.table-page-search-wrapper {
|
|
75
|
+
.ant-form-inline {
|
|
76
|
+
.ant-form-item {
|
|
77
|
+
display: flex;
|
|
78
|
+
margin-top: 12px;
|
|
79
|
+
|
|
80
|
+
.ant-form-item-control-wrapper {
|
|
81
|
+
flex: 1 1;
|
|
82
|
+
display: inline-block;
|
|
83
|
+
vertical-align: middle;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
> .ant-form-item-label {
|
|
87
|
+
line-height: 32px;
|
|
88
|
+
padding-right: 8px;
|
|
89
|
+
width: auto;
|
|
90
|
+
// 保留lable文本中的空格和换行
|
|
91
|
+
> label {
|
|
92
|
+
white-space: pre;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ant-form-item-control {
|
|
97
|
+
height: 32px;
|
|
98
|
+
line-height: 32px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// 日期选择框的样式
|
|
104
|
+
.ant-calendar-picker {
|
|
105
|
+
min-width: 0;
|
|
106
|
+
width: 100% !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.table-page-search-submitButtons {
|
|
110
|
+
display: block;
|
|
111
|
+
margin: 12px 0;
|
|
112
|
+
float: right;
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
// 按钮间隔
|
|
115
|
+
.detailed-condition ~ button {
|
|
116
|
+
margin-left: 8px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.ant-checkbox-inner,
|
|
122
|
+
.ant-checkbox-input,
|
|
123
|
+
.ant-checkbox {
|
|
124
|
+
width: 20px;
|
|
125
|
+
height: 20px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.el-checkbox__inner {
|
|
129
|
+
width: 16px !important;
|
|
130
|
+
height: 16px !important;
|
|
131
|
+
margin-top: 1px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.el-checkbox__inner::after {
|
|
135
|
+
height: 9px !important;
|
|
136
|
+
left: 5px !important;
|
|
137
|
+
}
|
|
138
|
+
.el-checkbox__inner::before {
|
|
139
|
+
top: 6px !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.el-checkbox__input .is-checked {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ant-layout-footer {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// STable 表格行样式 - 同时应用于主表格和固定列
|
|
153
|
+
.ant-table-tbody,
|
|
154
|
+
.ant-table-fixed-left .ant-table-tbody,
|
|
155
|
+
.ant-table-fixed-right .ant-table-tbody {
|
|
156
|
+
// 统一为所有行添加平滑过渡效果
|
|
157
|
+
tr {
|
|
158
|
+
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
159
|
+
|
|
160
|
+
td {
|
|
161
|
+
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// 成功样式 - 绿色
|
|
166
|
+
.row-style-success {
|
|
167
|
+
background-color: rgba(82, 196, 26, 0.1) !important;
|
|
168
|
+
|
|
169
|
+
// 使用 Ant Design 自动添加的 .ant-table-row-hover 类名
|
|
170
|
+
&.ant-table-row-hover,
|
|
171
|
+
&.row-clicked {
|
|
172
|
+
background-color: rgba(82, 196, 26, 0.2) !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
td {
|
|
176
|
+
background-color: transparent !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// 超链接样式 - 使用更深的绿色
|
|
180
|
+
a {
|
|
181
|
+
color: #389e0d !important; // 深绿色
|
|
182
|
+
transition: color 0.2s ease;
|
|
183
|
+
|
|
184
|
+
&:hover {
|
|
185
|
+
color: #237804 !important; // 更深的绿色
|
|
186
|
+
text-decoration: underline;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&:active {
|
|
190
|
+
color: #135200 !important; // 最深的绿色
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
// 警告样式 - 黄色
|
|
196
|
+
.row-style-warning,
|
|
197
|
+
.row-style-warn {
|
|
198
|
+
background-color: rgba(250, 173, 20, 0.1) !important;
|
|
199
|
+
|
|
200
|
+
&.ant-table-row-hover,
|
|
201
|
+
&.row-clicked {
|
|
202
|
+
background-color: rgba(250, 173, 20, 0.2) !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
td {
|
|
206
|
+
background-color: transparent !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// 超链接样式 - 使用更深的橙黄色
|
|
210
|
+
a {
|
|
211
|
+
color: #d48806 !important; // 深橙黄色
|
|
212
|
+
transition: color 0.2s ease;
|
|
213
|
+
|
|
214
|
+
&:hover {
|
|
215
|
+
color: #ad6800 !important; // 更深的橙黄色
|
|
216
|
+
text-decoration: underline;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:active {
|
|
220
|
+
color: #874d00 !important; // 最深的橙黄色
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// 错误/危险样式 - 红色
|
|
226
|
+
.row-style-error,
|
|
227
|
+
.row-style-danger {
|
|
228
|
+
background-color: rgba(245, 34, 47, 0.1) !important;
|
|
229
|
+
|
|
230
|
+
&.ant-table-row-hover,
|
|
231
|
+
&.row-clicked {
|
|
232
|
+
background-color: rgba(245, 34, 47, 0.2) !important;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
td {
|
|
236
|
+
background-color: transparent !important;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
// 超链接样式 - 使用更深的红色
|
|
240
|
+
a {
|
|
241
|
+
color: #cf1322 !important; // 深红色
|
|
242
|
+
transition: color 0.2s ease;
|
|
243
|
+
|
|
244
|
+
&:hover {
|
|
245
|
+
color: #a8071a !important; // 更深的红色
|
|
246
|
+
text-decoration: underline;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&:active {
|
|
250
|
+
color: #820014 !important; // 最深的红色
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
// 魔法样式 - 紫色
|
|
256
|
+
.row-style-magic {
|
|
257
|
+
background-color: rgba(114, 46, 209, 0.1) !important;
|
|
258
|
+
|
|
259
|
+
&.ant-table-row-hover,
|
|
260
|
+
&.row-clicked {
|
|
261
|
+
background-color: rgba(114, 46, 209, 0.2) !important;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
td {
|
|
265
|
+
background-color: transparent !important;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// 超链接样式 - 使用更深的紫色
|
|
269
|
+
a {
|
|
270
|
+
color: #531dab !important; // 深紫色
|
|
271
|
+
transition: color 0.2s ease;
|
|
272
|
+
|
|
273
|
+
&:hover {
|
|
274
|
+
color: #391085 !important; // 更深的紫色
|
|
275
|
+
text-decoration: underline;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
&:active {
|
|
279
|
+
color: #22075e !important; // 最深的紫色
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
// 默认信息样式
|
|
285
|
+
.row-style-info {
|
|
286
|
+
&.ant-table-row-hover,
|
|
287
|
+
&.row-clicked {
|
|
288
|
+
// 使用主题色的 10% 透明度
|
|
289
|
+
background-color: fade(@primary-color, 10%) !important;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
td {
|
|
293
|
+
background-color: transparent !important;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@media (max-width: @screen-xs) {
|
|
299
|
+
.ant-table {
|
|
300
|
+
width: 100%;
|
|
301
|
+
overflow-x: auto;
|
|
302
|
+
|
|
303
|
+
&-thead > tr,
|
|
304
|
+
&-tbody > tr {
|
|
305
|
+
> th,
|
|
306
|
+
> td {
|
|
307
|
+
white-space: pre;
|
|
308
|
+
|
|
309
|
+
> span {
|
|
310
|
+
display: block;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
span {
|
|
318
|
+
svg {
|
|
319
|
+
display: block !important;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
button {
|
|
324
|
+
svg {
|
|
325
|
+
display: inline-block !important;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
i {
|
|
330
|
+
svg {
|
|
331
|
+
display: block !important;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.ant-table {
|
|
336
|
+
color: rgba(0, 0, 0, 0.8) !important;
|
|
337
|
+
}
|