@lambo-design/shared 1.0.0-beta.241 → 1.0.0-beta.243

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.
Files changed (170) hide show
  1. package/config/config.js +51 -51
  2. package/config/env.js +4 -4
  3. package/config/index.js +7 -7
  4. package/config/themes/atrovirens/atrovirens.less +667 -667
  5. package/config/themes/atrovirens/var.less +674 -674
  6. package/config/themes/blue/blue.less +669 -669
  7. package/config/themes/blue/var.less +677 -677
  8. package/config/themes/blue-white/blue-white.less +669 -669
  9. package/config/themes/blue-white/var.less +676 -676
  10. package/config/themes/blue-white-tight/blue-white-tight.less +672 -672
  11. package/config/themes/blue-white-tight/var.less +677 -677
  12. package/config/themes/danqing/danqing.less +668 -668
  13. package/config/themes/danqing/danqing.wxss +572 -572
  14. package/config/themes/danqing/var.less +679 -679
  15. package/config/themes/deep/deep.less +669 -669
  16. package/config/themes/deep/var.less +677 -677
  17. package/config/themes/default/default.less +671 -671
  18. package/config/themes/default/var.less +677 -677
  19. package/config/themes/eap/eap.less +671 -671
  20. package/config/themes/eap/var.less +677 -677
  21. package/config/themes/gold/gold.less +671 -671
  22. package/config/themes/gold/var.less +677 -677
  23. package/config/themes/index.js +28 -28
  24. package/config/themes/lime/lime.less +671 -671
  25. package/config/themes/lime/var.less +678 -678
  26. package/config/themes/orange/orange.less +671 -671
  27. package/config/themes/orange/var.less +678 -678
  28. package/config/themes/red/red.less +671 -671
  29. package/config/themes/red/var.less +677 -677
  30. package/config/themes/theme-atrovirens.js +558 -558
  31. package/config/themes/theme-blue.js +558 -558
  32. package/config/themes/theme-bw.js +558 -558
  33. package/config/themes/theme-bwt.js +559 -559
  34. package/config/themes/theme-danqing.js +558 -558
  35. package/config/themes/theme-deep.js +558 -558
  36. package/config/themes/theme-default.js +558 -558
  37. package/config/themes/theme-eap.js +558 -558
  38. package/config/themes/theme-gold.js +558 -558
  39. package/config/themes/theme-lime.js +558 -558
  40. package/config/themes/theme-orange.js +559 -559
  41. package/config/themes/theme-red.js +558 -558
  42. package/config/themes/theme-white.js +557 -557
  43. package/config/themes/white/var.less +675 -675
  44. package/config/themes/white/white.less +668 -668
  45. package/directives/index.js +23 -23
  46. package/directives/module/draggable.js +56 -56
  47. package/directives/module/permission.js +49 -49
  48. package/directives/module/print.js +1 -1
  49. package/directives/module/vue-print-nb/README.md +63 -63
  50. package/directives/module/vue-print-nb/print.js +94 -94
  51. package/directives/module/vue-print-nb/printarea.js +532 -532
  52. package/index.js +10 -10
  53. package/nstyles/common.less +197 -197
  54. package/nstyles/components/404.less +46 -46
  55. package/nstyles/components/button.less +34 -34
  56. package/nstyles/components/date-picker.less +37 -37
  57. package/nstyles/components/drawer.less +20 -20
  58. package/nstyles/components/dropdown.less +18 -18
  59. package/nstyles/components/excel-flow.less +72 -72
  60. package/nstyles/components/form.less +313 -313
  61. package/nstyles/components/index.less +23 -23
  62. package/nstyles/components/layout/collect.less +10 -10
  63. package/nstyles/components/layout/detail-view.less +107 -107
  64. package/nstyles/components/layout/full-screen.less +7 -7
  65. package/nstyles/components/layout/index.less +7 -7
  66. package/nstyles/components/layout/other-menu.less +142 -142
  67. package/nstyles/components/layout/page-view.less +101 -101
  68. package/nstyles/components/layout/sider-trigger.less +41 -41
  69. package/nstyles/components/layout/tags-nav.less +113 -113
  70. package/nstyles/components/modal.less +85 -85
  71. package/nstyles/components/n-button.less +131 -131
  72. package/nstyles/components/n-image-preview.less +131 -131
  73. package/nstyles/components/n-model/index.less +19 -19
  74. package/nstyles/components/n-model/report-index.less +43 -43
  75. package/nstyles/components/n-panel.less +40 -40
  76. package/nstyles/components/n-picker.less +37 -37
  77. package/nstyles/components/n-sign.less +17 -17
  78. package/nstyles/components/n-tooltip.less +10 -10
  79. package/nstyles/components/panel.less +31 -31
  80. package/nstyles/components/select.less +3 -3
  81. package/nstyles/components/sign.less +27 -27
  82. package/nstyles/components/table.less +315 -315
  83. package/nstyles/components/tree.less +158 -158
  84. package/nstyles/components/upload.less +164 -164
  85. package/nstyles/index.less +5 -5
  86. package/nstyles/reset.less +65 -65
  87. package/nstyles/third/ag.less +174 -174
  88. package/nstyles/third/index.less +11 -11
  89. package/nstyles/third/view-design.less +366 -366
  90. package/nstyles/variables/base.less +143 -143
  91. package/nstyles/variables/index.less +4 -4
  92. package/nstyles/variables/theme/default/button.less +7 -7
  93. package/nstyles/variables/theme/default/common.less +57 -57
  94. package/nstyles/variables/theme/default/index.less +7 -7
  95. package/nstyles/variables/theme/default/layout.less +40 -40
  96. package/nstyles/variables/theme/default/table.less +37 -37
  97. package/nstyles/variables/theme/default/tag.less +3 -3
  98. package/nstyles/variables/theme/default/upload.less +3 -3
  99. package/nstyles/variables/theme/index.less +13 -13
  100. package/nstyles/variables/theme/small/button.less +7 -7
  101. package/nstyles/variables/theme/small/common.less +39 -39
  102. package/nstyles/variables/theme/small/index.less +5 -5
  103. package/nstyles/variables/theme/small/layout.less +21 -21
  104. package/nstyles/variables/theme/small/table.less +17 -17
  105. package/nstyles/variables/theme/small/tag.less +3 -3
  106. package/package.json +1 -1
  107. package/plugin/index.js +12 -12
  108. package/plugin/module/date-format.js +30 -30
  109. package/plugin/module/loading.js +26 -26
  110. package/plugin/module/warn-handler.js +11 -11
  111. package/styles/variables.less +21 -21
  112. package/utils/ajax/cacheconf.js +19 -19
  113. package/utils/ajax/content-type.js +30 -30
  114. package/utils/ajax/index.js +12 -12
  115. package/utils/ajax/interceptors.js +97 -97
  116. package/utils/assist.js +147 -147
  117. package/utils/base64.js +126 -126
  118. package/utils/blob.js +47 -47
  119. package/utils/bus.js +3 -3
  120. package/utils/crypto/index.js +48 -48
  121. package/utils/crypto/md5.js +152 -152
  122. package/utils/crypto/sm3.js +235 -235
  123. package/utils/date.js +381 -381
  124. package/utils/dict/built-in-dict.js +20 -20
  125. package/utils/dict/index.js +167 -167
  126. package/utils/dom.js +38 -38
  127. package/utils/event.js +72 -72
  128. package/utils/excel.js +655 -655
  129. package/utils/file.js +19 -19
  130. package/utils/form/validate.js +29 -29
  131. package/utils/half-year.js +68 -68
  132. package/utils/index.js +41 -41
  133. package/utils/json.js +29 -29
  134. package/utils/lodop.js +165 -165
  135. package/utils/menu/before-close.js +17 -17
  136. package/utils/menu/index.js +395 -395
  137. package/utils/mime_type.js +67 -67
  138. package/utils/modelerUtil.js +227 -227
  139. package/utils/n/api.js +22 -22
  140. package/utils/n/date.js +57 -57
  141. package/utils/n/index.js +9 -9
  142. package/utils/n/is-type.js +176 -176
  143. package/utils/n/number.js +144 -144
  144. package/utils/n/permission-cache.js +11 -11
  145. package/utils/n/reuqest/axiosN.js +17 -17
  146. package/utils/n/reuqest/content-type.js +19 -19
  147. package/utils/n/reuqest/interceptors.js +95 -95
  148. package/utils/n/reuqest/url-params.js +12 -12
  149. package/utils/n/storage.js +51 -51
  150. package/utils/n/token.js +51 -51
  151. package/utils/n/user-cache.js +11 -11
  152. package/utils/n/user.js +34 -34
  153. package/utils/n/uuid.js +16 -16
  154. package/utils/n-generator-routers.js +208 -208
  155. package/utils/n-router.js +205 -205
  156. package/utils/n-theme.js +30 -30
  157. package/utils/number.js +180 -180
  158. package/utils/oss.js +57 -57
  159. package/utils/platform.js +1334 -1334
  160. package/utils/quarter.js +58 -58
  161. package/utils/storage.js +198 -198
  162. package/utils/style.js +24 -24
  163. package/utils/theme.js +138 -138
  164. package/utils/transfer-queue.js +7 -7
  165. package/utils/transform.js +204 -204
  166. package/utils/type.js +102 -102
  167. package/utils/util.js +795 -795
  168. package/utils/validator.js +181 -181
  169. package/utils/vxetable/index.js +25 -25
  170. package/utils/zoomScroll.js +9 -9
@@ -1,313 +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
- }
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
+ }
@@ -1,23 +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';
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';
@@ -1,10 +1,10 @@
1
- .ind-collect-btn {
2
- display: inline-block;
3
- margin-left: 6px;
4
-
5
- .ivu-tooltip-rel {
6
- i {
7
- cursor: pointer;
8
- }
9
- }
10
- }
1
+ .ind-collect-btn {
2
+ display: inline-block;
3
+ margin-left: 6px;
4
+
5
+ .ivu-tooltip-rel {
6
+ i {
7
+ cursor: pointer;
8
+ }
9
+ }
10
+ }