zmdms-webui 2.2.6 → 2.2.7
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/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 +95 -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,15 @@
|
|
|
1
|
+
.auth-loading {
|
|
2
|
+
width: 100vw;
|
|
3
|
+
height: 50vh;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
font-size: 20px;
|
|
9
|
+
.ant-spin-dot {
|
|
10
|
+
font-size: 18px;
|
|
11
|
+
}
|
|
12
|
+
.ant-spin-text {
|
|
13
|
+
font-size: 20px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@default-height: 30px; // 正常按钮高度
|
|
2
|
+
@large-height: 38px; // 大按钮高度
|
|
3
|
+
@small-height: 22px; // 小按钮高度
|
|
4
|
+
|
|
5
|
+
@default-line-height: 16px;
|
|
6
|
+
@large-line-height: 20px;
|
|
7
|
+
@small-line-height: 12px;
|
|
8
|
+
|
|
9
|
+
@default-font-size: 14px;
|
|
10
|
+
@large-font-size: @default-font-size * 1.25;
|
|
11
|
+
@small-font-size: @default-font-size * 0.75;
|
|
12
|
+
|
|
13
|
+
@default-padding: 4px 15px;
|
|
14
|
+
@large-padding: 6px 15px;
|
|
15
|
+
@small-padding: 0 7px;
|
|
16
|
+
|
|
17
|
+
.zt-btn,
|
|
18
|
+
.ant-btn {
|
|
19
|
+
height: @default-height;
|
|
20
|
+
line-height: @default-line-height;
|
|
21
|
+
font-size: @default-font-size;
|
|
22
|
+
padding: @default-padding;
|
|
23
|
+
border-radius: @border-radius-base;
|
|
24
|
+
user-select: auto;
|
|
25
|
+
font-family: PingFangSC-Regular, PingFang SC;
|
|
26
|
+
// UI审查
|
|
27
|
+
// > span {
|
|
28
|
+
// font-size: @default-font-size;
|
|
29
|
+
// }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.copy-btn--container {
|
|
33
|
+
> button {
|
|
34
|
+
&:first-child {
|
|
35
|
+
width: calc(100% - 40px);
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
padding: 0;
|
|
38
|
+
margin-right: 10px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.zt-btn-large {
|
|
43
|
+
height: @large-height;
|
|
44
|
+
line-height: @large-line-height;
|
|
45
|
+
font-size: @large-font-size;
|
|
46
|
+
padding: @large-padding;
|
|
47
|
+
}
|
|
48
|
+
.zt-btn-small {
|
|
49
|
+
height: @small-height;
|
|
50
|
+
line-height: @small-line-height;
|
|
51
|
+
font-size: @small-font-size;
|
|
52
|
+
padding: @small-padding;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ant-popover .ant-btn,
|
|
56
|
+
button.zt-btn-default,
|
|
57
|
+
button.ant-btn-default {
|
|
58
|
+
background-color: #e0eafe;
|
|
59
|
+
color: #5b76f6;
|
|
60
|
+
border-color: #e0eafe;
|
|
61
|
+
&:focus,
|
|
62
|
+
&:active {
|
|
63
|
+
background-color: #e0eafe;
|
|
64
|
+
color: #5b76f6;
|
|
65
|
+
border-color: #e0eafe;
|
|
66
|
+
}
|
|
67
|
+
&:hover {
|
|
68
|
+
background-color: #cdd9e6;
|
|
69
|
+
color: #5b76f6;
|
|
70
|
+
border-color: #cdd9e6;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.zt-btn-dropdown--default {
|
|
75
|
+
> button {
|
|
76
|
+
background-color: #e0eafe;
|
|
77
|
+
color: #5b76f6;
|
|
78
|
+
border-color: #e0eafe;
|
|
79
|
+
&:focus,
|
|
80
|
+
&:active {
|
|
81
|
+
background-color: #e0eafe;
|
|
82
|
+
color: #5b76f6;
|
|
83
|
+
border-color: #e0eafe;
|
|
84
|
+
}
|
|
85
|
+
&:hover {
|
|
86
|
+
background-color: #cdd9e6;
|
|
87
|
+
color: #5b76f6;
|
|
88
|
+
border-color: #cdd9e6;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ant-popover button.ant-btn-primary,
|
|
94
|
+
button.zt-btn-primary,
|
|
95
|
+
button.ant-btn-primary {
|
|
96
|
+
background-color: @main-color-light;
|
|
97
|
+
color: @white;
|
|
98
|
+
border-color: @main-color-light;
|
|
99
|
+
&:hover {
|
|
100
|
+
background-color: #3a3f9d;
|
|
101
|
+
color: @white;
|
|
102
|
+
border-color: #3a3f9d;
|
|
103
|
+
}
|
|
104
|
+
&:focus {
|
|
105
|
+
background-color: @main-color-light;
|
|
106
|
+
color: @white;
|
|
107
|
+
border-color: @main-color-light;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
button.zt-btn-link {
|
|
112
|
+
color: @link-color;
|
|
113
|
+
&:hover {
|
|
114
|
+
color: @link-hover-color;
|
|
115
|
+
}
|
|
116
|
+
&.zt-btn-disabled[disabled] {
|
|
117
|
+
cursor: not-allowed;
|
|
118
|
+
background: none;
|
|
119
|
+
color: #cccccc;
|
|
120
|
+
border: none;
|
|
121
|
+
&:hover {
|
|
122
|
+
background: none;
|
|
123
|
+
color: #cccccc;
|
|
124
|
+
border: none;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
button.zt-btn-dangerous {
|
|
130
|
+
background: #ff4d4f;
|
|
131
|
+
color: #ffffff;
|
|
132
|
+
border-color: #ff4d4f;
|
|
133
|
+
&:hover {
|
|
134
|
+
background: #ff7875;
|
|
135
|
+
color: #ffffff;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
button.zt-btn-disabled {
|
|
140
|
+
&[disabled] {
|
|
141
|
+
cursor: not-allowed;
|
|
142
|
+
background-color: #cccccc;
|
|
143
|
+
color: #ffffff;
|
|
144
|
+
border-color: #cccccc;
|
|
145
|
+
&:hover {
|
|
146
|
+
background-color: #cccccc;
|
|
147
|
+
color: #ffffff;
|
|
148
|
+
border-color: #cccccc;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.ant-btn-icon-only {
|
|
154
|
+
width: @default-height;
|
|
155
|
+
height: @default-height;
|
|
156
|
+
padding: 2.4px 0;
|
|
157
|
+
font-size: 16px;
|
|
158
|
+
border-radius: 2px;
|
|
159
|
+
vertical-align: -1px;
|
|
160
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// 基座上面引入的antd版本和子应用的antd版本存在冲突。基座上的antd版本设置了这个框的定位,导致计算出现问题。
|
|
2
|
+
// 后续会在zmdms-webui组件库中,设置这个样式,这里暂时这样处理
|
|
3
|
+
.ant-cascader-menus {
|
|
4
|
+
position: static;
|
|
5
|
+
}
|
|
6
|
+
.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,
|
|
7
|
+
.ant-cascader-menu-item-loading-icon {
|
|
8
|
+
position: static;
|
|
9
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
.ztxk-collapse {
|
|
2
|
+
border: 1px solid @col-line-border;
|
|
3
|
+
border-bottom: none;
|
|
4
|
+
background-color: transparent;
|
|
5
|
+
.ant-collapse-header {
|
|
6
|
+
border: 1px solid @col-line-border;
|
|
7
|
+
}
|
|
8
|
+
.ant-collapse-content-box {
|
|
9
|
+
> .ztxk-title {
|
|
10
|
+
border: 1px solid @col-line-border;
|
|
11
|
+
}
|
|
12
|
+
.ztxk-table {
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
.ant-table-container {
|
|
15
|
+
border-top-left-radius: 0;
|
|
16
|
+
border-top-right-radius: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&.ztxk-collapse--non-border {
|
|
21
|
+
border: none;
|
|
22
|
+
.ant-collapse-item {
|
|
23
|
+
border-bottom: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.ztxk-collapse--item-margin {
|
|
27
|
+
> .ant-collapse-item {
|
|
28
|
+
margin-bottom: @margin-base;
|
|
29
|
+
&:last-child {
|
|
30
|
+
margin-bottom: 0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&.ztxk-collapse--main-bg_transparent {
|
|
35
|
+
background-color: transparent;
|
|
36
|
+
}
|
|
37
|
+
&.ztxk-collapse--main-bg_white {
|
|
38
|
+
background-color: #fff;
|
|
39
|
+
}
|
|
40
|
+
&.ztxk-collapse--custom-background {
|
|
41
|
+
.ant-collapse-item .ant-collapse-header {
|
|
42
|
+
background-color: @col-line-titleBg;
|
|
43
|
+
padding-left: 18px;
|
|
44
|
+
&::before {
|
|
45
|
+
content: "";
|
|
46
|
+
display: block;
|
|
47
|
+
width: 6px;
|
|
48
|
+
height: 16px;
|
|
49
|
+
background: #4285f4;
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 12px;
|
|
52
|
+
left: 4px;
|
|
53
|
+
border-radius: 3px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
.ant-collapse-item.ztxk-collapse--panel-hidden-border {
|
|
58
|
+
border-bottom: none;
|
|
59
|
+
}
|
|
60
|
+
// 图标旋转控制
|
|
61
|
+
.ant-collapse-arrow {
|
|
62
|
+
> svg {
|
|
63
|
+
transform: rotate(90deg);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.ant-collapse-item-active {
|
|
67
|
+
.ant-collapse-arrow {
|
|
68
|
+
> svg {
|
|
69
|
+
transform: rotate(270deg) !important;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
// 边距
|
|
74
|
+
&.ztxk-collapse--custom-padding {
|
|
75
|
+
.ant-collapse-item {
|
|
76
|
+
.ant-collapse-content {
|
|
77
|
+
.ant-collapse-content-box {
|
|
78
|
+
padding: 10px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
.ant-collapse-item {
|
|
84
|
+
border-bottom: 1px solid #d4dfea;
|
|
85
|
+
.ant-collapse-header {
|
|
86
|
+
height: 38px;
|
|
87
|
+
line-height: 38px;
|
|
88
|
+
padding: 0 @padding-base;
|
|
89
|
+
background: rgba(250, 250, 250, 1);
|
|
90
|
+
border-bottom: none;
|
|
91
|
+
|
|
92
|
+
.zt-collapse--icon {
|
|
93
|
+
color: @weight-3;
|
|
94
|
+
.zt-collapse--icon-text {
|
|
95
|
+
margin-left: 5px;
|
|
96
|
+
font-size: 13px;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.ant-collapse-extra {
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: 50%;
|
|
102
|
+
right: 64px;
|
|
103
|
+
left: auto;
|
|
104
|
+
margin: 0;
|
|
105
|
+
transform: translateY(-50%);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ant-collapse-content {
|
|
110
|
+
background: @white;
|
|
111
|
+
border-top: none;
|
|
112
|
+
.ant-collapse-content-box {
|
|
113
|
+
padding: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.ztxk-container {
|
|
2
|
+
overflow: auto;
|
|
3
|
+
min-height: 100px;
|
|
4
|
+
position: relative;
|
|
5
|
+
.ztxk-container__loading {
|
|
6
|
+
position: absolute;
|
|
7
|
+
top: 0;
|
|
8
|
+
left: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
min-height: 100px;
|
|
12
|
+
background-color: @black-1;
|
|
13
|
+
text-align: center;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
z-index: 10000;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.ztxk-container__content {
|
|
22
|
+
background-color: @bg-white;
|
|
23
|
+
margin: @margin-base;
|
|
24
|
+
padding: @padding-base;
|
|
25
|
+
overflow-y: auto;
|
|
26
|
+
&.ztxk-container__content--flex {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
}
|
|
30
|
+
&.ztxk-container__content--title {
|
|
31
|
+
padding: 0 !important;
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
.ztxk-container__content--main {
|
|
35
|
+
padding: @padding-base;
|
|
36
|
+
// 2024-07-03 标题的高度不止38px 可能超过38px 这里改成flex布局
|
|
37
|
+
// height: calc(100% - 38px);
|
|
38
|
+
flex-grow: 1;
|
|
39
|
+
overflow-y: auto;
|
|
40
|
+
}
|
|
41
|
+
.ztxk-container__content--main--flex {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ztxk-container--btn-wrap {
|
|
50
|
+
&.btn-wrap--margin-top {
|
|
51
|
+
margin-top: @margin-base;
|
|
52
|
+
}
|
|
53
|
+
> button {
|
|
54
|
+
margin-bottom: @margin-base;
|
|
55
|
+
margin-right: @margin-base;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ztxk-container--scroll-wrap {
|
|
60
|
+
&.scroll-wrap--margin-top {
|
|
61
|
+
margin-top: @margin-base;
|
|
62
|
+
}
|
|
63
|
+
overflow-y: auto;
|
|
64
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.ztxk-descriptions {
|
|
2
|
+
&.ant-descriptions-middle {
|
|
3
|
+
.ant-descriptions-item-label {
|
|
4
|
+
padding: 4px 4px;
|
|
5
|
+
line-height: 20px;
|
|
6
|
+
}
|
|
7
|
+
.ant-descriptions-item-content {
|
|
8
|
+
padding: 4px 4px;
|
|
9
|
+
line-height: 20px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
.ant-descriptions-header {
|
|
13
|
+
margin-bottom: 10px;
|
|
14
|
+
padding-bottom: 8px;
|
|
15
|
+
border-bottom: 1px solid @col-line;
|
|
16
|
+
> .ant-descriptions-title {
|
|
17
|
+
font-size: @font-size-title;
|
|
18
|
+
}
|
|
19
|
+
> .ant-descriptions-extra {
|
|
20
|
+
color: @weight-1;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.ant-descriptions-bordered {
|
|
25
|
+
.ant-descriptions-item-label {
|
|
26
|
+
background: @col-line;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
.ztxk-descriptions--differences {
|
|
30
|
+
background-color: @global-color;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.ztxk-grid {
|
|
2
|
+
&.ztxk-grid--default {
|
|
3
|
+
.ztxk-grid-item {
|
|
4
|
+
line-height: 18px;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
&.ztxk-grid--large {
|
|
8
|
+
.ztxk-grid-item {
|
|
9
|
+
// line-height: 36px;
|
|
10
|
+
line-height: 32px;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
&.ztxk-grid--border {
|
|
14
|
+
border-left: 1px solid @col-line-border;
|
|
15
|
+
&:first-child {
|
|
16
|
+
border-top: 1px solid @col-line-border;
|
|
17
|
+
}
|
|
18
|
+
.ztxk-grid-item {
|
|
19
|
+
border-right: 1px solid @col-line-border;
|
|
20
|
+
border-bottom: 1px solid @col-line-border;
|
|
21
|
+
&.ztxk-grid-item--text {
|
|
22
|
+
padding: 2px 4px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&.ztxk-grid--flex {
|
|
27
|
+
.ztxk-grid-item {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.ztxk-grid-item--flex {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
&.ztxk-grid--background {
|
|
37
|
+
.ztxk-grid-item--title {
|
|
38
|
+
background: @col-line-titleBg;
|
|
39
|
+
.ztxk-grid-item--title-text {
|
|
40
|
+
color: @weight-1;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.ztxk-grid-item {
|
|
45
|
+
line-height: 18px;
|
|
46
|
+
font-size: 12px;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
&.ztxk-grid-item--title {
|
|
49
|
+
padding: 2px 0 2px 4px;
|
|
50
|
+
word-wrap: break-word;
|
|
51
|
+
color: @weight-2;
|
|
52
|
+
justify-content: flex-end;
|
|
53
|
+
display: flex;
|
|
54
|
+
.ztxk-grid-item--title-text {
|
|
55
|
+
display: inline-block;
|
|
56
|
+
// /*文本不换行*/
|
|
57
|
+
// white-space: nowrap;
|
|
58
|
+
// /*超出范围隐藏*/
|
|
59
|
+
// overflow: hidden;
|
|
60
|
+
// /*文字超出用省略号*/
|
|
61
|
+
// text-overflow: ellipsis;
|
|
62
|
+
}
|
|
63
|
+
.ztxk-grid-item--title-colon {
|
|
64
|
+
padding: 0 0 0 1px;
|
|
65
|
+
}
|
|
66
|
+
.ztxk-grid-item--title-required {
|
|
67
|
+
margin: 1px 2px 0 0;
|
|
68
|
+
color: #ff4d4f !important;
|
|
69
|
+
font-size: 14px;
|
|
70
|
+
font-family: SimSun, sans-serif;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
&.ztxk-grid-item--title-vertical-center {
|
|
74
|
+
align-items: center;
|
|
75
|
+
}
|
|
76
|
+
&.ztxk-grid-item--diff {
|
|
77
|
+
background-color: #fdfd19;
|
|
78
|
+
}
|
|
79
|
+
&.ztxk-grid-item--text {
|
|
80
|
+
padding: 3px 0;
|
|
81
|
+
word-wrap: break-word;
|
|
82
|
+
color: @weight-1;
|
|
83
|
+
}
|
|
84
|
+
&.ztxk-grid-item--text-ellipsis {
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
text-overflow: ellipsis;
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
// /*将对象作为弹性伸缩盒子模型显示*/
|
|
89
|
+
// display: -webkit-box;
|
|
90
|
+
// /*用来限制在一个块元素中显示的文本的行数*/
|
|
91
|
+
// -webkit-line-clamp: 3;
|
|
92
|
+
// /*设置伸缩盒对象的子元素的排列方式*/
|
|
93
|
+
// -webkit-box-orient: vertical;
|
|
94
|
+
}
|
|
95
|
+
&.ztxk-grid-item--text-noellipsis {
|
|
96
|
+
white-space: pre-line;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
.ztxk-grid-item--merge {
|
|
100
|
+
display: flex;
|
|
101
|
+
.ztxk-grid-item--text {
|
|
102
|
+
flex: 1;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
.zt-sortable-new {
|
|
2
|
+
padding: 8px 0px;
|
|
3
|
+
// height: 38px;
|
|
4
|
+
line-height: 1.5;
|
|
5
|
+
text-align: left;
|
|
6
|
+
font-size: @font-size-text;
|
|
7
|
+
cursor: move;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
// border-bottom: 1px solid #f0f0f0;
|
|
10
|
+
.zt-sortable--item {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
align-items: center;
|
|
14
|
+
padding: 0 16px;
|
|
15
|
+
span {
|
|
16
|
+
white-space: break-spaces;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.zt-sortable--children {
|
|
20
|
+
display: flex;
|
|
21
|
+
.zt-sortable-new {
|
|
22
|
+
padding: 8px 26px;
|
|
23
|
+
// border-top: 1px solid #f0f0f0;
|
|
24
|
+
border-bottom: none;
|
|
25
|
+
}
|
|
26
|
+
span {
|
|
27
|
+
white-space: break-spaces;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
&.no-move {
|
|
31
|
+
cursor: no-drop;
|
|
32
|
+
}
|
|
33
|
+
.zt-checkbox {
|
|
34
|
+
font-size: @font-size-text;
|
|
35
|
+
}
|
|
36
|
+
&:hover {
|
|
37
|
+
background-color: rgb(235, 243, 254);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.ztxk-dynamic--more {
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
height: 20px;
|
|
43
|
+
}
|
|
44
|
+
.ant-dropdown-show-arrow.ztxk-dynamic--more--drop {
|
|
45
|
+
padding-top: 0;
|
|
46
|
+
}
|
|
47
|
+
.ztxk-dynamic--more--drop.ant-dropdown-placement-bottomRight
|
|
48
|
+
> .ant-dropdown-arrow {
|
|
49
|
+
top: -5px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.dynamic-drawer {
|
|
53
|
+
.ant-drawer-header {
|
|
54
|
+
padding: 10px 12px;
|
|
55
|
+
.ant-drawer-title {
|
|
56
|
+
> div {
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
color: #768696;
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
.search-drawer--title-text {
|
|
62
|
+
margin-left: 10px;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
> span {
|
|
65
|
+
font-size: 13px;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.ant-drawer-body {
|
|
72
|
+
padding: 0;
|
|
73
|
+
.ant-checkbox-group {
|
|
74
|
+
width: 100%;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.ant-drawer-footer {
|
|
78
|
+
padding: 0;
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: space-between;
|
|
81
|
+
border-top: none;
|
|
82
|
+
> button {
|
|
83
|
+
width: 33%;
|
|
84
|
+
height: 40px;
|
|
85
|
+
border: none;
|
|
86
|
+
border-radius: 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
.dynamic-drawer-section-title {
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
font-size: 14px;
|
|
93
|
+
background: #f5f5f5;
|
|
94
|
+
padding: 4px;
|
|
95
|
+
border-radius: 6px;
|
|
96
|
+
}
|