@lambo-design/shared 1.0.0-beta.27 → 1.0.0-beta.270

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 (211) hide show
  1. package/config/config.js +17 -2
  2. package/config/index.js +7 -2
  3. package/config/themes/atrovirens/atrovirens.css +578 -0
  4. package/config/themes/atrovirens/atrovirens.css.map +1 -0
  5. package/config/themes/atrovirens/atrovirens.less +673 -0
  6. package/config/themes/atrovirens/var.less +680 -0
  7. package/config/themes/blue/blue.css +578 -0
  8. package/config/themes/blue/blue.css.map +1 -0
  9. package/config/themes/blue/blue.less +675 -0
  10. package/config/themes/blue/var.less +683 -0
  11. package/config/themes/blue-white/blue-white.css +582 -0
  12. package/config/themes/blue-white/blue-white.css.map +1 -0
  13. package/config/themes/blue-white/blue-white.less +675 -0
  14. package/config/themes/blue-white/var.less +681 -0
  15. package/config/themes/blue-white-tight/blue-white-tight.css +579 -0
  16. package/config/themes/blue-white-tight/blue-white-tight.css.map +1 -0
  17. package/config/themes/blue-white-tight/blue-white-tight.less +676 -0
  18. package/config/themes/blue-white-tight/var.less +683 -0
  19. package/config/themes/cuiwei/cuiwei.css +578 -0
  20. package/config/themes/cuiwei/cuiwei.css.map +10 -0
  21. package/config/themes/cuiwei/cuiwei.less +673 -0
  22. package/config/themes/cuiwei/var.less +683 -0
  23. package/config/themes/danqing/danqing.css +578 -0
  24. package/config/themes/danqing/danqing.css.map +1 -0
  25. package/config/themes/danqing/danqing.less +673 -0
  26. package/config/themes/danqing/danqing.wxss +576 -0
  27. package/config/themes/danqing/var.less +684 -0
  28. package/config/themes/deep/deep.css +578 -0
  29. package/config/themes/deep/deep.css.map +1 -0
  30. package/config/themes/deep/deep.less +673 -0
  31. package/config/themes/deep/var.less +683 -0
  32. package/config/themes/default/default.css +393 -58
  33. package/config/themes/default/default.css.map +1 -1
  34. package/config/themes/default/default.less +371 -16
  35. package/config/themes/default/var.less +380 -11
  36. package/config/themes/eap/eap.css +578 -0
  37. package/config/themes/eap/eap.css.map +1 -0
  38. package/config/themes/eap/eap.less +676 -0
  39. package/config/themes/eap/var.less +683 -0
  40. package/config/themes/gold/gold.css +578 -0
  41. package/config/themes/gold/gold.css.map +1 -0
  42. package/config/themes/gold/gold.less +676 -0
  43. package/config/themes/gold/var.less +374 -5
  44. package/config/themes/index.js +20 -3
  45. package/config/themes/lime/lime.css +578 -0
  46. package/config/themes/lime/lime.css.map +1 -0
  47. package/config/themes/lime/lime.less +676 -0
  48. package/config/themes/lime/var.less +374 -5
  49. package/config/themes/orange/orange.css +343 -8
  50. package/config/themes/orange/orange.css.map +1 -1
  51. package/config/themes/orange/orange.less +356 -0
  52. package/config/themes/orange/var.less +375 -5
  53. package/config/themes/red/red.css +343 -8
  54. package/config/themes/red/red.css.map +1 -1
  55. package/config/themes/red/red.less +356 -0
  56. package/config/themes/red/var.less +374 -5
  57. package/config/themes/theme-atrovirens.js +563 -0
  58. package/config/themes/theme-blue.js +563 -0
  59. package/config/themes/theme-bw.js +567 -0
  60. package/config/themes/theme-bwt.js +564 -0
  61. package/config/themes/theme-cuiwei.js +564 -0
  62. package/config/themes/theme-danqing.js +567 -0
  63. package/config/themes/theme-deep.js +563 -0
  64. package/config/themes/theme-default.js +369 -59
  65. package/config/themes/theme-eap.js +563 -0
  66. package/config/themes/theme-gold.js +317 -7
  67. package/config/themes/theme-lime.js +317 -7
  68. package/config/themes/theme-orange.js +551 -28
  69. package/config/themes/theme-red.js +555 -33
  70. package/config/themes/theme-white.js +563 -0
  71. package/config/themes/white/var.less +683 -0
  72. package/config/themes/white/white.css +578 -0
  73. package/config/themes/white/white.css.map +1 -0
  74. package/config/themes/white/white.less +675 -0
  75. package/directives/module/print.js +1 -0
  76. package/directives/module/vue-print-nb/README.md +63 -0
  77. package/directives/module/vue-print-nb/print.js +94 -0
  78. package/directives/module/vue-print-nb/printarea.js +532 -0
  79. package/index.js +7 -1
  80. package/nstyles/common.less +197 -0
  81. package/nstyles/components/404.less +46 -0
  82. package/nstyles/components/button.less +34 -0
  83. package/nstyles/components/date-picker.less +37 -0
  84. package/nstyles/components/drawer.less +20 -0
  85. package/nstyles/components/dropdown.less +18 -0
  86. package/nstyles/components/excel-flow.less +72 -0
  87. package/nstyles/components/form.less +313 -0
  88. package/nstyles/components/index.less +23 -0
  89. package/nstyles/components/layout/collect.less +10 -0
  90. package/nstyles/components/layout/detail-view.less +107 -0
  91. package/nstyles/components/layout/full-screen.less +7 -0
  92. package/nstyles/components/layout/index.less +7 -0
  93. package/nstyles/components/layout/other-menu.less +142 -0
  94. package/nstyles/components/layout/page-view.less +101 -0
  95. package/nstyles/components/layout/sider-trigger.less +41 -0
  96. package/nstyles/components/layout/tags-nav.less +113 -0
  97. package/nstyles/components/modal.less +90 -0
  98. package/nstyles/components/n-button.less +131 -0
  99. package/nstyles/components/n-image-preview.less +131 -0
  100. package/nstyles/components/n-model/index.less +19 -0
  101. package/nstyles/components/n-model/report-index.less +43 -0
  102. package/nstyles/components/n-panel.less +41 -0
  103. package/nstyles/components/n-picker.less +37 -0
  104. package/nstyles/components/n-sign.less +17 -0
  105. package/nstyles/components/n-tooltip.less +10 -0
  106. package/nstyles/components/panel.less +31 -0
  107. package/nstyles/components/select.less +3 -0
  108. package/nstyles/components/sign.less +27 -0
  109. package/nstyles/components/table.less +315 -0
  110. package/nstyles/components/tree.less +159 -0
  111. package/nstyles/components/upload.less +164 -0
  112. package/nstyles/index.less +5 -0
  113. package/nstyles/reset.less +73 -0
  114. package/nstyles/third/ag.less +174 -0
  115. package/nstyles/third/icons/sort-desc.svg +1 -0
  116. package/nstyles/third/icons/sort-up.svg +1 -0
  117. package/nstyles/third/icons/sorting.svg +1 -0
  118. package/nstyles/third/index.less +11 -0
  119. package/nstyles/third/view-design.less +375 -0
  120. package/nstyles/variables/base.less +143 -0
  121. package/nstyles/variables/index.less +4 -0
  122. package/nstyles/variables/theme/default/button.less +7 -0
  123. package/nstyles/variables/theme/default/common.less +57 -0
  124. package/nstyles/variables/theme/default/index.less +7 -0
  125. package/nstyles/variables/theme/default/layout.less +40 -0
  126. package/nstyles/variables/theme/default/table.less +37 -0
  127. package/nstyles/variables/theme/default/tag.less +3 -0
  128. package/nstyles/variables/theme/default/upload.less +3 -0
  129. package/nstyles/variables/theme/index.less +13 -0
  130. package/nstyles/variables/theme/lsv/button.less +7 -0
  131. package/nstyles/variables/theme/lsv/common.less +39 -0
  132. package/nstyles/variables/theme/lsv/index.less +5 -0
  133. package/nstyles/variables/theme/lsv/layout.less +21 -0
  134. package/nstyles/variables/theme/lsv/table.less +20 -0
  135. package/nstyles/variables/theme/lsv/tag.less +3 -0
  136. package/nstyles/variables/theme/small/button.less +7 -0
  137. package/nstyles/variables/theme/small/common.less +39 -0
  138. package/nstyles/variables/theme/small/index.less +5 -0
  139. package/nstyles/variables/theme/small/layout.less +21 -0
  140. package/nstyles/variables/theme/small/table.less +17 -0
  141. package/nstyles/variables/theme/small/tag.less +3 -0
  142. package/package.json +28 -7
  143. package/plugin/index.js +12 -0
  144. package/plugin/module/date-format.js +30 -0
  145. package/plugin/module/loading.js +26 -0
  146. package/plugin/module/warn-handler.js +11 -0
  147. package/styles/image/inspur.png +0 -0
  148. package/styles/image/lan_navigator.png +0 -0
  149. package/styles/image/layout-header-bg-cuiwei.png +0 -0
  150. package/styles/image/lv_navigator.png +0 -0
  151. package/utils/ajax/content-type.js +30 -0
  152. package/utils/ajax/headers.js +11 -0
  153. package/utils/ajax/interceptors.js +12 -4
  154. package/utils/ajax/sseFetchUtil.js +118 -0
  155. package/utils/assist.js +155 -27
  156. package/utils/base64.js +126 -0
  157. package/utils/blob.js +47 -0
  158. package/utils/crypto/aes.js +23 -0
  159. package/utils/crypto/index.js +10 -0
  160. package/utils/crypto/rsa.js +23 -0
  161. package/utils/date.js +334 -305
  162. package/utils/dict/built-in-dict.js +20 -0
  163. package/utils/dict/index.js +191 -0
  164. package/utils/event.js +72 -0
  165. package/utils/excel.js +373 -241
  166. package/utils/file.js +19 -0
  167. package/utils/form/validate.js +29 -0
  168. package/utils/half-year.js +68 -0
  169. package/utils/index.js +37 -0
  170. package/utils/json.js +29 -0
  171. package/utils/lodop.js +5 -0
  172. package/utils/menu/index.js +292 -15
  173. package/utils/mime_type.js +67 -0
  174. package/utils/modelerUtil.js +4 -1
  175. package/utils/n/api.js +22 -0
  176. package/utils/n/date.js +57 -0
  177. package/utils/n/index.js +10 -0
  178. package/utils/n/is-type.js +176 -0
  179. package/utils/n/number.js +144 -0
  180. package/utils/n/permission-cache.js +11 -0
  181. package/utils/n/reuqest/axiosN.js +17 -0
  182. package/utils/n/reuqest/content-type.js +19 -0
  183. package/utils/n/reuqest/interceptors.js +95 -0
  184. package/utils/n/reuqest/url-params.js +12 -0
  185. package/utils/n/storage.js +51 -0
  186. package/utils/n/token.js +51 -0
  187. package/utils/n/user-cache.js +11 -0
  188. package/utils/n/user.js +34 -0
  189. package/utils/n/uuid.js +16 -0
  190. package/utils/n-generator-routers.js +208 -0
  191. package/utils/n-router.js +205 -0
  192. package/utils/n-theme.js +30 -0
  193. package/utils/number.js +72 -15
  194. package/utils/oss.js +57 -0
  195. package/utils/platform.js +807 -30
  196. package/utils/quarter.js +58 -0
  197. package/utils/storage.js +198 -0
  198. package/utils/style.js +24 -0
  199. package/utils/theme.js +98 -3
  200. package/utils/transfer-queue.js +7 -0
  201. package/utils/transform.js +205 -0
  202. package/utils/type.js +102 -0
  203. package/utils/util.js +795 -0
  204. package/utils/vForm.js +349 -0
  205. package/utils/validator.js +181 -0
  206. package/config/themes/gold/default.css +0 -243
  207. package/config/themes/gold/default.css.map +0 -1
  208. package/config/themes/gold/default.less +0 -320
  209. package/config/themes/lime/default.css +0 -243
  210. package/config/themes/lime/default.css.map +0 -1
  211. 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,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
+ }
@@ -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,7 @@
1
+ .ind-full-screen-btn-con {
2
+ .ivu-tooltip-rel {
3
+ i {
4
+ cursor: pointer;
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ @import './collect.less';
2
+ @import './detail-view.less';
3
+ @import './full-screen.less';
4
+ @import './other-menu.less';
5
+ @import './page-view.less';
6
+ @import './sider-trigger.less';
7
+ @import './tags-nav.less';
@@ -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
+ }