zmdms-webui 2.2.6 → 2.2.8
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/dist/es/applayoutheader/setting/userInfo.js +5 -3
- package/dist/es/applayoutsider/menu/SearchInput.js +6 -4
- package/dist/es/applayoutsider/menu/index.js +1 -1
- package/dist/es/dynamicsetting/dynamicDrawer.js +1 -1
- package/dist/index.dark.css +1 -1
- package/dist/less/components/Alert/style/index.less +53 -0
- package/dist/less/components/Alert/style/style.less +4 -0
- package/dist/less/components/AppLayout/style/index.less +546 -0
- package/dist/less/components/AppLayout/style/style.less +2 -0
- package/dist/less/components/AppLayout/style.less +5 -0
- package/dist/less/components/AuthLoading/style/index.less +15 -0
- package/dist/less/components/AuthLoading/style/style.less +2 -0
- package/dist/less/components/Button/style/index.less +160 -0
- package/dist/less/components/Button/style/style.less +5 -0
- package/dist/less/components/Cascader/style/index.less +9 -0
- package/dist/less/components/Cascader/style/style.less +2 -0
- package/dist/less/components/Collapse/style/index.less +117 -0
- package/dist/less/components/Collapse/style/style.less +2 -0
- package/dist/less/components/Container/style/index.less +64 -0
- package/dist/less/components/Container/style/style.less +2 -0
- package/dist/less/components/DatePicker/style/index.less +7 -0
- package/dist/less/components/DatePicker/style/style.less +4 -0
- package/dist/less/components/Descriptions/style/index.less +32 -0
- package/dist/less/components/Descriptions/style/style.less +5 -0
- package/dist/less/components/DetailList/style/index.less +105 -0
- package/dist/less/components/DetailList/style/style.less +2 -0
- package/dist/less/components/Differences/style/index.less +5 -0
- package/dist/less/components/Differences/style/style.less +2 -0
- package/dist/less/components/DynamicSetting/style/index.less +96 -0
- package/dist/less/components/DynamicSetting/style/style.less +2 -0
- package/dist/less/components/ElectronSignatures/style/index.less +331 -0
- package/dist/less/components/ElectronSignatures/style/style.less +1 -0
- package/dist/less/components/Footer/style/index.less +28 -0
- package/dist/less/components/Footer/style/style.less +2 -0
- package/dist/less/components/Form/style/index.less +145 -0
- package/dist/less/components/Form/style/style.less +5 -0
- package/dist/less/components/FormItem/style/index.less +456 -0
- package/dist/less/components/FormItem/style/style.less +2 -0
- package/dist/less/components/Input/style/index.less +15 -0
- package/dist/less/components/Input/style/style.less +4 -0
- package/dist/less/components/InputNumber/style/index.less +30 -0
- package/dist/less/components/InputNumber/style/style.less +4 -0
- package/dist/less/components/LeftContent/style/index.less +62 -0
- package/dist/less/components/LeftContent/style/style.less +2 -0
- package/dist/less/components/Login/style/index.less +63 -0
- package/dist/less/components/Login/style/style.less +2 -0
- package/dist/less/components/Message/style/index.less +19 -0
- package/dist/less/components/Message/style/style.less +2 -0
- package/dist/less/components/MicroLoading/style/index.less +15 -0
- package/dist/less/components/MicroLoading/style/style.less +2 -0
- package/dist/less/components/Modal/style/index.less +43 -0
- package/dist/less/components/Modal/style/style.less +2 -0
- package/dist/less/components/NotAuthPage/style/index.less +0 -0
- package/dist/less/components/NotAuthPage/style/style.less +2 -0
- package/dist/less/components/NotRoutePage/style/index.less +0 -0
- package/dist/less/components/NotRoutePage/style/style.less +2 -0
- package/dist/less/components/Pagination/style/index.less +107 -0
- package/dist/less/components/Pagination/style/style.less +5 -0
- package/dist/less/components/Placeholder/style/index.less +3 -0
- package/dist/less/components/Placeholder/style/style.less +2 -0
- package/dist/less/components/Print/style/index.less +65 -0
- package/dist/less/components/Print/style/style.less +3 -0
- package/dist/less/components/Select/style/index.less +55 -0
- package/dist/less/components/Select/style/style.less +4 -0
- package/dist/less/components/Table/style/index.less +362 -0
- package/dist/less/components/Table/style/style.less +4 -0
- package/dist/less/components/Tabs/style/index.less +118 -0
- package/dist/less/components/Tabs/style/style.less +4 -0
- package/dist/less/components/Tag/style/index.less +3 -0
- package/dist/less/components/Tag/style/style.less +4 -0
- package/dist/less/components/Title/style/index.less +54 -0
- package/dist/less/components/Title/style/style.less +2 -0
- package/dist/less/components/Tree/style/index.less +58 -0
- package/dist/less/components/Tree/style/style.less +4 -0
- package/dist/less/components/TreeSelect/style/index.less +0 -0
- package/dist/less/components/TreeSelect/style/style.less +4 -0
- package/dist/less/components/UploadList/style/index.less +61 -0
- package/dist/less/components/UploadList/style/style.less +4 -0
- package/dist/less/components/Watermark/style/index.less +7 -0
- package/dist/less/components/Watermark/style/style.less +3 -0
- package/dist/less/components/ZtTransfer/style/index.less +136 -0
- package/dist/less/components/ZtTransfer/style/style.less +2 -0
- package/dist/less/styles/default.less +100 -0
- package/dist/less/styles/index.less +86 -0
- package/dist/less/styles/reset.less +189 -0
- package/package.json +2 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@qynModalHeaderHeight: 40px;
|
|
2
|
+
|
|
3
|
+
.ztxk-modal {
|
|
4
|
+
top: 8vh;
|
|
5
|
+
.ant-modal-content {
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
> .ant-modal-close {
|
|
8
|
+
color: #333333;
|
|
9
|
+
width: @qynModalHeaderHeight;
|
|
10
|
+
height: @qynModalHeaderHeight;
|
|
11
|
+
> .ant-modal-close-x {
|
|
12
|
+
width: @qynModalHeaderHeight;
|
|
13
|
+
height: @qynModalHeaderHeight;
|
|
14
|
+
line-height: @qynModalHeaderHeight;
|
|
15
|
+
font-weight: normal;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
> .ant-modal-header {
|
|
19
|
+
padding: 9px 20px 9px 24px;
|
|
20
|
+
border-bottom: 1px solid #f0f0f0;
|
|
21
|
+
border-radius: 8px 8px 0 0;
|
|
22
|
+
> .ant-modal-title {
|
|
23
|
+
color: #333333;
|
|
24
|
+
line-height: 22px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
font-weight: normal;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
> .ant-modal-body {
|
|
30
|
+
padding: 10px;
|
|
31
|
+
// 去掉最小高度
|
|
32
|
+
// min-height: 200px;
|
|
33
|
+
// 默认不超出高度
|
|
34
|
+
max-height: 75vh;
|
|
35
|
+
overflow: auto;
|
|
36
|
+
}
|
|
37
|
+
> .ant-modal-footer {
|
|
38
|
+
text-align: center;
|
|
39
|
+
border-top: 0;
|
|
40
|
+
padding: 10px 0 10px 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.ztxk-pagination {
|
|
2
|
+
font-size: @font-size-text;
|
|
3
|
+
&.ztxk-table-pagination {
|
|
4
|
+
display: block;
|
|
5
|
+
.ant-pagination-prev {
|
|
6
|
+
border-left: 1px solid #d9d9d9;
|
|
7
|
+
}
|
|
8
|
+
.ant-pagination-options .ant-select-selector {
|
|
9
|
+
border-right: none;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.ant-pagination-total-text {
|
|
13
|
+
float: left;
|
|
14
|
+
margin-right: 0;
|
|
15
|
+
padding: 0 10px;
|
|
16
|
+
color: @link-color;
|
|
17
|
+
border: 1px solid @system;
|
|
18
|
+
border-right: 0;
|
|
19
|
+
border-radius: @border-radius-base 0 0 @border-radius-base;
|
|
20
|
+
}
|
|
21
|
+
.ant-pagination-options {
|
|
22
|
+
float: left;
|
|
23
|
+
margin-left: 0;
|
|
24
|
+
border-radius: 0;
|
|
25
|
+
.ant-select-selector {
|
|
26
|
+
border-radius: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.ant-pagination-prev {
|
|
30
|
+
margin-right: 0;
|
|
31
|
+
&.ant-pagination-disabled {
|
|
32
|
+
&:hover > button {
|
|
33
|
+
color: rgba(0, 0, 0, 0.25);
|
|
34
|
+
border: 1px solid @border-color-base;
|
|
35
|
+
border-right: 0;
|
|
36
|
+
border-left: 0;
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
background: @bg-white;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
&:hover {
|
|
42
|
+
> button {
|
|
43
|
+
border: 0;
|
|
44
|
+
color: @bg-white;
|
|
45
|
+
background: @primary-color;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
> button {
|
|
49
|
+
border-right: 0;
|
|
50
|
+
border-left: 0;
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
.ant-pagination-item {
|
|
55
|
+
margin-right: 0;
|
|
56
|
+
border-radius: 0;
|
|
57
|
+
border-right: 0;
|
|
58
|
+
&:focus,
|
|
59
|
+
&:hover,
|
|
60
|
+
&.ant-pagination-item-active {
|
|
61
|
+
border: 0;
|
|
62
|
+
color: @bg-white;
|
|
63
|
+
background: @primary-color;
|
|
64
|
+
> a {
|
|
65
|
+
color: @bg-white;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
.ant-pagination-jump-prev {
|
|
70
|
+
margin-right: 0;
|
|
71
|
+
border-left: 1px solid @border-color-base;
|
|
72
|
+
border-radius: 0;
|
|
73
|
+
}
|
|
74
|
+
.ant-pagination-jump-next {
|
|
75
|
+
margin-right: 0;
|
|
76
|
+
border-left: 1px solid @border-color-base;
|
|
77
|
+
border-radius: 0;
|
|
78
|
+
}
|
|
79
|
+
.ant-pagination-next {
|
|
80
|
+
&.ant-pagination-disabled {
|
|
81
|
+
&:hover > button {
|
|
82
|
+
color: rgba(0, 0, 0, 0.25);
|
|
83
|
+
border: 1px solid @border-color-base;
|
|
84
|
+
cursor: not-allowed;
|
|
85
|
+
background: @bg-white;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
&:hover {
|
|
89
|
+
> button {
|
|
90
|
+
border: 0;
|
|
91
|
+
color: @bg-white;
|
|
92
|
+
background: @primary-color;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
> button {
|
|
96
|
+
border-radius: 0 @border-radius-base @border-radius-base 0;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.ant-select-selection-item {
|
|
100
|
+
// UI审查 分页器颜色修改 lint-color => text-color
|
|
101
|
+
color: @text-color;
|
|
102
|
+
}
|
|
103
|
+
.ant-select-item {
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
font-size: @font-size-base;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.ztxk-print {
|
|
2
|
+
.ztxk-print--header {
|
|
3
|
+
padding: @padding-base;
|
|
4
|
+
position: sticky;
|
|
5
|
+
top: 0;
|
|
6
|
+
background-color: #fff;
|
|
7
|
+
z-index: 100;
|
|
8
|
+
// 每项定义一个边距
|
|
9
|
+
.ph__item,
|
|
10
|
+
button {
|
|
11
|
+
margin-left: 10px;
|
|
12
|
+
&:first-child {
|
|
13
|
+
margin-left: 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
.ztxk-print--content {
|
|
18
|
+
width: 100%;
|
|
19
|
+
min-height: 500px;
|
|
20
|
+
font-family: microsoft-yahei;
|
|
21
|
+
.ztxk-print--main {
|
|
22
|
+
width: 1000px;
|
|
23
|
+
margin: auto;
|
|
24
|
+
.ztxk-print--page {
|
|
25
|
+
min-height: 200px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.ztxk-print--page-break__before {
|
|
30
|
+
display: block;
|
|
31
|
+
page-break-before: always;
|
|
32
|
+
}
|
|
33
|
+
.ztxk-print--page__pagination {
|
|
34
|
+
text-align: center;
|
|
35
|
+
margin: @margin-base 0;
|
|
36
|
+
}
|
|
37
|
+
.ztxk-print--page-break__after {
|
|
38
|
+
display: block;
|
|
39
|
+
page-break-after: always;
|
|
40
|
+
&:last-child {
|
|
41
|
+
display: none;
|
|
42
|
+
page-break-after: auto;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media print {
|
|
48
|
+
.non-printable {
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
display: none;
|
|
51
|
+
}
|
|
52
|
+
// 这个样式会影响整个页面
|
|
53
|
+
// body * {
|
|
54
|
+
// visibility: hidden;
|
|
55
|
+
// }
|
|
56
|
+
.ztxk-print--content,
|
|
57
|
+
.ztxk-print--content * {
|
|
58
|
+
visibility: visible;
|
|
59
|
+
}
|
|
60
|
+
footer.ztxk-print--page__pagination {
|
|
61
|
+
position: fixed;
|
|
62
|
+
bottom: 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.ztxk-select--feed-item {
|
|
2
|
+
font-size: 12px;
|
|
3
|
+
line-height: 16px;
|
|
4
|
+
opacity: 0.86;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
text-overflow: ellipsis;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ztxk-tabs.ztxk-select--tabs {
|
|
12
|
+
.ant-tabs-nav {
|
|
13
|
+
margin-bottom: 0 !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.rc-virtual-list-scrollbar.rc-virtual-list-scrollbar-vertical {
|
|
18
|
+
visibility: visible !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ztxk-select--list {
|
|
22
|
+
.ant-list-item {
|
|
23
|
+
padding: 5px 12px;
|
|
24
|
+
min-height: 32px;
|
|
25
|
+
color: #333;
|
|
26
|
+
font-size: 13px;
|
|
27
|
+
line-height: 22px;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
border-bottom: none;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
align-items: flex-start;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
white-space: nowrap;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: #f5f5f5;
|
|
38
|
+
}
|
|
39
|
+
.ztxk-select--item-text {
|
|
40
|
+
flex: 1;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
text-overflow: ellipsis;
|
|
44
|
+
}
|
|
45
|
+
.ztxk-select--item-icon {
|
|
46
|
+
color: #5b76f6;
|
|
47
|
+
margin-top: 5px;
|
|
48
|
+
}
|
|
49
|
+
&.active {
|
|
50
|
+
color: #333333;
|
|
51
|
+
font-weight: 600;
|
|
52
|
+
background-color: #f0f5ff;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
.ztxk-table {
|
|
2
|
+
/* 基础样式 */
|
|
3
|
+
// 表头颜色设置
|
|
4
|
+
.ant-table-thead > tr > th {
|
|
5
|
+
background: @title-head-bg;
|
|
6
|
+
.ant-table-column-sorters {
|
|
7
|
+
padding: 0;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
// 这种方式修复表格无数据不出现滚动条,会导致固定列时,列头不对齐
|
|
11
|
+
// .ant-table-scroll-horizontal {
|
|
12
|
+
// 修复:表格数据不够撑开滚动条时,表格body也会预留滚动条位置
|
|
13
|
+
// .ant-table-body {
|
|
14
|
+
// overflow: auto !important;
|
|
15
|
+
// }
|
|
16
|
+
// 修复:表格无数据时,出现滚动条
|
|
17
|
+
// .ant-table-expanded-row-fixed {
|
|
18
|
+
// margin: 0 !important;
|
|
19
|
+
// }
|
|
20
|
+
// }
|
|
21
|
+
// 让一些元素能换行显示
|
|
22
|
+
.ant-table-tbody > tr > td {
|
|
23
|
+
button {
|
|
24
|
+
overflow-wrap: break-word;
|
|
25
|
+
white-space: pre-wrap;
|
|
26
|
+
word-break: break-all;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
// 行hover
|
|
30
|
+
.ant-table-tbody > tr.ant-table-row:hover > td {
|
|
31
|
+
background-color: @col-head-bg;
|
|
32
|
+
}
|
|
33
|
+
.ant-table-tbody > tr.ant-table-row > td.ztxk-table--info-td {
|
|
34
|
+
background-color: @global-color;
|
|
35
|
+
}
|
|
36
|
+
.ant-table-tbody > tr.ant-table-row > td.ztxk-table--error-td {
|
|
37
|
+
background-color: @stress-color;
|
|
38
|
+
}
|
|
39
|
+
// 显示行差异
|
|
40
|
+
.ant-table-tbody > tr.ztxk-table--differences {
|
|
41
|
+
background-color: @global-color;
|
|
42
|
+
&:hover {
|
|
43
|
+
> td {
|
|
44
|
+
background-color: @global-color;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
> td {
|
|
48
|
+
background-color: @global-color;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.react-resizable {
|
|
52
|
+
position: relative;
|
|
53
|
+
background-clip: padding-box;
|
|
54
|
+
}
|
|
55
|
+
.react-resizable-handle {
|
|
56
|
+
position: absolute;
|
|
57
|
+
right: -5px;
|
|
58
|
+
bottom: 0;
|
|
59
|
+
z-index: 1;
|
|
60
|
+
width: 10px;
|
|
61
|
+
height: 100%;
|
|
62
|
+
cursor: col-resize;
|
|
63
|
+
}
|
|
64
|
+
.react-resizable-handle.active::before {
|
|
65
|
+
content: "";
|
|
66
|
+
position: absolute;
|
|
67
|
+
left: 50%;
|
|
68
|
+
top: 0;
|
|
69
|
+
bottom: 0;
|
|
70
|
+
border-left: dotted 3px #40a9ff;
|
|
71
|
+
}
|
|
72
|
+
// 设置内容最小高度
|
|
73
|
+
.ant-table-body {
|
|
74
|
+
// 2023-12-13 去掉最小高度
|
|
75
|
+
// min-height: 100px;
|
|
76
|
+
// 无数据时,修改fixed的样式
|
|
77
|
+
.ant-table-expanded-row-fixed {
|
|
78
|
+
// width: 100% !important;
|
|
79
|
+
margin: 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
// 设置单元格高度
|
|
84
|
+
.ant-table-thead > tr > th,
|
|
85
|
+
.ant-table-tbody > tr > td,
|
|
86
|
+
.ant-table-summary > tr > td {
|
|
87
|
+
height: 36px;
|
|
88
|
+
padding: 0 5px;
|
|
89
|
+
vertical-align: middle;
|
|
90
|
+
// 表格字体颜色设置
|
|
91
|
+
color: rgb(51, 51, 51);
|
|
92
|
+
.ant-select {
|
|
93
|
+
width: 100%;
|
|
94
|
+
.ant-select-selector {
|
|
95
|
+
// 2023-08-09 表格编辑显示边框
|
|
96
|
+
// border: none;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
// tbody文字换行方式
|
|
101
|
+
.ant-table-tbody > tr > td {
|
|
102
|
+
word-break: break-all;
|
|
103
|
+
}
|
|
104
|
+
//总结栏样式
|
|
105
|
+
.ant-table-summary > tr > td {
|
|
106
|
+
text-align: left;
|
|
107
|
+
font-weight: bold;
|
|
108
|
+
&:first-child {
|
|
109
|
+
text-align: center;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
.ztxk-column--adddel-icon {
|
|
113
|
+
font-size: @font-size-text;
|
|
114
|
+
line-height: @font-size-text;
|
|
115
|
+
// color: @weight-3;
|
|
116
|
+
color: @link-color;
|
|
117
|
+
&:hover {
|
|
118
|
+
color: @link-hover-color;
|
|
119
|
+
}
|
|
120
|
+
&:first-child {
|
|
121
|
+
margin-bottom: 4px;
|
|
122
|
+
}
|
|
123
|
+
&:last-child {
|
|
124
|
+
margin-bottom: 0;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
// 单元格错误样式
|
|
128
|
+
td.error-td {
|
|
129
|
+
background: rgb(255, 136, 136) !important;
|
|
130
|
+
border: 1px solid rgb(255, 136, 136) !important;
|
|
131
|
+
}
|
|
132
|
+
/* 基础样式 */
|
|
133
|
+
|
|
134
|
+
/* 表头图标样式 */
|
|
135
|
+
.thead-icon {
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
// 可编辑列样式
|
|
140
|
+
.ztxk-table__enhance-cell {
|
|
141
|
+
margin: 0;
|
|
142
|
+
font-size: @font-size-text;
|
|
143
|
+
input,
|
|
144
|
+
.ant-input-affix-wrapper,
|
|
145
|
+
.ant-input-number,
|
|
146
|
+
.ant-select-selector {
|
|
147
|
+
border: none;
|
|
148
|
+
width: 100%;
|
|
149
|
+
}
|
|
150
|
+
&.input-model__input {
|
|
151
|
+
border: 1px solid #d9d9d9;
|
|
152
|
+
}
|
|
153
|
+
.ant-form-item-control-input {
|
|
154
|
+
min-height: auto;
|
|
155
|
+
}
|
|
156
|
+
.ant-input-number {
|
|
157
|
+
min-height: 30px;
|
|
158
|
+
input {
|
|
159
|
+
min-height: 28px;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.ant-input-affix-wrapper {
|
|
163
|
+
min-height: 30px;
|
|
164
|
+
padding: 0 11px;
|
|
165
|
+
input {
|
|
166
|
+
min-height: 28px;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
.ant-select-single:not(.ant-select-customize-input) .ant-select-selector,
|
|
170
|
+
.ant-select-selector {
|
|
171
|
+
min-height: 30px;
|
|
172
|
+
input {
|
|
173
|
+
min-height: 28px;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
.ant-input-number-input {
|
|
177
|
+
text-align: left !important;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
.ztxk-table__enhance-cell-wrap {
|
|
181
|
+
padding: 4px;
|
|
182
|
+
min-height: 30px;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
border: 1px solid #d9d9d9;
|
|
185
|
+
&:hover {
|
|
186
|
+
border-color: #40a9ff;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
.ztxk-table__enhance-cell-wrap--disabled {
|
|
190
|
+
color: rgba(0, 0, 0, 0.25);
|
|
191
|
+
background-color: #f5f5f5;
|
|
192
|
+
border-color: #d9d9d9;
|
|
193
|
+
box-shadow: none;
|
|
194
|
+
cursor: not-allowed;
|
|
195
|
+
opacity: 1;
|
|
196
|
+
&:hover {
|
|
197
|
+
border-color: #d9d9d9;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
.ztxk-table__enhance-row {
|
|
201
|
+
&:hover {
|
|
202
|
+
.ztxk-table__enhance-cell-wrap {
|
|
203
|
+
border-radius: 2px;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
&.drop-over-downward td {
|
|
207
|
+
border-bottom: 2px dashed #1890ff;
|
|
208
|
+
}
|
|
209
|
+
&.drop-over-upward td {
|
|
210
|
+
border-top: 2px dashed #1890ff;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// 其他样式
|
|
215
|
+
.zt-btn-link {
|
|
216
|
+
padding: 0;
|
|
217
|
+
margin-right: 5px;
|
|
218
|
+
}
|
|
219
|
+
.ant-dropdown-trigger {
|
|
220
|
+
margin-right: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// flex布局
|
|
224
|
+
&.ztxk-table--flex {
|
|
225
|
+
height: 100%;
|
|
226
|
+
> .ant-spin-nested-loading {
|
|
227
|
+
height: 100%;
|
|
228
|
+
> .ant-spin-container {
|
|
229
|
+
height: 100%;
|
|
230
|
+
> .ant-table {
|
|
231
|
+
height: 100%;
|
|
232
|
+
> .ant-table-container {
|
|
233
|
+
height: 100%;
|
|
234
|
+
display: flex;
|
|
235
|
+
flex-direction: column;
|
|
236
|
+
> .ant-table-body {
|
|
237
|
+
flex: 1;
|
|
238
|
+
max-height: none !important;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
// 必填
|
|
247
|
+
.ztxk-column--required {
|
|
248
|
+
font-style: normal;
|
|
249
|
+
color: @stress;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.ztxk-table--title-stress {
|
|
253
|
+
font-style: normal;
|
|
254
|
+
color: @stress;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// 排序相关样式
|
|
258
|
+
.ztxk-table--sorter {
|
|
259
|
+
display: flex;
|
|
260
|
+
align-items: center;
|
|
261
|
+
justify-content: space-between;
|
|
262
|
+
flex: 1;
|
|
263
|
+
.ztxk-table--sorter-title {
|
|
264
|
+
flex-grow: 1;
|
|
265
|
+
}
|
|
266
|
+
.ztxk-table--sorter-icon {
|
|
267
|
+
color: #bfbfbf;
|
|
268
|
+
font-size: 0;
|
|
269
|
+
display: inline-flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
align-items: center;
|
|
272
|
+
cursor: pointer;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// 过滤列的样式问题
|
|
277
|
+
.ant-table-filter-trigger {
|
|
278
|
+
margin: 0;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.ztxk-table--wrapper-container {
|
|
283
|
+
.ztxk-table--exit-fullscreen {
|
|
284
|
+
position: absolute;
|
|
285
|
+
width: 100px;
|
|
286
|
+
text-align: center;
|
|
287
|
+
margin-left: -50px;
|
|
288
|
+
top: 30px;
|
|
289
|
+
left: 50%;
|
|
290
|
+
z-index: 1001;
|
|
291
|
+
background: @white;
|
|
292
|
+
padding: 10px;
|
|
293
|
+
font-size: 16px;
|
|
294
|
+
opacity: 0;
|
|
295
|
+
transition: opacity 0.8s;
|
|
296
|
+
cursor: pointer;
|
|
297
|
+
border-radius: 10px;
|
|
298
|
+
color: @global-text-color;
|
|
299
|
+
}
|
|
300
|
+
&:hover {
|
|
301
|
+
.ztxk-table--exit-fullscreen {
|
|
302
|
+
opacity: 0.8;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.error-popover {
|
|
308
|
+
.ant-popover-inner-content {
|
|
309
|
+
padding: 6px 10px;
|
|
310
|
+
color: rgb(255, 136, 136);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// 兼容全屏时,分页器弹出层样式
|
|
315
|
+
.ztxk-table--fullscreen {
|
|
316
|
+
.ant-pagination-options {
|
|
317
|
+
.ant-select-dropdown {
|
|
318
|
+
top: -140px !important;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
.ztxk-table--pagination--select-top {
|
|
323
|
+
top: -140px !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// 列头过滤相关样式
|
|
327
|
+
.ztxk-table--filter {
|
|
328
|
+
padding: 6px;
|
|
329
|
+
max-width: 220px;
|
|
330
|
+
input::placeholder {
|
|
331
|
+
font-size: 12px;
|
|
332
|
+
}
|
|
333
|
+
.ztxk-table--filter__checkbox-container {
|
|
334
|
+
display: flex;
|
|
335
|
+
flex-direction: column;
|
|
336
|
+
margin-top: 8px;
|
|
337
|
+
margin-bottom: 8px;
|
|
338
|
+
max-height: 200px;
|
|
339
|
+
width: 200px;
|
|
340
|
+
overflow-y: auto;
|
|
341
|
+
.ant-checkbox-wrapper {
|
|
342
|
+
margin-left: 0;
|
|
343
|
+
}
|
|
344
|
+
.ant-checkbox + span {
|
|
345
|
+
text-overflow: ellipsis;
|
|
346
|
+
display: block;
|
|
347
|
+
white-space: nowrap;
|
|
348
|
+
overflow: hidden;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
.ztxk-table--filter__btn-container {
|
|
352
|
+
button {
|
|
353
|
+
margin-right: 10px;
|
|
354
|
+
&:last-child {
|
|
355
|
+
margin-right: 0;
|
|
356
|
+
}
|
|
357
|
+
.anticon {
|
|
358
|
+
line-height: inherit;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|