@lambo-design/shared 1.0.0-beta.22 → 1.0.0-beta.221
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/config/config.js +16 -2
- package/config/index.js +7 -2
- package/config/themes/atrovirens/atrovirens.css +574 -0
- package/config/themes/atrovirens/atrovirens.css.map +1 -0
- package/config/themes/atrovirens/atrovirens.less +666 -0
- package/config/themes/atrovirens/var.less +673 -0
- package/config/themes/blue/blue.css +574 -0
- package/config/themes/blue/blue.css.map +1 -0
- package/config/themes/blue/blue.less +668 -0
- package/config/themes/blue/var.less +675 -0
- package/config/themes/blue-white/blue-white.css +574 -0
- package/config/themes/blue-white/blue-white.css.map +1 -0
- package/config/themes/blue-white/blue-white.less +668 -0
- package/config/themes/blue-white/var.less +674 -0
- package/config/themes/blue-white-tight/blue-white-tight.css +575 -0
- package/config/themes/blue-white-tight/blue-white-tight.css.map +1 -0
- package/config/themes/blue-white-tight/blue-white-tight.less +670 -0
- package/config/themes/blue-white-tight/var.less +675 -0
- package/config/themes/danqing/danqing.css +574 -0
- package/config/themes/danqing/danqing.css.map +1 -0
- package/config/themes/danqing/danqing.less +666 -0
- package/config/themes/danqing/danqing.wxss +572 -0
- package/config/themes/danqing/var.less +677 -0
- package/config/themes/deep/deep.css +574 -0
- package/config/themes/deep/deep.css.map +1 -0
- package/config/themes/deep/deep.less +667 -0
- package/config/themes/deep/var.less +675 -0
- package/config/themes/default/default.css +390 -57
- package/config/themes/default/default.css.map +1 -0
- package/config/themes/default/default.less +438 -88
- package/config/themes/default/var.less +373 -12
- package/config/themes/eap/eap.css +574 -0
- package/config/themes/eap/eap.css.map +1 -0
- package/config/themes/eap/eap.less +669 -0
- package/config/themes/eap/var.less +675 -0
- package/config/themes/gold/gold.css +574 -0
- package/config/themes/gold/gold.css.map +1 -0
- package/config/themes/gold/gold.less +669 -0
- package/config/themes/gold/var.less +368 -7
- package/config/themes/index.js +16 -4
- package/config/themes/lime/lime.css +574 -0
- package/config/themes/lime/lime.css.map +1 -0
- package/config/themes/lime/lime.less +669 -0
- package/config/themes/lime/var.less +369 -7
- package/config/themes/orange/orange.css +574 -0
- package/config/themes/orange/orange.css.map +1 -0
- package/config/themes/orange/orange.less +669 -0
- package/config/themes/orange/var.less +676 -0
- package/config/themes/red/red.css +574 -0
- package/config/themes/red/red.css.map +1 -0
- package/config/themes/red/red.less +669 -0
- package/config/themes/red/var.less +675 -0
- package/config/themes/theme-atrovirens.js +556 -0
- package/config/themes/theme-blue.js +556 -0
- package/config/themes/theme-bw.js +556 -0
- package/config/themes/theme-bwt.js +557 -0
- package/config/themes/theme-danqing.js +556 -0
- package/config/themes/theme-deep.js +556 -0
- package/config/themes/theme-default.js +363 -59
- package/config/themes/theme-eap.js +556 -0
- package/config/themes/theme-gold.js +315 -11
- package/config/themes/theme-lime.js +315 -11
- package/config/themes/theme-orange.js +544 -27
- package/config/themes/theme-red.js +548 -32
- package/directives/module/print.js +1 -0
- package/directives/module/vue-print-nb/README.md +63 -0
- package/directives/module/vue-print-nb/print.js +94 -0
- package/directives/module/vue-print-nb/printarea.js +532 -0
- package/index.js +7 -1
- package/nstyles/common.less +197 -0
- package/nstyles/components/404.less +46 -0
- package/nstyles/components/button.less +34 -0
- package/nstyles/components/date-picker.less +37 -0
- package/nstyles/components/drawer.less +20 -0
- package/nstyles/components/dropdown.less +18 -0
- package/nstyles/components/excel-flow.less +72 -0
- package/nstyles/components/form.less +303 -0
- package/nstyles/components/index.less +23 -0
- package/nstyles/components/layout/collect.less +10 -0
- package/nstyles/components/layout/detail-view.less +107 -0
- package/nstyles/components/layout/full-screen.less +7 -0
- package/nstyles/components/layout/index.less +7 -0
- package/nstyles/components/layout/other-menu.less +142 -0
- package/nstyles/components/layout/page-view.less +101 -0
- package/nstyles/components/layout/sider-trigger.less +41 -0
- package/nstyles/components/layout/tags-nav.less +113 -0
- package/nstyles/components/modal.less +85 -0
- package/nstyles/components/n-button.less +131 -0
- package/nstyles/components/n-image-preview.less +131 -0
- package/nstyles/components/n-model/index.less +19 -0
- package/nstyles/components/n-model/report-index.less +43 -0
- package/nstyles/components/n-panel.less +41 -0
- package/nstyles/components/n-picker.less +37 -0
- package/nstyles/components/n-sign.less +17 -0
- package/nstyles/components/n-tooltip.less +10 -0
- package/nstyles/components/panel.less +31 -0
- package/nstyles/components/select.less +3 -0
- package/nstyles/components/sign.less +27 -0
- package/nstyles/components/table.less +315 -0
- package/nstyles/components/tree.less +159 -0
- package/nstyles/components/upload.less +164 -0
- package/nstyles/index.less +5 -0
- package/nstyles/reset.less +65 -0
- package/nstyles/third/ag.less +174 -0
- package/nstyles/third/icons/sort-desc.svg +1 -0
- package/nstyles/third/icons/sort-up.svg +1 -0
- package/nstyles/third/icons/sorting.svg +1 -0
- package/nstyles/third/index.less +11 -0
- package/nstyles/third/view-design.less +367 -0
- package/nstyles/variables/base.less +143 -0
- package/nstyles/variables/index.less +4 -0
- package/nstyles/variables/theme/default/button.less +7 -0
- package/nstyles/variables/theme/default/common.less +57 -0
- package/nstyles/variables/theme/default/index.less +7 -0
- package/nstyles/variables/theme/default/layout.less +40 -0
- package/nstyles/variables/theme/default/table.less +37 -0
- package/nstyles/variables/theme/default/tag.less +3 -0
- package/nstyles/variables/theme/default/upload.less +3 -0
- package/nstyles/variables/theme/index.less +13 -0
- package/nstyles/variables/theme/small/button.less +7 -0
- package/nstyles/variables/theme/small/common.less +39 -0
- package/nstyles/variables/theme/small/index.less +5 -0
- package/nstyles/variables/theme/small/layout.less +21 -0
- package/nstyles/variables/theme/small/table.less +17 -0
- package/nstyles/variables/theme/small/tag.less +3 -0
- package/package.json +27 -7
- package/plugin/index.js +12 -0
- package/plugin/module/date-format.js +30 -0
- package/plugin/module/loading.js +26 -0
- package/plugin/module/warn-handler.js +11 -0
- package/styles/image/inspur.png +0 -0
- package/styles/image/lan_navigator.png +0 -0
- package/styles/image/lv_navigator.png +0 -0
- package/utils/ajax/content-type.js +30 -0
- package/utils/assist.js +88 -25
- package/utils/base64.js +126 -0
- package/utils/blob.js +47 -0
- package/utils/crypto/aes.js +23 -0
- package/utils/crypto/index.js +10 -0
- package/utils/crypto/rsa.js +16 -0
- package/utils/date.js +334 -305
- package/utils/dict/built-in-dict.js +20 -0
- package/utils/dict/index.js +133 -0
- package/utils/event.js +72 -0
- package/utils/excel.js +369 -237
- package/utils/file.js +19 -0
- package/utils/form/validate.js +29 -0
- package/utils/half-year.js +68 -0
- package/utils/index.js +37 -0
- package/utils/json.js +29 -0
- package/utils/lodop.js +5 -0
- package/utils/menu/index.js +270 -11
- package/utils/mime_type.js +67 -0
- package/utils/modelerUtil.js +4 -1
- package/utils/n/api.js +22 -0
- package/utils/n/date.js +57 -0
- package/utils/n/index.js +10 -0
- package/utils/n/is-type.js +176 -0
- package/utils/n/number.js +144 -0
- package/utils/n/permission-cache.js +11 -0
- package/utils/n/reuqest/axiosN.js +17 -0
- package/utils/n/reuqest/content-type.js +19 -0
- package/utils/n/reuqest/interceptors.js +95 -0
- package/utils/n/reuqest/url-params.js +12 -0
- package/utils/n/storage.js +51 -0
- package/utils/n/token.js +51 -0
- package/utils/n/user-cache.js +11 -0
- package/utils/n/user.js +34 -0
- package/utils/n/uuid.js +16 -0
- package/utils/n-generator-routers.js +208 -0
- package/utils/n-router.js +205 -0
- package/utils/n-theme.js +30 -0
- package/utils/number.js +72 -15
- package/utils/oss.js +57 -0
- package/utils/platform.js +760 -22
- package/utils/quarter.js +58 -0
- package/utils/storage.js +198 -0
- package/utils/style.js +24 -0
- package/utils/theme.js +98 -3
- package/utils/transfer-queue.js +7 -0
- package/utils/type.js +102 -0
- package/utils/util.js +795 -0
- package/utils/validator.js +181 -0
- package/config/themes/gold/default.css +0 -241
- package/config/themes/gold/default.less +0 -319
- package/config/themes/lime/default.css +0 -241
- package/config/themes/lime/default.less +0 -319
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* 一些常用样式类
|
|
3
|
+
*
|
|
4
|
+
* @Author: huxuetong
|
|
5
|
+
* @Date: 2024-03-12 20:12:54
|
|
6
|
+
* @Last Modified by: huxuetong
|
|
7
|
+
* @Last Modified time: 2024-04-05 11:18:52
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
// 布局
|
|
11
|
+
.ind-panel {
|
|
12
|
+
padding: var(--ind-padding-xs) var(--ind-padding-sm);
|
|
13
|
+
padding-top: var(--ind-sc-padding-top);
|
|
14
|
+
background-color: var(--ind-bg-color-light);
|
|
15
|
+
border-radius: var(--ind-border-radius-sm);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ind-flex {
|
|
19
|
+
display: flex;
|
|
20
|
+
&.center {
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
&.baseline {
|
|
24
|
+
align-items: baseline;
|
|
25
|
+
}
|
|
26
|
+
&.end {
|
|
27
|
+
align-items: flex-end;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ind-flex-column {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.height100 {
|
|
37
|
+
height: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ind-flex-no-shrink {
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ind-flex-grow {
|
|
45
|
+
flex-grow: 1 !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ind-mt {
|
|
49
|
+
margin-top: var(--ind-padding-xs);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ind-mr {
|
|
53
|
+
margin-right: var(--ind-padding-xs);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ind-mb {
|
|
57
|
+
margin-bottom: var(--ind-padding-xs);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ind-ml {
|
|
61
|
+
margin-left: var(--ind-padding-xs);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.no-border-left-top {
|
|
65
|
+
border-top: none !important;
|
|
66
|
+
border-left: none !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// 颜色
|
|
70
|
+
.ind-primary {
|
|
71
|
+
color: var(--ind-primary-color) !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.ind-red,
|
|
75
|
+
.ind-down,
|
|
76
|
+
.ind-up.reverse {
|
|
77
|
+
color: var(--ind-red) !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ind-green,
|
|
81
|
+
.ind-up,
|
|
82
|
+
.ind-down.reverse {
|
|
83
|
+
color: var(--ind-green) !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ind-orange {
|
|
87
|
+
color: var(--ind-orange) !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.ind-yellow {
|
|
91
|
+
color: #fff600 !important;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.ind-blue {
|
|
95
|
+
color: var(--ind-blue) !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ind-bg-primary {
|
|
99
|
+
background-color: var(--ind-primary-color) !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.ind-bg-red,
|
|
103
|
+
.ind-bg-down,
|
|
104
|
+
.ind-bg-up.reverse {
|
|
105
|
+
background-color: var(--ind-red) !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ind-bg-green,
|
|
109
|
+
.ind-bg-up,
|
|
110
|
+
.ind-bg-down.reverse {
|
|
111
|
+
background-color: var(--ind-green) !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ind-bg-orange {
|
|
115
|
+
background-color: var(--ind-orange) !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ind-bg-yellow {
|
|
119
|
+
background-color: #fff600 !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ind-bg-blue {
|
|
123
|
+
background-color: var(--ind-blue) !important;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ind-sm {
|
|
127
|
+
font-size: var(--ind-font-size-sm);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ind-lg {
|
|
131
|
+
font-size: var(--ind-font-size-lg);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ind-xl {
|
|
135
|
+
font-size: var(--ind-font-size-xl);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ind-xxl {
|
|
139
|
+
font-size: var(--ind-font-size-xxl);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ind-font-bold {
|
|
143
|
+
font-weight: var(--ind-font-weight-bold);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.ind-font-bolder {
|
|
147
|
+
font-weight: var(--ind-font-weight-bolder);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// 特殊场景
|
|
151
|
+
.no-content {
|
|
152
|
+
text-align: center;
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
justify-content: center;
|
|
156
|
+
height: 100%;
|
|
157
|
+
.noImgUrl {
|
|
158
|
+
margin-left: calc(50% - 175px);
|
|
159
|
+
width: fit-content;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tooltip-ellipsis {
|
|
164
|
+
width: 100%;
|
|
165
|
+
|
|
166
|
+
.ellipsis-div {
|
|
167
|
+
text-overflow: ellipsis;
|
|
168
|
+
white-space: nowrap;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ind-card-title-tag {
|
|
174
|
+
display: inline-block;
|
|
175
|
+
padding: 0 var(--ind-padding-xs);
|
|
176
|
+
color: var(--ind-white);
|
|
177
|
+
border-radius: var(--ind-border-radius-sm);
|
|
178
|
+
transform: skew(-20deg);
|
|
179
|
+
|
|
180
|
+
&.blue {
|
|
181
|
+
background: var(--ind-gradient-blue-linear);
|
|
182
|
+
}
|
|
183
|
+
&.green {
|
|
184
|
+
background: var(--ind-gradient-green-linear);
|
|
185
|
+
}
|
|
186
|
+
&.orange {
|
|
187
|
+
background: var(--ind-gradient-orange-linear);
|
|
188
|
+
}
|
|
189
|
+
&.red {
|
|
190
|
+
background: var(--ind-gradient-red-linear);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&__name {
|
|
194
|
+
display: inline-block;
|
|
195
|
+
transform: skew(20deg);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.ind-error-page {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
position: relative;
|
|
5
|
+
background: #f8f8f9;
|
|
6
|
+
.content-con {
|
|
7
|
+
width: 700px;
|
|
8
|
+
height: 600px;
|
|
9
|
+
position: absolute;
|
|
10
|
+
left: 50%;
|
|
11
|
+
top: 50%;
|
|
12
|
+
transform: translate(-50%, -60%);
|
|
13
|
+
img {
|
|
14
|
+
display: block;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
.text-con {
|
|
19
|
+
position: absolute;
|
|
20
|
+
left: 0px;
|
|
21
|
+
top: 0px;
|
|
22
|
+
h4 {
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 0px;
|
|
25
|
+
top: 0px;
|
|
26
|
+
font-size: 80px;
|
|
27
|
+
font-weight: 700;
|
|
28
|
+
color: #348eed;
|
|
29
|
+
}
|
|
30
|
+
h5 {
|
|
31
|
+
position: absolute;
|
|
32
|
+
width: 700px;
|
|
33
|
+
left: 0px;
|
|
34
|
+
top: 100px;
|
|
35
|
+
font-size: 20px;
|
|
36
|
+
font-weight: 700;
|
|
37
|
+
color: #67647d;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
.back-btn-group {
|
|
41
|
+
position: absolute;
|
|
42
|
+
right: 0px;
|
|
43
|
+
bottom: 20px;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.ind-button-group {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
|
|
6
|
+
& > *:not(:last-child) {
|
|
7
|
+
margin-right: var(--ind-padding-base);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--mt > * {
|
|
11
|
+
margin-top: var(--ind-padding-base);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--mb > * {
|
|
15
|
+
margin-bottom: var(--ind-padding-base);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--center {
|
|
19
|
+
justify-content: center;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--right {
|
|
23
|
+
justify-content: flex-end;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--vertical {
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
|
|
29
|
+
& > *:not(:last-child) {
|
|
30
|
+
margin-right: 0;
|
|
31
|
+
margin-bottom: var(--ind-padding-base);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.ind-date-picker {
|
|
2
|
+
.ivu-date-picker {
|
|
3
|
+
width: -webkit-fill-available;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ind-range-date-picker {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
|
|
10
|
+
.range-sep {
|
|
11
|
+
margin: 0 var(--ind-padding-base);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ind-picker-drop {
|
|
17
|
+
.ivu-date-picker-cells-month.quarter,
|
|
18
|
+
.ivu-date-picker-cells-month.half-year {
|
|
19
|
+
span {
|
|
20
|
+
margin-left: 0;
|
|
21
|
+
margin-right: 0;
|
|
22
|
+
width: 50%;
|
|
23
|
+
text-align: center;
|
|
24
|
+
|
|
25
|
+
em {
|
|
26
|
+
width: auto;
|
|
27
|
+
padding: 0 10px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.ivu-date-picker-cells-month.half-year {
|
|
32
|
+
display: flex;
|
|
33
|
+
span {
|
|
34
|
+
flex: 50% 1 1;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.ind-drawer {
|
|
2
|
+
.ivu-drawer-body {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
padding: 0;
|
|
6
|
+
background-color: var(--ind-bg-color-dark) !important;
|
|
7
|
+
}
|
|
8
|
+
.ind-drawer-content {
|
|
9
|
+
flex-grow: 1;
|
|
10
|
+
padding: var(--ind-drawer-content-padding);
|
|
11
|
+
overflow: auto;
|
|
12
|
+
}
|
|
13
|
+
.ind-drawer-footer {
|
|
14
|
+
flex-shrink: 0;
|
|
15
|
+
padding: var(--ind-drawer-footer-padding);
|
|
16
|
+
width: 100%;
|
|
17
|
+
background: #fff;
|
|
18
|
+
border-top: 1px solid var(--ind-border-color);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.ivu-select-dropdown.ivu-dropdown-transfer {
|
|
2
|
+
max-height: none !important;
|
|
3
|
+
|
|
4
|
+
.ind-dropdown-list {
|
|
5
|
+
.ivu-dropdown-menu {
|
|
6
|
+
max-height: 400px;
|
|
7
|
+
overflow-y: auto;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ind-button-group {
|
|
11
|
+
margin: var(--ind-padding-xs) var(--ind-padding-xs) 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ivu-dropdown-item {
|
|
15
|
+
user-select: none;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.excel-flow-wrap {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 60vh;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
|
|
8
|
+
// 步骤条的样式, 按理说不应该自己定义的,先写个版本出来吧
|
|
9
|
+
.ivu-steps .ivu-steps-head,
|
|
10
|
+
.ivu-steps .ivu-steps-main {
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
}
|
|
13
|
+
.ivu-steps .ivu-steps-title {
|
|
14
|
+
margin-bottom: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.content-wrap {
|
|
18
|
+
height: 100%;
|
|
19
|
+
padding: 20px 50px;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
justify-content: flex-start;
|
|
23
|
+
overflow: auto;
|
|
24
|
+
|
|
25
|
+
.download-btn,
|
|
26
|
+
.import-btn {
|
|
27
|
+
margin-top: 20px;
|
|
28
|
+
border: 1px solid var(--ind-border-color);
|
|
29
|
+
border-radius: 4px;
|
|
30
|
+
|
|
31
|
+
display: flex;
|
|
32
|
+
justify-content: space-between;
|
|
33
|
+
.icon {
|
|
34
|
+
width: 120px;
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
border-right: 1px solid var(--ind-border-color);
|
|
37
|
+
background-color: var(--ind-bg-color-dark);
|
|
38
|
+
text-align: center;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
justify-content: space-around;
|
|
42
|
+
}
|
|
43
|
+
.text-panel {
|
|
44
|
+
margin: 20px;
|
|
45
|
+
width: 100%;
|
|
46
|
+
.title {
|
|
47
|
+
font-size: 16px;
|
|
48
|
+
color: var(--ind-black);
|
|
49
|
+
}
|
|
50
|
+
.desc {
|
|
51
|
+
color: var(--ind-gray-5);
|
|
52
|
+
}
|
|
53
|
+
.link {
|
|
54
|
+
color: var(--ind-blue);
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.done-wrap {
|
|
61
|
+
text-align: center;
|
|
62
|
+
.success-title {
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
font-size: 18px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
.bottom-btn-area {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
.ivu-form {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
.ivu-form-item {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
width: 100%;
|
|
7
|
+
margin-bottom: var(--search-margin-bottom) !important;
|
|
8
|
+
.ivu-poptip,
|
|
9
|
+
.ivu-poptip-rel {
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
.textAlignLeft {
|
|
14
|
+
text-align: left;
|
|
15
|
+
}
|
|
16
|
+
.textAlignCenter {
|
|
17
|
+
text-align: center;
|
|
18
|
+
}
|
|
19
|
+
.textAlignRight {
|
|
20
|
+
text-align: right;
|
|
21
|
+
margin-right: 0px;
|
|
22
|
+
// width: 25%;
|
|
23
|
+
.ivu-btn {
|
|
24
|
+
margin-left: var(--search-button-margin);
|
|
25
|
+
}
|
|
26
|
+
.ivu-btn-text {
|
|
27
|
+
color: var(--ind-primary-color);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.show-more-query {
|
|
31
|
+
width: 46px;
|
|
32
|
+
padding: 0 !important;
|
|
33
|
+
&:focus {
|
|
34
|
+
box-shadow: none !important;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ivu-form .ivu-form-item .ivu-form-item-content {
|
|
40
|
+
overflow-wrap: anywhere;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// 全局样式,查询条件-2022年11月11日
|
|
44
|
+
.search {
|
|
45
|
+
// date-picker
|
|
46
|
+
.ind-date-picker {
|
|
47
|
+
width: var(--date-picker-width, 100%);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// form
|
|
51
|
+
.ivu-form {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-wrap: wrap;
|
|
54
|
+
.ivu-form-item {
|
|
55
|
+
margin-bottom: var(--search-margin-bottom) !important;
|
|
56
|
+
}
|
|
57
|
+
.textAlignLeft {
|
|
58
|
+
text-align: left;
|
|
59
|
+
}
|
|
60
|
+
.textAlignCenter {
|
|
61
|
+
text-align: center;
|
|
62
|
+
}
|
|
63
|
+
.textAlignRight {
|
|
64
|
+
text-align: right;
|
|
65
|
+
margin-right: 0px;
|
|
66
|
+
.ivu-btn {
|
|
67
|
+
margin-left: var(--search-button-margin);
|
|
68
|
+
}
|
|
69
|
+
.ivu-btn-text {
|
|
70
|
+
color: var(--ind-primary-color);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ind-v6-style-form {
|
|
77
|
+
#ind-detail-form();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ind-detail-view {
|
|
81
|
+
#ind-detail-form();
|
|
82
|
+
|
|
83
|
+
.content {
|
|
84
|
+
.ivu-card-body:has(.ivu-form) > div {
|
|
85
|
+
// ivu-form 本身已经有border-left border-top边框,这里需要针对此种场景,去掉边框样式
|
|
86
|
+
border-top: none;
|
|
87
|
+
border-left: none;
|
|
88
|
+
}
|
|
89
|
+
.ivu-form {
|
|
90
|
+
// 补充边框样式
|
|
91
|
+
border-top: 1px solid var(--ind-border-color);
|
|
92
|
+
border-left: 1px solid var(--ind-border-color);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ivu-poptip-rel {
|
|
97
|
+
display: block;
|
|
98
|
+
}
|
|
99
|
+
textarea.ivu-input {
|
|
100
|
+
min-height: 50px !important;
|
|
101
|
+
max-height: 150px !important;
|
|
102
|
+
overflow-y: auto !important;
|
|
103
|
+
}
|
|
104
|
+
.ivu-form .ivu-form-item-label {
|
|
105
|
+
font-size: 14px !important;
|
|
106
|
+
text-align: left;
|
|
107
|
+
}
|
|
108
|
+
.ivu-form-item-required .ivu-form-item-label:before {
|
|
109
|
+
position: absolute;
|
|
110
|
+
left: -12px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// TODO emp 注释掉了
|
|
115
|
+
.ivu-card-body > div:has(.ivu-form-item) {
|
|
116
|
+
border-top: 1px solid var(--ind-border-color);
|
|
117
|
+
border-left: 1px solid var(--ind-border-color);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ivu-form-inline .ivu-form-item {
|
|
121
|
+
margin-right: 0 !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ind-detail-form-border {
|
|
125
|
+
border-top: 1px solid var(--ind-border-color) !important;
|
|
126
|
+
border-left: 1px solid var(--ind-border-color) !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ivu-form .ivu-form-item-label {
|
|
130
|
+
padding: var(--ivu-form-item-label-padding);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ivu-form .ivu-form-item-content {
|
|
134
|
+
line-height: var(--ivu-form-item-content-line-height);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
#ind-detail-form {
|
|
138
|
+
.ivu-form:not(.nov6style) {
|
|
139
|
+
.ivu-form-item {
|
|
140
|
+
height: 100%;
|
|
141
|
+
margin-bottom: 0 !important;
|
|
142
|
+
display: flex;
|
|
143
|
+
.ivu-form-item-label {
|
|
144
|
+
position: relative !important;
|
|
145
|
+
flex-shrink: 0;
|
|
146
|
+
flex-grow: 0;
|
|
147
|
+
text-align: left !important;
|
|
148
|
+
background-color: var(--ind-bg-color-dark) !important;
|
|
149
|
+
padding-left: var(--ivu-form-v6stle-item-label-paddingleft);
|
|
150
|
+
border-right: 1px solid var(--ind-border-color);
|
|
151
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
152
|
+
display: flex;
|
|
153
|
+
flex-direction: column;
|
|
154
|
+
justify-content: space-around;
|
|
155
|
+
}
|
|
156
|
+
.ivu-form-item-content {
|
|
157
|
+
flex-grow: 1;
|
|
158
|
+
width: 10px;
|
|
159
|
+
margin-left: 0 !important;
|
|
160
|
+
background-color: white;
|
|
161
|
+
border-right: 1px solid var(--ind-border-color);
|
|
162
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
163
|
+
padding: var(--ivu-form-item-content-padding);
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-direction: column;
|
|
166
|
+
justify-content: space-around;
|
|
167
|
+
color: var(--ind-text-color);
|
|
168
|
+
&
|
|
169
|
+
*:not(
|
|
170
|
+
.ivu-badge-count,
|
|
171
|
+
.ivu-btn,
|
|
172
|
+
.ivu-btn > span,
|
|
173
|
+
.ivu-icon-md-information-circle,
|
|
174
|
+
.ivu-form-item-error-tip,
|
|
175
|
+
.pickerCard .pickQuarterCard .defaultSpan .selected,
|
|
176
|
+
.ivu-select-placeholder,
|
|
177
|
+
.upload-file .content-item .download,
|
|
178
|
+
.upload-file .content-item .delete,
|
|
179
|
+
.upload-file .content-item .preview,
|
|
180
|
+
.upload-file .content-item .download .ivu-icon,
|
|
181
|
+
.upload-file .content-item .delete .ivu-icon,
|
|
182
|
+
.upload-file .content-item .preview .ivu-icon
|
|
183
|
+
) {
|
|
184
|
+
color: var(--ind-text-color);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
.ivu-form-item-required .ivu-form-item-label:before {
|
|
189
|
+
position: absolute;
|
|
190
|
+
left: var(--ivu-form-item-label-before-left, 8px);
|
|
191
|
+
}
|
|
192
|
+
.ivu-form-item-error-tip {
|
|
193
|
+
position: absolute;
|
|
194
|
+
top: 30px;
|
|
195
|
+
left: 5px;
|
|
196
|
+
color: white;
|
|
197
|
+
font-size: 14px;
|
|
198
|
+
padding: 3px;
|
|
199
|
+
background-color: #f56a6a;
|
|
200
|
+
border-radius: 3px;
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
box-shadow: 0 5px 10px #dedede;
|
|
203
|
+
z-index: 999;
|
|
204
|
+
}
|
|
205
|
+
.ivu-form-item-error-tip::after {
|
|
206
|
+
border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ff6969;
|
|
207
|
+
border-style: solid;
|
|
208
|
+
border-width: 6px;
|
|
209
|
+
content: '';
|
|
210
|
+
height: 0;
|
|
211
|
+
left: 15px;
|
|
212
|
+
position: absolute;
|
|
213
|
+
top: -11px;
|
|
214
|
+
z-index: 888;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.ivu-modal {
|
|
220
|
+
.ivu-biz-form-row {
|
|
221
|
+
.ivu-form {
|
|
222
|
+
border-top: 1px solid var(--ind-border-color);
|
|
223
|
+
border-left: 1px solid var(--ind-border-color);
|
|
224
|
+
}
|
|
225
|
+
#ind-detail-form();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ivu-drawer {
|
|
230
|
+
.ivu-biz-form-row {
|
|
231
|
+
.ivu-form {
|
|
232
|
+
border-top: 1px solid var(--ind-border-color);
|
|
233
|
+
border-left: 1px solid var(--ind-border-color);
|
|
234
|
+
}
|
|
235
|
+
#ind-detail-form();
|
|
236
|
+
}
|
|
237
|
+
.ivu-drawer-content {
|
|
238
|
+
height: 100%;
|
|
239
|
+
.ivu-card {
|
|
240
|
+
padding: 0 0 !important;
|
|
241
|
+
overflow: hidden !important;
|
|
242
|
+
width: 100%;
|
|
243
|
+
.ivu-card-head {
|
|
244
|
+
padding: 14px 16px;
|
|
245
|
+
font-size: 16px;
|
|
246
|
+
color: #17233d;
|
|
247
|
+
font-weight: 500;
|
|
248
|
+
// line-height: 20px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// 有些form表单要嵌入到form表单里
|
|
255
|
+
.form-in-form {
|
|
256
|
+
.ivu-form-item-content {
|
|
257
|
+
padding: 0 !important;
|
|
258
|
+
border: none !important;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.condition-pannel-wrap {
|
|
263
|
+
margin-top: 10px;
|
|
264
|
+
width: 100%;
|
|
265
|
+
height: 64vh;
|
|
266
|
+
overflow: auto;
|
|
267
|
+
display: flex;
|
|
268
|
+
justify-content: space-between;
|
|
269
|
+
align-content: flex-start;
|
|
270
|
+
flex-wrap: wrap;
|
|
271
|
+
flex-direction: row;
|
|
272
|
+
.condition-card {
|
|
273
|
+
width: 49%;
|
|
274
|
+
margin-bottom: 10px;
|
|
275
|
+
cursor: pointer;
|
|
276
|
+
.title-row {
|
|
277
|
+
width: 100%;
|
|
278
|
+
display: flex;
|
|
279
|
+
justify-content: flex-start;
|
|
280
|
+
height: 32px;
|
|
281
|
+
line-height: 32px;
|
|
282
|
+
.title-name {
|
|
283
|
+
}
|
|
284
|
+
.title-status {
|
|
285
|
+
flex-shrink: 0;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
.condition-content {
|
|
289
|
+
.contidtion-row {
|
|
290
|
+
display: flex;
|
|
291
|
+
flex-wrap: nowrap;
|
|
292
|
+
.condition-label {
|
|
293
|
+
width: 120px;
|
|
294
|
+
flex-shrink: 0;
|
|
295
|
+
color: var(--ind-desc-color);
|
|
296
|
+
}
|
|
297
|
+
.condition-value {
|
|
298
|
+
width: 100%;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|