@lambo-design/shared 1.0.0-beta.26 → 1.0.0-beta.260
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 +17 -2
- package/config/index.js +7 -2
- package/config/themes/atrovirens/atrovirens.css +578 -0
- package/config/themes/atrovirens/atrovirens.css.map +1 -0
- package/config/themes/atrovirens/atrovirens.less +670 -0
- package/config/themes/atrovirens/var.less +677 -0
- package/config/themes/blue/blue.css +578 -0
- package/config/themes/blue/blue.css.map +1 -0
- package/config/themes/blue/blue.less +672 -0
- package/config/themes/blue/var.less +680 -0
- package/config/themes/blue-white/blue-white.css +582 -0
- package/config/themes/blue-white/blue-white.css.map +1 -0
- package/config/themes/blue-white/blue-white.less +672 -0
- package/config/themes/blue-white/var.less +679 -0
- package/config/themes/blue-white-tight/blue-white-tight.css +579 -0
- package/config/themes/blue-white-tight/blue-white-tight.css.map +1 -0
- package/config/themes/blue-white-tight/blue-white-tight.less +674 -0
- package/config/themes/blue-white-tight/var.less +680 -0
- package/config/themes/cuiwei/cuiwei.css +578 -0
- package/config/themes/cuiwei/cuiwei.css.map +10 -0
- package/config/themes/cuiwei/cuiwei.less +671 -0
- package/config/themes/cuiwei/var.less +682 -0
- package/config/themes/danqing/danqing.css +578 -0
- package/config/themes/danqing/danqing.css.map +1 -0
- package/config/themes/danqing/danqing.less +671 -0
- package/config/themes/danqing/danqing.wxss +576 -0
- package/config/themes/danqing/var.less +682 -0
- package/config/themes/deep/deep.css +578 -0
- package/config/themes/deep/deep.css.map +1 -0
- package/config/themes/deep/deep.less +672 -0
- package/config/themes/deep/var.less +680 -0
- package/config/themes/default/default.css +578 -243
- package/config/themes/default/default.css.map +1 -1
- package/config/themes/default/default.less +370 -16
- package/config/themes/default/var.less +377 -11
- package/config/themes/eap/eap.css +578 -0
- package/config/themes/eap/eap.css.map +1 -0
- package/config/themes/eap/eap.less +674 -0
- package/config/themes/eap/var.less +680 -0
- package/config/themes/gold/gold.css +578 -0
- package/config/themes/gold/gold.css.map +1 -0
- package/config/themes/gold/gold.less +674 -0
- package/config/themes/gold/var.less +371 -5
- package/config/themes/index.js +20 -3
- package/config/themes/lime/lime.css +578 -0
- package/config/themes/lime/lime.css.map +1 -0
- package/config/themes/lime/lime.less +674 -0
- package/config/themes/lime/var.less +372 -5
- package/config/themes/orange/orange.css +578 -243
- package/config/themes/orange/orange.css.map +1 -1
- package/config/themes/orange/orange.less +354 -0
- package/config/themes/orange/var.less +372 -5
- package/config/themes/red/red.css +578 -243
- package/config/themes/red/red.css.map +1 -1
- package/config/themes/red/red.less +354 -0
- package/config/themes/red/var.less +371 -5
- package/config/themes/theme-atrovirens.js +561 -0
- package/config/themes/theme-blue.js +561 -0
- package/config/themes/theme-bw.js +565 -0
- package/config/themes/theme-bwt.js +563 -0
- package/config/themes/theme-cuiwei.js +562 -0
- package/config/themes/theme-danqing.js +566 -0
- package/config/themes/theme-deep.js +561 -0
- package/config/themes/theme-default.js +367 -59
- package/config/themes/theme-eap.js +561 -0
- package/config/themes/theme-gold.js +315 -7
- package/config/themes/theme-lime.js +315 -7
- package/config/themes/theme-orange.js +549 -28
- package/config/themes/theme-red.js +553 -33
- package/config/themes/theme-white.js +561 -0
- package/config/themes/white/var.less +679 -0
- package/config/themes/white/white.css +578 -0
- package/config/themes/white/white.css.map +1 -0
- package/config/themes/white/white.less +672 -0
- 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 +313 -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 +90 -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 +73 -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 +375 -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/lsv/button.less +7 -0
- package/nstyles/variables/theme/lsv/common.less +39 -0
- package/nstyles/variables/theme/lsv/index.less +5 -0
- package/nstyles/variables/theme/lsv/layout.less +21 -0
- package/nstyles/variables/theme/lsv/table.less +20 -0
- package/nstyles/variables/theme/lsv/tag.less +3 -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/layout-header-bg-cuiwei.png +0 -0
- package/styles/image/lv_navigator.png +0 -0
- package/utils/ajax/content-type.js +30 -0
- package/utils/ajax/headers.js +11 -0
- package/utils/ajax/interceptors.js +12 -4
- package/utils/ajax/sseFetchUtil.js +104 -0
- package/utils/assist.js +108 -27
- 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 +168 -0
- package/utils/event.js +72 -0
- package/utils/excel.js +373 -241
- 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 +292 -15
- 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 +812 -23
- 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/transform.js +205 -0
- package/utils/type.js +102 -0
- package/utils/util.js +795 -0
- package/utils/vForm.js +349 -0
- package/utils/validator.js +181 -0
- package/config/themes/gold/default.css +0 -243
- package/config/themes/gold/default.css.map +0 -1
- package/config/themes/gold/default.less +0 -320
- package/config/themes/lime/default.css +0 -243
- package/config/themes/lime/default.css.map +0 -1
- package/config/themes/lime/default.less +0 -320
|
@@ -0,0 +1,313 @@
|
|
|
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
|
+
display: flex !important;
|
|
57
|
+
}
|
|
58
|
+
.ivu-form-item-content {
|
|
59
|
+
margin-left: 0 !important;
|
|
60
|
+
width: 100% !important;
|
|
61
|
+
}
|
|
62
|
+
.ivu-form-item-label {
|
|
63
|
+
flex-shrink: 0;
|
|
64
|
+
}
|
|
65
|
+
.textAlignLeft {
|
|
66
|
+
text-align: left;
|
|
67
|
+
}
|
|
68
|
+
.textAlignCenter {
|
|
69
|
+
text-align: center;
|
|
70
|
+
}
|
|
71
|
+
.textAlignRight {
|
|
72
|
+
text-align: right;
|
|
73
|
+
margin-right: 0px;
|
|
74
|
+
.ivu-btn {
|
|
75
|
+
margin-left: var(--search-button-margin);
|
|
76
|
+
}
|
|
77
|
+
.ivu-btn-text {
|
|
78
|
+
color: var(--ind-primary-color);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ind-v6-style-form {
|
|
85
|
+
#ind-detail-form();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ind-detail-view {
|
|
89
|
+
#ind-detail-form();
|
|
90
|
+
|
|
91
|
+
.content {
|
|
92
|
+
.ivu-card-body:has(.ivu-form) > div {
|
|
93
|
+
// ivu-form 本身已经有border-left border-top边框,这里需要针对此种场景,去掉边框样式
|
|
94
|
+
border-top: none;
|
|
95
|
+
border-left: none;
|
|
96
|
+
}
|
|
97
|
+
.ivu-form {
|
|
98
|
+
// 补充边框样式
|
|
99
|
+
border-top: 1px solid var(--ind-border-color);
|
|
100
|
+
border-left: 1px solid var(--ind-border-color);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ivu-poptip-rel {
|
|
105
|
+
display: block;
|
|
106
|
+
}
|
|
107
|
+
textarea.ivu-input {
|
|
108
|
+
min-height: 50px !important;
|
|
109
|
+
max-height: 150px !important;
|
|
110
|
+
overflow-y: auto !important;
|
|
111
|
+
}
|
|
112
|
+
.ivu-form .ivu-form-item-label {
|
|
113
|
+
font-size: 14px !important;
|
|
114
|
+
text-align: left;
|
|
115
|
+
}
|
|
116
|
+
.ivu-form-item-required .ivu-form-item-label:before {
|
|
117
|
+
position: absolute;
|
|
118
|
+
left: -12px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// TODO emp 注释掉了
|
|
123
|
+
.ivu-card-body > div:has(.ivu-form-item) {
|
|
124
|
+
border-top: 1px solid var(--ind-border-color);
|
|
125
|
+
border-left: 1px solid var(--ind-border-color);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ivu-form-inline .ivu-form-item {
|
|
129
|
+
margin-right: 0 !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.ind-detail-form-border {
|
|
133
|
+
border-top: 1px solid var(--ind-border-color) !important;
|
|
134
|
+
border-left: 1px solid var(--ind-border-color) !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.ivu-form .ivu-form-item-label {
|
|
138
|
+
flex-shrink: 0 !important;
|
|
139
|
+
padding: var(--ivu-form-item-label-padding);
|
|
140
|
+
line-height: unset !important;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ivu-form .ivu-form-item-content {
|
|
144
|
+
line-height: var(--ivu-form-item-content-line-height);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
#ind-detail-form {
|
|
148
|
+
.ivu-form:not(.nov6style) {
|
|
149
|
+
.ivu-form-item {
|
|
150
|
+
height: 100%;
|
|
151
|
+
margin-bottom: 0 !important;
|
|
152
|
+
display: flex;
|
|
153
|
+
.ivu-form-item-label {
|
|
154
|
+
position: relative !important;
|
|
155
|
+
flex-shrink: 0;
|
|
156
|
+
flex-grow: 0;
|
|
157
|
+
text-align: left !important;
|
|
158
|
+
background-color: var(--ind-bg-color-dark) !important;
|
|
159
|
+
padding-left: var(--ivu-form-v6stle-item-label-paddingleft);
|
|
160
|
+
border-right: 1px solid var(--ind-border-color);
|
|
161
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
162
|
+
display: flex;
|
|
163
|
+
flex-direction: column;
|
|
164
|
+
justify-content: space-around;
|
|
165
|
+
}
|
|
166
|
+
.ivu-form-item-content {
|
|
167
|
+
flex-grow: 1;
|
|
168
|
+
width: 10px;
|
|
169
|
+
margin-left: 0 !important;
|
|
170
|
+
background-color: white;
|
|
171
|
+
border-right: 1px solid var(--ind-border-color);
|
|
172
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
173
|
+
padding: var(--ivu-form-item-content-padding);
|
|
174
|
+
display: flex;
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
justify-content: space-around;
|
|
177
|
+
color: var(--ind-text-color);
|
|
178
|
+
&
|
|
179
|
+
*:not(
|
|
180
|
+
.ivu-badge-count,
|
|
181
|
+
.ivu-btn,
|
|
182
|
+
.ivu-btn > span,
|
|
183
|
+
.ivu-icon-md-information-circle,
|
|
184
|
+
.ivu-form-item-error-tip,
|
|
185
|
+
.pickerCard .pickQuarterCard .defaultSpan .selected,
|
|
186
|
+
.ivu-select-placeholder,
|
|
187
|
+
.upload-file .content-item .download,
|
|
188
|
+
.upload-file .content-item .delete,
|
|
189
|
+
.upload-file .content-item .preview,
|
|
190
|
+
.upload-file .content-item .download .ivu-icon,
|
|
191
|
+
.upload-file .content-item .delete .ivu-icon,
|
|
192
|
+
.upload-file .content-item .preview .ivu-icon
|
|
193
|
+
) {
|
|
194
|
+
color: var(--ind-text-color);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
.ivu-form-item-required .ivu-form-item-label:before {
|
|
199
|
+
position: absolute;
|
|
200
|
+
left: var(--ivu-form-item-label-before-left, 8px);
|
|
201
|
+
}
|
|
202
|
+
.ivu-form-item-error-tip {
|
|
203
|
+
position: absolute;
|
|
204
|
+
top: 30px;
|
|
205
|
+
left: 5px;
|
|
206
|
+
color: white;
|
|
207
|
+
font-size: 14px;
|
|
208
|
+
padding: 3px;
|
|
209
|
+
background-color: #f56a6a;
|
|
210
|
+
border-radius: 3px;
|
|
211
|
+
font-weight: 600;
|
|
212
|
+
box-shadow: 0 5px 10px #dedede;
|
|
213
|
+
z-index: 999;
|
|
214
|
+
}
|
|
215
|
+
.ivu-form-item-error-tip::after {
|
|
216
|
+
border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ff6969;
|
|
217
|
+
border-style: solid;
|
|
218
|
+
border-width: 6px;
|
|
219
|
+
content: '';
|
|
220
|
+
height: 0;
|
|
221
|
+
left: 15px;
|
|
222
|
+
position: absolute;
|
|
223
|
+
top: -11px;
|
|
224
|
+
z-index: 888;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.ivu-modal {
|
|
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
|
+
}
|
|
238
|
+
|
|
239
|
+
.ivu-drawer {
|
|
240
|
+
.ivu-biz-form-row {
|
|
241
|
+
.ivu-form {
|
|
242
|
+
border-top: 1px solid var(--ind-border-color);
|
|
243
|
+
border-left: 1px solid var(--ind-border-color);
|
|
244
|
+
}
|
|
245
|
+
#ind-detail-form();
|
|
246
|
+
}
|
|
247
|
+
.ivu-drawer-content {
|
|
248
|
+
height: 100%;
|
|
249
|
+
.ivu-card {
|
|
250
|
+
padding: 0 0 !important;
|
|
251
|
+
overflow: hidden !important;
|
|
252
|
+
width: 100%;
|
|
253
|
+
.ivu-card-head {
|
|
254
|
+
padding: 14px 16px;
|
|
255
|
+
font-size: 16px;
|
|
256
|
+
color: #17233d;
|
|
257
|
+
font-weight: 500;
|
|
258
|
+
// line-height: 20px;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// 有些form表单要嵌入到form表单里
|
|
265
|
+
.form-in-form {
|
|
266
|
+
.ivu-form-item-content {
|
|
267
|
+
padding: 0 !important;
|
|
268
|
+
border: none !important;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.condition-pannel-wrap {
|
|
273
|
+
margin-top: 10px;
|
|
274
|
+
width: 100%;
|
|
275
|
+
height: 64vh;
|
|
276
|
+
overflow: auto;
|
|
277
|
+
display: flex;
|
|
278
|
+
justify-content: space-between;
|
|
279
|
+
align-content: flex-start;
|
|
280
|
+
flex-wrap: wrap;
|
|
281
|
+
flex-direction: row;
|
|
282
|
+
.condition-card {
|
|
283
|
+
width: 49%;
|
|
284
|
+
margin-bottom: 10px;
|
|
285
|
+
cursor: pointer;
|
|
286
|
+
.title-row {
|
|
287
|
+
width: 100%;
|
|
288
|
+
display: flex;
|
|
289
|
+
justify-content: flex-start;
|
|
290
|
+
height: 32px;
|
|
291
|
+
line-height: 32px;
|
|
292
|
+
.title-name {
|
|
293
|
+
}
|
|
294
|
+
.title-status {
|
|
295
|
+
flex-shrink: 0;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
.condition-content {
|
|
299
|
+
.contidtion-row {
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-wrap: nowrap;
|
|
302
|
+
.condition-label {
|
|
303
|
+
width: 120px;
|
|
304
|
+
flex-shrink: 0;
|
|
305
|
+
color: var(--ind-desc-color);
|
|
306
|
+
}
|
|
307
|
+
.condition-value {
|
|
308
|
+
width: 100%;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@import './layout/index.less';
|
|
2
|
+
@import './404.less';
|
|
3
|
+
@import './button.less';
|
|
4
|
+
@import './date-picker.less';
|
|
5
|
+
@import './drawer.less';
|
|
6
|
+
@import './dropdown.less';
|
|
7
|
+
@import './excel-flow.less';
|
|
8
|
+
@import './form.less';
|
|
9
|
+
@import './modal.less';
|
|
10
|
+
@import './panel.less';
|
|
11
|
+
@import './select.less';
|
|
12
|
+
@import './sign.less';
|
|
13
|
+
@import './table.less';
|
|
14
|
+
@import './tree.less';
|
|
15
|
+
@import './upload.less';
|
|
16
|
+
@import './n-button.less';
|
|
17
|
+
@import './n-model/index.less';
|
|
18
|
+
@import './n-model/report-index.less';
|
|
19
|
+
@import './n-image-preview.less';
|
|
20
|
+
@import './n-picker.less';
|
|
21
|
+
@import './n-sign.less';
|
|
22
|
+
@import './n-tooltip.less';
|
|
23
|
+
@import './n-panel.less';
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@menu-name-padding: 15px 28px 15px 30px; // 标题行padding
|
|
2
|
+
@menu-title-font-size: 20px;
|
|
3
|
+
@menu-title-color: #17233d;
|
|
4
|
+
@page-content-padding: 12px;
|
|
5
|
+
|
|
6
|
+
.ind-detail-view {
|
|
7
|
+
height: 100%;
|
|
8
|
+
background-color: var(--ind-bg-color-dark);
|
|
9
|
+
overflow: auto;
|
|
10
|
+
|
|
11
|
+
&:has(.ind-detail-form) .lambo-grid-table {
|
|
12
|
+
padding-top: var(--ind-unit-switch-bottom);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// position: relative;
|
|
16
|
+
.header {
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: @menu-name-padding;
|
|
20
|
+
// padding: var(--ind-page-padding);
|
|
21
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
22
|
+
background: white;
|
|
23
|
+
z-index: 14;
|
|
24
|
+
|
|
25
|
+
.title {
|
|
26
|
+
font-size: @menu-title-font-size;
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
color: @menu-title-color;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.back-btn + .title {
|
|
32
|
+
margin-left: 8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.header-buttons {
|
|
36
|
+
flex-grow: 1;
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
align-items: center;
|
|
40
|
+
|
|
41
|
+
.ivu-btn + .ivu-btn {
|
|
42
|
+
margin-left: 10px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.content {
|
|
48
|
+
padding: @page-content-padding;
|
|
49
|
+
// padding: var(--ind-page-padding);
|
|
50
|
+
// TODO card
|
|
51
|
+
.ivu-card {
|
|
52
|
+
padding: 0px 8px;
|
|
53
|
+
}
|
|
54
|
+
.ivu-form {
|
|
55
|
+
background: white;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.function-wrapper {
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
padding: 6px 0;
|
|
63
|
+
width: 100%;
|
|
64
|
+
text-align: center;
|
|
65
|
+
border-top: 1px solid var(--ind-border-color);
|
|
66
|
+
background: #fff;
|
|
67
|
+
|
|
68
|
+
.ivu-btn + .ivu-btn {
|
|
69
|
+
margin-left: 10px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.has-padding {
|
|
74
|
+
.content-row {
|
|
75
|
+
padding: 16px 16px;
|
|
76
|
+
background-color: #fff;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.ind-detial-with-table {
|
|
81
|
+
.content-row {
|
|
82
|
+
height: 100%;
|
|
83
|
+
}
|
|
84
|
+
.ind-loading-panel {
|
|
85
|
+
height: 100%;
|
|
86
|
+
}
|
|
87
|
+
.ivu-card {
|
|
88
|
+
height: 100%;
|
|
89
|
+
}
|
|
90
|
+
.ivu-card-body {
|
|
91
|
+
height: 100%;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ind-detail-view .content .ivu-card {
|
|
97
|
+
padding: 0 0 !important;
|
|
98
|
+
overflow: hidden !important;
|
|
99
|
+
width: 100%;
|
|
100
|
+
.ivu-card-head {
|
|
101
|
+
padding: 14px 16px;
|
|
102
|
+
font-size: 16px;
|
|
103
|
+
color: #17233d;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
// line-height: 20px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
.ind-other-menu {
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
border-top: 1px solid var(--menu-black-active-bg);
|
|
5
|
+
background: var(--menu-black-active-bg);
|
|
6
|
+
|
|
7
|
+
.other-menu-item {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 40px;
|
|
10
|
+
line-height: 40px;
|
|
11
|
+
color: var(--menu-white-group-title-color);
|
|
12
|
+
text-align: center;
|
|
13
|
+
border-radius: 3px;
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
color: var(--ind-primary-color);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.ind-other-menu-collapsed {
|
|
22
|
+
display: block;
|
|
23
|
+
|
|
24
|
+
.other-menu-item {
|
|
25
|
+
border-top: 1px solid var(--ind-border-color);
|
|
26
|
+
|
|
27
|
+
.ivu-tooltip {
|
|
28
|
+
width: 100%;
|
|
29
|
+
|
|
30
|
+
.ivu-tooltip-rel {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ivu-tooltip-popper .ivu-tooltip-content {
|
|
35
|
+
.ivu-tooltip-arrow {
|
|
36
|
+
border-right-color: #fff;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ivu-tooltip-inner {
|
|
40
|
+
background: #fff;
|
|
41
|
+
color: #495060;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.other-menu-icon {
|
|
47
|
+
font-size: 20px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.other-menu-title {
|
|
51
|
+
font-size: 14px;
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ind-other-menu-drawer-wrap {
|
|
59
|
+
.ivu-drawer {
|
|
60
|
+
// left: 256px;
|
|
61
|
+
height: calc(100% - 110px);
|
|
62
|
+
bottom: 0;
|
|
63
|
+
top: auto;
|
|
64
|
+
|
|
65
|
+
.other-menu-history {
|
|
66
|
+
.other-menu-history-item {
|
|
67
|
+
width: 100%;
|
|
68
|
+
height: 35px;
|
|
69
|
+
line-height: 35px;
|
|
70
|
+
position: relative;
|
|
71
|
+
|
|
72
|
+
.delete {
|
|
73
|
+
display: none;
|
|
74
|
+
position: absolute;
|
|
75
|
+
right: 15px;
|
|
76
|
+
top: 0px;
|
|
77
|
+
cursor: pointer;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
.content {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
height: 38px;
|
|
84
|
+
font-weight: bold;
|
|
85
|
+
color: var(--ind-primary-color);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.delete {
|
|
89
|
+
display: inline;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.other-menu-collect {
|
|
96
|
+
.other-menu-collect-item {
|
|
97
|
+
width: 100%;
|
|
98
|
+
display: inline-block;
|
|
99
|
+
height: 35px;
|
|
100
|
+
line-height: 35px;
|
|
101
|
+
position: relative;
|
|
102
|
+
|
|
103
|
+
.delete {
|
|
104
|
+
display: none;
|
|
105
|
+
position: absolute;
|
|
106
|
+
right: 15px;
|
|
107
|
+
top: 0px;
|
|
108
|
+
z-index: 100;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:hover {
|
|
113
|
+
.content {
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
color: var(--ind-primary-color);
|
|
116
|
+
|
|
117
|
+
.ivu-tooltip {
|
|
118
|
+
.ivu-tooltip-rel {
|
|
119
|
+
.ivu-icon {
|
|
120
|
+
// font-size: 43px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.delete {
|
|
127
|
+
display: inline;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ind-other-menu-drawer-wrap-collapsed {
|
|
136
|
+
.ivu-drawer {
|
|
137
|
+
left: 65px;
|
|
138
|
+
height: calc(100% - 110px);
|
|
139
|
+
bottom: 0;
|
|
140
|
+
top: auto;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
@menu-name-padding: var(--menu-name-padding); // 15px 28px 15px 30px; // 标题行padding
|
|
2
|
+
@menu-title-font-size: var(--menu-title-font-size); // 20px;
|
|
3
|
+
@menu-title-color: var(--menu-title-color); // #17233d;
|
|
4
|
+
@page-content-padding: var(--page-content-padding); // 12px;
|
|
5
|
+
|
|
6
|
+
.ind-page-view {
|
|
7
|
+
height: 100%;
|
|
8
|
+
background-color: var(--ind-bg-color-dark);
|
|
9
|
+
overflow: auto;
|
|
10
|
+
|
|
11
|
+
.header {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
padding: @menu-name-padding;
|
|
15
|
+
// padding: 0 var(--ind-page-padding);
|
|
16
|
+
border-bottom: 1px solid var(--ind-border-color);
|
|
17
|
+
background: white;
|
|
18
|
+
z-index: 15;
|
|
19
|
+
|
|
20
|
+
.title {
|
|
21
|
+
font-size: @menu-title-font-size;
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
line-height: 32px;
|
|
24
|
+
color: @menu-title-color;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.back-btn + .title {
|
|
28
|
+
margin-left: 8px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.function-wrapper {
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: flex-end;
|
|
35
|
+
align-items: center;
|
|
36
|
+
|
|
37
|
+
.ivu-btn + .ivu-btn {
|
|
38
|
+
margin-left: 10px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.content {
|
|
44
|
+
// padding: var(--ind-page-padding);
|
|
45
|
+
padding: @page-content-padding @page-content-padding 0;
|
|
46
|
+
box-sizing: border-box;
|
|
47
|
+
|
|
48
|
+
.top-search-content {
|
|
49
|
+
margin-bottom: var(--ind-panel-vertical-margin);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.body-content {
|
|
53
|
+
display: flex;
|
|
54
|
+
height: 10px; // 为了不被撑开,给个高度
|
|
55
|
+
|
|
56
|
+
.body-left-content {
|
|
57
|
+
flex: 0 0 16.67%;
|
|
58
|
+
// margin-right: var(--ind-panel-horizon-margin);
|
|
59
|
+
margin-right: 5px;
|
|
60
|
+
overflow: auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.body-right-content {
|
|
64
|
+
flex: auto;
|
|
65
|
+
|
|
66
|
+
.ind-loading-panel {
|
|
67
|
+
height: 100% !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.main-content {
|
|
71
|
+
overflow-y: auto;
|
|
72
|
+
overflow-x: hidden;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.body-right-content-footer {
|
|
76
|
+
display: flex;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
align-items: center;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.bottom {
|
|
84
|
+
display: flex;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
align-items: center;
|
|
87
|
+
// margin-top: var(--ind-panel-vertical-margin);
|
|
88
|
+
|
|
89
|
+
// from emp
|
|
90
|
+
margin-top: 4px;
|
|
91
|
+
margin-left: calc(0px - @page-content-padding);
|
|
92
|
+
padding: 6px 0;
|
|
93
|
+
width: calc(100% + @page-content-padding * 2);
|
|
94
|
+
border-top: 1px solid var(--ind-border-color);
|
|
95
|
+
background: #fff;
|
|
96
|
+
.ivu-btn + .ivu-btn {
|
|
97
|
+
margin-left: 10px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|