upp-platform-core 1.0.25 → 1.0.27

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/README.md CHANGED
@@ -1,10 +1,22 @@
1
- # 2023-05-19 v1.0.23
1
+ # 2023-05-30 v1.0.27
2
2
 
3
- 1. tab 没有记录最新的 query 参数问题
3
+ 修复:
4
4
 
5
- 2. 暗色状态样式修改,刷新后保持亮暗色状态与菜单布局状态
5
+ 1. 多 tab 时层级多时偶尔关闭页签导致渲染出问题,没法正常切换渲染页面,得刷新浏览器的问题
6
6
 
7
- 3. 切换租户后刷新浏览器
7
+ 2. 管理员首页的卡片根据菜单配置进行新开和跳转逻辑;cms 未登录状态没法正常跳转的问题
8
+
9
+ 3. header 显示登录人的昵称而不是用户名;header 退出登录报错 userInfo 为 null 的问题
10
+
11
+
12
+
13
+ # 2023-05-23 v1.0.26
14
+
15
+ 暗黑模式细节优化
16
+
17
+ # 2023-05-22 v1.0.25
18
+
19
+ 暗黑模式细节优化
8
20
 
9
21
  # 2023-05-19 v1.0.24
10
22
 
@@ -14,6 +26,11 @@
14
26
 
15
27
  2. 修正 token 过期,这个 token 跟本地存储的 token 一致时,仍旧不跳到登录页的问题
16
28
 
17
- # 2023-05-22 v1.0.25
18
29
 
19
- 暗黑模式细节优化
30
+ # 2023-05-19 v1.0.23
31
+
32
+ 1. tab 没有记录最新的 query 参数问题
33
+
34
+ 2. 暗色状态样式修改,刷新后保持亮暗色状态与菜单布局状态
35
+
36
+ 3. 切换租户后刷新浏览器
package/lib/index.css CHANGED
@@ -1,208 +1,3 @@
1
- .project__unshow-type .t-menu__logo {
2
- display: flex;
3
- justify-content: center;
4
- background-color: #263455;
5
- }
6
- .project__unshow-type .t-menu__logo .tdesign-starter-side-nav-logo-wrapper {
7
- width: 20%;
8
- }
9
- .project__unshow-type .t-menu__logo span {
10
- color: #FFFFFF !important;
11
- font-size: 16px;
12
- }
13
- .project__unshow-type .t-default-menu__inner {
14
- height: 100%;
15
- }
16
- .project__unshow-type .header-logo-container {
17
- width: 216px;
18
- margin-left: 16px;
19
- }
20
- .project__unshow-type .t-menu {
21
- padding: 0;
22
- }
23
- .project__unshow-type .t-menu .t-head-menu__inner {
24
- background-color: #FFFFFF !important;
25
- border: none;
26
- }
27
- .project__unshow-type .t-menu--scroll {
28
- background-color: #17233D;
29
- }
30
- .project__unshow-type .t-menu__content,
31
- .project__unshow-type .svg-icon,
32
- .project__unshow-type .t-fake-arrow {
33
- color: #A9AEB7;
34
- }
35
- .project__unshow-type .operations-container .t-button {
36
- background-color: #FFFFFF;
37
- border: 1px solid #C9C9C9;
38
- }
39
- .project__unshow-type .operations-container .t-button:hover {
40
- background-color: #C9C9C9;
41
- color: #FFFFFF !important;
42
- }
43
- .project__unshow-type .operations-container .svg-icon,
44
- .project__unshow-type .operations-container .t-icon,
45
- .project__unshow-type .operations-container .header-user-account,
46
- .project__unshow-type .operations-container span {
47
- color: #000000 !important;
48
- }
49
- .project__unshow-type .t-is-opened .t-menu__item .svg-icon,
50
- .project__unshow-type .t-is-opened .t-menu__item .t-menu__content {
51
- color: #8B919E !important;
52
- }
53
- .project__unshow-type .t-menu__item.t-is-opened.t-is-active .svg-icon,
54
- .project__unshow-type .t-menu__item.t-is-opened.t-is-active .t-menu__content {
55
- color: #FFFFFF !important;
56
- }
57
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) {
58
- margin-left: 20px;
59
- padding-left: 38px;
60
- border-radius: 0;
61
- border-top-left-radius: 4px;
62
- border-bottom-left-radius: 4px;
63
- }
64
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened)::before {
65
- content: "";
66
- position: absolute;
67
- left: -20px;
68
- width: 5px;
69
- height: 100%;
70
- background-color: #296DF1;
71
- border-top-right-radius: 4px;
72
- border-bottom-right-radius: 4px;
73
- }
74
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .svg-icon,
75
- .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .t-menu__content {
76
- font-weight: 700;
77
- color: #17233D !important;
78
- }
79
- .project__unshow-type .el-pagination__total {
80
- position: absolute;
81
- left: 0;
82
- }
83
- .project__unshow-type .el-table__header-wrapper th,
84
- .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th {
85
- padding: 0;
86
- }
87
- .project__unshow-type .el-table__header-wrapper th .cell,
88
- .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th .cell {
89
- background-color: #E9F3FF;
90
- color: #3172F1;
91
- padding: 2px 10px;
92
- }
93
- .project__unshow-type .el-icon-check::before {
94
- color: var(--primary-btn);
95
- }
96
- .project__unshow-type .el-icon-check::before:hover {
97
- background-color: #84CAFD !important;
98
- }
99
- .project__unshow-type .el-button.common-btn:not(:hover),
100
- .project__unshow-type .el-button--primary.is-plain {
101
- color: var(--primary-btn) !important;
102
- border-color: var(--primary-btn) !important;
103
- background-color: #FFFFFF;
104
- }
105
- .project__unshow-type .el-button.common-btn:not(:hover):not(.common-btn):hover,
106
- .project__unshow-type .el-button--primary.is-plain:not(.common-btn):hover {
107
- color: #FFFFFF !important;
108
- background-color: var(--light-blue-color) !important;
109
- border-color: var(--light-blue-color) !important;
110
- }
111
- .project__unshow-type .el-button--primary:not(.is-plain) {
112
- color: #FFFFFF !important;
113
- background-color: var(--primary-btn) !important;
114
- }
115
- .project__unshow-type .el-button--primary:not(.is-plain) .el-icon-check::before {
116
- color: #FFFFFF;
117
- }
118
- .project__unshow-type .el-button--primary:not(.is-plain):hover {
119
- background-color: var(--light-blue-color) !important;
120
- border-color: var(--light-blue-color) !important;
121
- }
122
- .project__unshow-type .el-button--warning {
123
- color: #F7BF17 !important;
124
- background-color: #FFFFFF !important;
125
- }
126
- .project__unshow-type .el-button--warning:hover {
127
- color: #FFFFFF !important;
128
- background-color: #F7BF17 !important;
129
- border-color: #F7BF17 !important;
130
- }
131
- .project__unshow-type .el-button--danger {
132
- color: #F56C6C !important;
133
- background-color: #FFFFFF !important;
134
- }
135
- .project__unshow-type .el-button--danger:hover {
136
- color: #FFFFFF !important;
137
- background-color: #F56C6C !important;
138
- border-color: #F56C6C !important;
139
- }
140
- .project__unshow-type .el-button--success {
141
- color: #67C23A !important;
142
- background-color: #FFFFFF !important;
143
- }
144
- .project__unshow-type .el-button--success:hover {
145
- color: #FFFFFF !important;
146
- background-color: #67C23A !important;
147
- border-color: #67C23A !important;
148
- }
149
- .project__unshow-type .el-tag {
150
- border-color: var(--light-blue-color);
151
- }
152
- .project__unshow-type .el-tag.el-tag--danger {
153
- border-color: #F56C6C;
154
- }
155
- .project__unshow-type .user-info > .el-card__header {
156
- background-color: #17233D !important;
157
- }
158
- .project__unshow-type .login-container-normal .login-form-normal.login-form {
159
- width: 562px;
160
- }
161
- :root[theme-mode="dark"] .project__unshow-type .t-menu .t-head-menu__inner {
162
- background-color: #17233d !important;
163
- }
164
- :root[theme-mode="dark"] .project__unshow-type .svg-icon,
165
- :root[theme-mode="dark"] .project__unshow-type .t-icon,
166
- :root[theme-mode="dark"] .project__unshow-type .header-user-account,
167
- :root[theme-mode="dark"] .project__unshow-type span {
168
- color: #FFFFFF !important;
169
- }
170
- :root[theme-mode="dark"] .project__unshow-type .operations-container .t-button {
171
- background-color: transparent;
172
- }
173
-
174
- .is-in-iframe .tdesign-starter-content-layout,
175
- .is-in-full-screen .tdesign-starter-content-layout {
176
- padding: 0 !important;
177
- }
178
- .is-in-iframe .t-layout__content,
179
- .is-in-full-screen .t-layout__content,
180
- .is-in-iframe .tdesign-starter-layout,
181
- .is-in-full-screen .tdesign-starter-layout,
182
- .is-in-iframe .iframe-view.common-content,
183
- .is-in-full-screen .iframe-view.common-content {
184
- height: 100vh;
185
- }
186
- .is-in-iframe .iframe-view,
187
- .is-in-full-screen .iframe-view {
188
- display: block;
189
- }
190
- .is-in-full-screen .t-layout__header,
191
- .is-in-full-screen .tdesign-starter-layout-tabs-nav,
192
- .is-in-full-screen .t-layout__sider,
193
- .is-in-full-screen .tdesign-starter-sidebar-layout {
194
- display: none;
195
- }
196
- .is-in-full-screen div > section.t-layout {
197
- height: 100vh;
198
- }
199
- .tdesign-starter-side-nav-mix-fixed .t-menu__logo {
200
- display: none !important;
201
- }
202
- .el-dialog.file-uplaod__preview-image .el-dialog__header {
203
- border: none;
204
- }
205
-
206
1
  .form-layout {
207
2
  display: flex;
208
3
  flex-wrap: wrap;
@@ -475,6 +270,211 @@
475
270
  margin-left: 10px;
476
271
  }
477
272
 
273
+ .is-in-iframe .tdesign-starter-content-layout,
274
+ .is-in-full-screen .tdesign-starter-content-layout {
275
+ padding: 0 !important;
276
+ }
277
+ .is-in-iframe .t-layout__content,
278
+ .is-in-full-screen .t-layout__content,
279
+ .is-in-iframe .tdesign-starter-layout,
280
+ .is-in-full-screen .tdesign-starter-layout,
281
+ .is-in-iframe .iframe-view.common-content,
282
+ .is-in-full-screen .iframe-view.common-content {
283
+ height: 100vh;
284
+ }
285
+ .is-in-iframe .iframe-view,
286
+ .is-in-full-screen .iframe-view {
287
+ display: block;
288
+ }
289
+ .is-in-full-screen .t-layout__header,
290
+ .is-in-full-screen .tdesign-starter-layout-tabs-nav,
291
+ .is-in-full-screen .t-layout__sider,
292
+ .is-in-full-screen .tdesign-starter-sidebar-layout {
293
+ display: none;
294
+ }
295
+ .is-in-full-screen div > section.t-layout {
296
+ height: 100vh;
297
+ }
298
+ .tdesign-starter-side-nav-mix-fixed .t-menu__logo {
299
+ display: none !important;
300
+ }
301
+ .el-dialog.file-uplaod__preview-image .el-dialog__header {
302
+ border: none;
303
+ }
304
+
305
+ .project__unshow-type .t-menu__logo {
306
+ display: flex;
307
+ justify-content: center;
308
+ background-color: #263455;
309
+ }
310
+ .project__unshow-type .t-menu__logo .tdesign-starter-side-nav-logo-wrapper {
311
+ width: 20%;
312
+ }
313
+ .project__unshow-type .t-menu__logo span {
314
+ color: #FFFFFF !important;
315
+ font-size: 16px;
316
+ }
317
+ .project__unshow-type .t-default-menu__inner {
318
+ height: 100%;
319
+ }
320
+ .project__unshow-type .header-logo-container {
321
+ width: 216px;
322
+ margin-left: 16px;
323
+ }
324
+ .project__unshow-type .t-menu {
325
+ padding: 0;
326
+ }
327
+ .project__unshow-type .t-menu .t-head-menu__inner {
328
+ background-color: #FFFFFF !important;
329
+ border: none;
330
+ }
331
+ .project__unshow-type .t-menu--scroll {
332
+ background-color: #17233D;
333
+ }
334
+ .project__unshow-type .t-menu__content,
335
+ .project__unshow-type .svg-icon,
336
+ .project__unshow-type .t-fake-arrow {
337
+ color: #A9AEB7;
338
+ }
339
+ .project__unshow-type .operations-container .t-button {
340
+ background-color: #FFFFFF;
341
+ border: 1px solid #C9C9C9;
342
+ }
343
+ .project__unshow-type .operations-container .t-button:hover {
344
+ background-color: #C9C9C9;
345
+ color: #FFFFFF !important;
346
+ }
347
+ .project__unshow-type .operations-container .svg-icon,
348
+ .project__unshow-type .operations-container .t-icon,
349
+ .project__unshow-type .operations-container .header-user-account,
350
+ .project__unshow-type .operations-container span {
351
+ color: #000000 !important;
352
+ }
353
+ .project__unshow-type .t-is-opened .t-menu__item .svg-icon,
354
+ .project__unshow-type .t-is-opened .t-menu__item .t-menu__content {
355
+ color: #8B919E !important;
356
+ }
357
+ .project__unshow-type .t-menu__item.t-is-opened.t-is-active .svg-icon,
358
+ .project__unshow-type .t-menu__item.t-is-opened.t-is-active .t-menu__content {
359
+ color: #FFFFFF !important;
360
+ }
361
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) {
362
+ margin-left: 20px;
363
+ padding-left: 38px;
364
+ border-radius: 0;
365
+ border-top-left-radius: 4px;
366
+ border-bottom-left-radius: 4px;
367
+ }
368
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened)::before {
369
+ content: "";
370
+ position: absolute;
371
+ left: -20px;
372
+ width: 5px;
373
+ height: 100%;
374
+ background-color: #296DF1;
375
+ border-top-right-radius: 4px;
376
+ border-bottom-right-radius: 4px;
377
+ }
378
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .svg-icon,
379
+ .project__unshow-type .t-menu__item.t-is-active:not(.t-is-opened) .t-menu__content {
380
+ font-weight: 700;
381
+ color: #17233D !important;
382
+ }
383
+ .project__unshow-type .el-pagination__total {
384
+ position: absolute;
385
+ left: 0;
386
+ }
387
+ .project__unshow-type .el-table__header-wrapper th,
388
+ .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th {
389
+ padding: 0;
390
+ }
391
+ .project__unshow-type .el-table__header-wrapper th .cell,
392
+ .project__unshow-type .el-table__fixed-right .el-table__fixed-header-wrapper th .cell {
393
+ background-color: #E9F3FF;
394
+ color: #3172F1;
395
+ padding: 2px 10px;
396
+ }
397
+ .project__unshow-type .el-icon-check::before {
398
+ color: var(--primary-btn);
399
+ }
400
+ .project__unshow-type .el-icon-check::before:hover {
401
+ background-color: #84CAFD !important;
402
+ }
403
+ .project__unshow-type .el-button.common-btn:not(:hover),
404
+ .project__unshow-type .el-button--primary.is-plain {
405
+ color: var(--primary-btn) !important;
406
+ border-color: var(--primary-btn) !important;
407
+ background-color: #FFFFFF;
408
+ }
409
+ .project__unshow-type .el-button.common-btn:not(:hover):not(.common-btn):hover,
410
+ .project__unshow-type .el-button--primary.is-plain:not(.common-btn):hover {
411
+ color: #FFFFFF !important;
412
+ background-color: var(--light-blue-color) !important;
413
+ border-color: var(--light-blue-color) !important;
414
+ }
415
+ .project__unshow-type .el-button--primary:not(.is-plain) {
416
+ color: #FFFFFF !important;
417
+ background-color: var(--primary-btn) !important;
418
+ }
419
+ .project__unshow-type .el-button--primary:not(.is-plain) .el-icon-check::before {
420
+ color: #FFFFFF;
421
+ }
422
+ .project__unshow-type .el-button--primary:not(.is-plain):hover {
423
+ background-color: var(--light-blue-color) !important;
424
+ border-color: var(--light-blue-color) !important;
425
+ }
426
+ .project__unshow-type .el-button--warning {
427
+ color: #F7BF17 !important;
428
+ background-color: #FFFFFF !important;
429
+ }
430
+ .project__unshow-type .el-button--warning:hover {
431
+ color: #FFFFFF !important;
432
+ background-color: #F7BF17 !important;
433
+ border-color: #F7BF17 !important;
434
+ }
435
+ .project__unshow-type .el-button--danger {
436
+ color: #F56C6C !important;
437
+ background-color: #FFFFFF !important;
438
+ }
439
+ .project__unshow-type .el-button--danger:hover {
440
+ color: #FFFFFF !important;
441
+ background-color: #F56C6C !important;
442
+ border-color: #F56C6C !important;
443
+ }
444
+ .project__unshow-type .el-button--success {
445
+ color: #67C23A !important;
446
+ background-color: #FFFFFF !important;
447
+ }
448
+ .project__unshow-type .el-button--success:hover {
449
+ color: #FFFFFF !important;
450
+ background-color: #67C23A !important;
451
+ border-color: #67C23A !important;
452
+ }
453
+ .project__unshow-type .el-tag {
454
+ border-color: var(--light-blue-color);
455
+ }
456
+ .project__unshow-type .el-tag.el-tag--danger {
457
+ border-color: #F56C6C;
458
+ }
459
+ .project__unshow-type .user-info > .el-card__header {
460
+ background-color: #17233D !important;
461
+ }
462
+ .project__unshow-type .login-container-normal .login-form-normal.login-form {
463
+ width: 562px;
464
+ }
465
+ :root[theme-mode="dark"] .project__unshow-type .t-menu .t-head-menu__inner {
466
+ background-color: #17233d !important;
467
+ }
468
+ :root[theme-mode="dark"] .project__unshow-type .svg-icon,
469
+ :root[theme-mode="dark"] .project__unshow-type .t-icon,
470
+ :root[theme-mode="dark"] .project__unshow-type .header-user-account,
471
+ :root[theme-mode="dark"] .project__unshow-type span {
472
+ color: #FFFFFF !important;
473
+ }
474
+ :root[theme-mode="dark"] .project__unshow-type .operations-container .t-button {
475
+ background-color: transparent;
476
+ }
477
+
478
478
  :root,
479
479
  :root[theme-mode="light"] {
480
480
  --td-brand-color-1: #E0EBFF;
@@ -1037,6 +1037,13 @@
1037
1037
  border: 1px solid var(--light-blue-color);
1038
1038
  color: #409EFF;
1039
1039
  }
1040
+ :root[theme-mode="dark"] .el-button.el-button--text.el-button--small {
1041
+ background: transparent!important;
1042
+ border: none !important;
1043
+ }
1044
+ :root[theme-mode="dark"] .el-button.el-button--text.el-button--small:hover {
1045
+ border: none;
1046
+ }
1040
1047
  :root[theme-mode="dark"] .cancel-btn {
1041
1048
  border: 1px solid #ffffff;
1042
1049
  border-radius: var(--button-radius);
@@ -1229,6 +1236,15 @@
1229
1236
  color: #FFFFFF;
1230
1237
  border-bottom: none;
1231
1238
  }
1239
+ :root[theme-mode="dark"] .el-table__fixed-right .el-table__fixed-header-wrapper tr > th {
1240
+ border-bottom: 1px solid transparent !important;
1241
+ }
1242
+ :root[theme-mode="dark"] .el-table__fixed-right .el-table__fixed-body-wrapper .el-table__row td {
1243
+ background-color: #031527;
1244
+ }
1245
+ :root[theme-mode="dark"] ::-webkit-scrollbar-corner {
1246
+ background: transparent;
1247
+ }
1232
1248
  :root[theme-mode="dark"] .el-table__fixed-right-patch {
1233
1249
  width: 0 !important;
1234
1250
  border-bottom: none !important;