@lambo-design/shared 1.0.0-beta.236 → 1.0.0-beta.239

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