agilebuilder-ui 1.1.24 → 1.1.25

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 (51) hide show
  1. package/index.html +10 -4
  2. package/lib/{401-4a0b2ff3.js → 401-c1ecc1a9.js} +1 -1
  3. package/lib/{404-675a2b11.js → 404-a507cf9c.js} +1 -1
  4. package/lib/favicon.svg +29 -0
  5. package/lib/{iframe-page-38a9c584.js → iframe-page-32671903.js} +1 -1
  6. package/lib/{index-e23f840f.js → index-ce3ae297.js} +4171 -4174
  7. package/lib/super-ui.css +1 -1
  8. package/lib/super-ui.js +1 -1
  9. package/lib/super-ui.umd.cjs +54 -54
  10. package/lib/{tab-content-iframe-index-e6bc24b5.js → tab-content-iframe-index-55b69efd.js} +1 -1
  11. package/lib/{tab-content-index-5a36eab4.js → tab-content-index-f8882314.js} +1 -1
  12. package/lib/{tache-subprocess-history-59bda1ed.js → tache-subprocess-history-a2d815d2.js} +1 -1
  13. package/package.json +2 -2
  14. package/packages/hamburger/src/hamburger.vue +23 -21
  15. package/packages/super-grid/src/search-form-open.vue +1 -1
  16. package/packages/super-grid/src/super-grid.vue +4 -5
  17. package/packages/svg-icon/src/svg-icon.vue +1 -1
  18. package/public/favicon.svg +29 -0
  19. package/src/store/modules/system.js +4 -3
  20. package/src/styles/_layout-custom-properties.scss +1 -1
  21. package/src/styles/theme/black/index.scss +5 -5
  22. package/src/styles/theme/black/sidebar.scss +25 -26
  23. package/src/styles/theme/blue/index.scss +2 -2
  24. package/src/styles/theme/blue/sidebar.scss +25 -26
  25. package/src/styles/theme/blue2/index.scss +2 -2
  26. package/src/styles/theme/blue2/sidebar.scss +23 -31
  27. package/src/styles/theme/dark-blue/index.scss +2 -2
  28. package/src/styles/theme/dark-blue/sidebar.scss +33 -34
  29. package/src/styles/theme/default.scss +2 -1
  30. package/src/styles/theme/gray/index.scss +2 -2
  31. package/src/styles/theme/gray/sidebar.scss +23 -33
  32. package/src/styles/theme/green/index.scss +2 -2
  33. package/src/styles/theme/green/sidebar.scss +25 -30
  34. package/src/styles/theme/ocean-blue/index.scss +2 -2
  35. package/src/styles/theme/ocean-blue/sidebar.scss +33 -35
  36. package/src/styles/theme/tiffany-blue-mobile/index.scss +2 -2
  37. package/src/styles/theme/tiffany-blue-mobile/sidebar.scss +33 -33
  38. package/src/utils/common-util.js +28 -24
  39. package/src/utils/iframe-communicator.js +10 -10
  40. package/src/views/dsc-component/Sidebar/Item.vue +14 -30
  41. package/src/views/dsc-component/Sidebar/SidebarItem.vue +41 -1
  42. package/src/views/layout/components/AppMain.vue +7 -6
  43. package/src/views/layout/components/Menubar/Item.vue +12 -38
  44. package/src/views/layout/components/Menubar/SidebarItem.vue +41 -3
  45. package/src/views/layout/components/Menubar/index.vue +1 -6
  46. package/src/views/layout/components/Sidebar/Item.vue +5 -28
  47. package/src/views/layout/components/Sidebar/SidebarItem.vue +41 -1
  48. package/src/views/layout/components/Sidebar/index.vue +1 -1
  49. package/src/views/svg-icon/src/svg-icon.vue +1 -1
  50. package/lib/vite.svg +0 -1
  51. package/public/vite.svg +0 -1
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as t, createCommentVNode as o } from "vue";
2
- import { _ as s } from "./index-e23f840f.js";
2
+ import { _ as s } from "./index-ce3ae297.js";
3
3
  const u = ["src"], f = s({ data: () => ({ src: null }), watch: { $route(n, c) {
4
4
  this.src = this.$route.query.src;
5
5
  } }, mounted() {
@@ -1,4 +1,4 @@
1
- import { _ as f, c as $, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-e23f840f.js";
1
+ import { _ as f, c as $, g as x, b as P, s as h, m as M, M as O, i as I } from "./index-ce3ae297.js";
2
2
  import { resolveComponent as u, openBlock as l, createBlock as b, withCtx as g, createVNode as v, TransitionGroup as L, createElementBlock as p, Fragment as T, renderList as C, createElementVNode as m, toDisplayString as w, normalizeClass as S, createCommentVNode as y } from "vue";
3
3
  const k = { class: "no-redirect" }, A = f({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
4
4
  return this.levelList.filter((e) => e.meta.title !== void 0 && e.meta.title !== null);
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as a, createElementBlock as s, createElementVNode as y, createVNode as l, withCtx as r, createTextVNode as n, toDisplayString as p, createCommentVNode as c, createBlock as h } from "vue";
2
- import { _ as I } from "./index-e23f840f.js";
2
+ import { _ as I } from "./index-ce3ae297.js";
3
3
  const g = { style: { "padding-bottom": "10px" } }, k = { key: 0, class: "graphDiv" }, N = I({ name: "TacheSubprocessHistory", data: () => ({ type: "graph", workflowId: null }), created() {
4
4
  const o = this.$route.query.workflowId;
5
5
  o && (this.workflowId = parseInt(o));
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "agilebuilder-ui",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "type": "module",
5
5
  "private": false,
6
- "main": "./lib/super-ui.js",
6
+ "main": "./packages/index.js",
7
7
  "scripts": {
8
8
  "lib": "vite build --mode production",
9
9
  "lib:dev": "vite build --mode development",
@@ -1,17 +1,17 @@
1
1
  <template>
2
- <div class="00-Color/9-gray">
3
- <el-icon v-if="isActive" @click="toggleClick">
4
- <Fold style="width: 24px;height: 24px"/>
5
- </el-icon>
6
- <el-icon v-else @click="toggleClick">
7
- <Expand style="width: 24px;height: 24px"/>
8
- </el-icon>
2
+ <div class="amd-hamburger-container-main">
3
+ <div class="amd-hamburger-container-icon" @click="toggleClick">
4
+ <el-icon>
5
+ <Fold v-if="isActive" />
6
+ <Expand v-else />
7
+ </el-icon>
8
+ </div>
9
9
  </div>
10
10
  </template>
11
11
  <script setup></script>
12
12
  <script>
13
13
  import {$emit} from '../../utils/gogocodeTransfer'
14
- import {Expand, Fold} from '@element-plus/icons-vue'
14
+ import {Expand, Fold, SwitchButton} from '@element-plus/icons-vue'
15
15
 
16
16
  export default {
17
17
  name: 'Hamburger',
@@ -34,17 +34,19 @@ export default {
34
34
  }
35
35
  </script>
36
36
 
37
- <style scoped>
38
- .hamburger {
39
- display: inline-block;
40
- cursor: pointer;
41
- width: 14px;
42
- height: 14px;
43
- transform: rotate(90deg);
44
- transition: 0.38s;
45
- transform-origin: 50% 50%;
37
+ <style lang="scss" scoped>
38
+ .amd-hamburger-container-main {
39
+ padding: 0;
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: end;
43
+ .amd-hamburger-container-icon {
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: center;
47
+ width: var(--admin-layout-left-menu-collapse, 54px);
48
+ font-size: 18px;
49
+ cursor: pointer;
50
+ }
46
51
  }
47
- .hamburger.is-active {
48
- transform: rotate(0deg);
49
- }
50
- </style>
52
+ </style>
@@ -12,7 +12,7 @@
12
12
  :is-join-table="isJoinTable"
13
13
  />
14
14
  </el-col>
15
- <el-col :span="span" :class="{ 'no-show-open': !isShowOpen, 'no-search-button-auto': isSearchButtonAuto }">
15
+ <el-col :span="span" class="search-btns-view" :class="{ 'no-show-open': !isShowOpen, 'no-search-button-auto': isSearchButtonAuto }">
16
16
  <search-button
17
17
  ref="searchBtnOpen"
18
18
  :is-open="myOpen"
@@ -456,15 +456,15 @@ export default {
456
456
  // 限制高度最低值
457
457
  hasMaxHeight() {
458
458
  if (this.maxHeight) {
459
- return this.maxHeight <= 100 ? 100 : this.maxHeight
459
+ return this.maxHeight <= 100 ? 100 : this.maxHeight ?? undefined
460
460
  }
461
461
  return undefined
462
462
  },
463
463
 
464
464
  // 是指固钉高度最低值
465
465
  hasTableHeight() {
466
- if (this.maxHeight) {
467
- return this.tableHeight <= 100 ? 100 : this.tableHeight
466
+ if (this.tableHeight) {
467
+ return this.tableHeight <= 100 ? 100 : this.tableHeight ?? undefined
468
468
  }
469
469
  return undefined
470
470
  },
@@ -3414,11 +3414,10 @@ export default {
3414
3414
  }
3415
3415
  }
3416
3416
 
3417
- &:has(.search-button) {
3417
+ &.search-btns-view {
3418
3418
  &:not(.no-show-open) {
3419
3419
  margin-left: auto;
3420
3420
  margin-top: auto;
3421
- flex: 1 1 auto;
3422
3421
  max-width: none;
3423
3422
  }
3424
3423
 
@@ -38,6 +38,6 @@ export default {
38
38
  height: 1.2em;
39
39
  vertical-align: -0.25em;
40
40
  fill: currentColor;
41
- overflow: hidden;
41
+ overflow: initial;
42
42
  }
43
43
  </style>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg"
3
+ viewBox="0 0 442 442"
4
+ preserveAspectRatio="xMidYMid meet">
5
+
6
+ <g transform="translate(0.000000,442.000000) scale(0.100000,-0.100000)" stroke="none">
7
+ <path fill="#e15814" d="M1801 4004 c-395 -45 -745 -180 -1045 -402 -377 -280 -644 -692 -727
8
+ -1123 -19 -99 -21 -137 -16 -313 4 -175 8 -214 31 -301 69 -265 189 -470 391
9
+ -670 123 -122 168 -156 184 -139 11 12 111 300 111 320 0 9 -42 59 -93 112
10
+ -194 203 -281 394 -294 639 l-6 112 29 12 c21 8 166 9 522 4 429 -7 494 -10
11
+ 499 -23 4 -8 -3 -58 -15 -111 -12 -53 -51 -238 -87 -411 -36 -173 -86 -409
12
+ -111 -525 -24 -115 -55 -257 -67 -314 l-22 -103 26 -22 c36 -31 276 -128 299
13
+ -121 23 7 25 13 60 174 82 383 175 818 234 1086 36 165 106 489 155 720 50
14
+ 231 135 629 191 885 55 256 100 474 100 486 0 11 -5 25 -12 32 -16 16 -185 14
15
+ -337 -4z m-101 -358 c0 -14 -22 -128 -49 -253 -28 -125 -78 -356 -112 -513
16
+ -35 -163 -68 -292 -77 -302 -14 -17 -52 -18 -526 -18 -285 0 -517 4 -525 9
17
+ -30 19 61 236 166 396 197 300 564 551 993 681 103 31 130 31 130 0z"/>
18
+ <path fill="#239753" d="M2401 3956 c-6 -7 -38 -139 -72 -292 -33 -153 -87 -400 -119 -549
19
+ -32 -148 -82 -376 -109 -505 -28 -129 -140 -649 -251 -1155 -110 -505 -199
20
+ -926 -198 -934 4 -19 62 -33 253 -62 191 -29 411 -29 600 0 201 31 436 85 450
21
+ 105 7 9 24 73 38 143 14 71 62 306 106 523 44 217 105 516 136 665 59 291 64
22
+ 329 39 339 -9 3 -166 6 -350 6 l-334 0 0 30 c0 50 41 204 58 217 12 10 198 13
23
+ 853 13 529 0 840 4 844 10 3 5 -6 44 -21 87 -225 661 -642 1045 -1364 1255
24
+ -179 53 -250 69 -414 98 -141 24 -131 23 -145 6z"/>
25
+ <path fill="#239753" d="M3677 2213 c-5 -9 -47 -194 -212 -942 -82 -368 -113 -527 -105 -535
26
+ 12 -12 32 -2 185 99 183 121 259 185 410 351 121 131 198 239 264 371 104 207
27
+ 158 397 163 569 l3 89 -352 3 c-193 1 -354 -1 -356 -5z"/>
28
+ </g>
29
+ </svg>
@@ -12,9 +12,10 @@ const mutations = {
12
12
  Object.keys(payload).forEach(key => {
13
13
  if (key in state) {
14
14
  state[key] = payload[key];
15
- // if (['theme'].includes(key)) {
16
- // setTheme(payload[key])
17
- // }
15
+ if (['theme'].includes(key)) {
16
+ setTheme(payload[key])
17
+ document.querySelector('body')?.setAttribute('class', payload[key])
18
+ }
18
19
  }
19
20
  });
20
21
  }
@@ -1,6 +1,6 @@
1
1
  :root {
2
2
  --admin-layout-header-height: 54px; // 系统顶部高度
3
- --admin-layout-left-menu-expand: 240px; // 系统侧边导航栏 展开
3
+ --admin-layout-left-menu-expand: 224px; // 系统侧边导航栏 展开
4
4
  --admin-layout-left-menu-collapse: 54px; // 系统侧边导航栏 收起
5
5
  --admin-layout-main-gap: 20px; // 页面布局内间距
6
6
  --app-main-padding: 15px; // 页面外框内间距
@@ -71,11 +71,11 @@
71
71
 
72
72
  //main-container全局样式
73
73
  .app-main {
74
- padding: var(--app-main-padding, 20px);
75
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
74
+ padding: var(--app-main-padding, 15px);
75
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
76
76
 
77
77
  & > .app-container {
78
- max-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
78
+ max-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
79
79
  }
80
80
  }
81
81
 
@@ -183,8 +183,8 @@
183
183
 
184
184
  //main-container全局样式
185
185
  .app-main {
186
- padding: var(--app-main-padding, 20px);
187
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
186
+ padding: var(--app-main-padding, 15px);
187
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
188
188
  }
189
189
 
190
190
  // 解决tab页签中内容多时没有滚动条问题
@@ -8,13 +8,13 @@ $menuBgBlack:#333;
8
8
  .main-container {
9
9
  height: 100%;
10
10
  transition: margin-left .28s;
11
- margin-left: 224px;
11
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
12
12
  position: relative;
13
13
  }
14
14
  // 侧边栏
15
15
  .sidebar-container {
16
16
  transition: width 0.28s;
17
- width: 224px !important;
17
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
18
18
  height: 100%;
19
19
  position: fixed;
20
20
  top: 0;
@@ -29,6 +29,19 @@ $menuBgBlack:#333;
29
29
  line-height: 16px;
30
30
  background: #333;
31
31
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
32
+
33
+ & {
34
+ display: flex;
35
+ flex-direction: column;
36
+
37
+ & > .el-scrollbar {
38
+ flex: 1 1 auto;
39
+ .el-menu {
40
+ margin-top: 5px;
41
+ }
42
+ }
43
+ }
44
+
32
45
  //reset element-ui css
33
46
  .horizontal-collapse-transition {
34
47
  transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
@@ -38,9 +51,6 @@ $menuBgBlack:#333;
38
51
  }
39
52
  .scrollbar-wrapper {
40
53
  overflow-x: hidden!important;
41
- .el-scrollbar__view {
42
- height: calc(100vh - 70px);
43
- }
44
54
  .system-item {
45
55
  padding-left: 10px;
46
56
  font-size: medium;
@@ -53,8 +63,6 @@ $menuBgBlack:#333;
53
63
  line-height: 58px;
54
64
  height: 58px;
55
65
  background-color: #333;
56
- // float: left;
57
- padding: 0 20px;
58
66
  .path{
59
67
  fill:#eee;
60
68
  }
@@ -67,9 +75,6 @@ $menuBgBlack:#333;
67
75
  width: 100%;
68
76
  overflow: hidden;
69
77
  }
70
- .svg-icon {
71
- margin-right: 16px;
72
- }
73
78
  .el-menu {
74
79
  border: none;
75
80
  height: 100%;
@@ -84,18 +89,19 @@ $menuBgBlack:#333;
84
89
  }
85
90
  .hideSidebar {
86
91
  .sidebar-container {
87
- width: 54px !important;
92
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
93
+ .smb-sidebar-menu-item {
94
+ .smb-sidebar-menu-item-icon {
95
+ & ~ * {
96
+ display: none !important;
97
+ }
98
+ }
99
+ }
88
100
  }
89
101
  .main-container {
90
- margin-left: 54px;
91
- }
92
- .submenu-title-noDropdown {
93
- padding-left: 20px !important;
94
- position: relative;
95
- .el-tooltip {
96
- padding: 0 20px !important;
97
- }
102
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
98
103
  }
104
+
99
105
  .el-submenu {
100
106
  overflow: hidden;
101
107
  &>.el-submenu__title {
@@ -179,11 +185,4 @@ $menuBgBlack:#333;
179
185
  }
180
186
  }
181
187
 
182
- .el-menu--vertical{
183
- & >.el-menu{
184
- .svg-icon{
185
- margin-right: 16px;
186
- }
187
- }
188
- }
189
188
  }
@@ -71,8 +71,8 @@
71
71
 
72
72
  //main-container全局样式
73
73
  .app-main {
74
- padding: var(--app-main-padding, 20px);
75
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
74
+ padding: var(--app-main-padding, 15px);
75
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
76
76
  }
77
77
 
78
78
  // 解决tab页签中内容多时没有滚动条问题
@@ -8,13 +8,13 @@
8
8
  .main-container {
9
9
  height: 100%;
10
10
  transition: margin-left .28s;
11
- margin-left: 224px;
11
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
12
12
  position: relative;
13
13
  }
14
14
  // 侧边栏
15
15
  .sidebar-container {
16
16
  transition: width 0.28s;
17
- width: 224px !important;
17
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
18
18
  height: 100%;
19
19
  position: fixed;
20
20
  top: 0;
@@ -29,6 +29,19 @@
29
29
  line-height: 16px;
30
30
  background: #eee;
31
31
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
32
+
33
+ & {
34
+ display: flex;
35
+ flex-direction: column;
36
+
37
+ & > .el-scrollbar {
38
+ flex: 1 1 auto;
39
+ .el-menu {
40
+ margin-top: 5px;
41
+ }
42
+ }
43
+ }
44
+
32
45
  //reset element-ui css
33
46
  .horizontal-collapse-transition {
34
47
  transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
@@ -38,9 +51,6 @@
38
51
  }
39
52
  .scrollbar-wrapper {
40
53
  overflow-x: hidden!important;
41
- .el-scrollbar__view {
42
- height: calc(100vh - 70px);
43
- }
44
54
  .system-item {
45
55
  padding-left: 10px;
46
56
  font-size: medium;
@@ -53,8 +63,6 @@
53
63
  line-height: 58px;
54
64
  height: 58px;
55
65
  background-color: #F9F9F9;
56
- // float: left;
57
- padding: 0 20px;
58
66
  }
59
67
  .is-horizontal {
60
68
  display: none;
@@ -64,9 +72,6 @@
64
72
  width: 100%;
65
73
  overflow: hidden;
66
74
  }
67
- .svg-icon {
68
- margin-right: 16px;
69
- }
70
75
  .el-menu {
71
76
  border: none;
72
77
  height: 100%;
@@ -81,18 +86,19 @@
81
86
  }
82
87
  .hideSidebar {
83
88
  .sidebar-container {
84
- width: 54px !important;
89
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
90
+ .smb-sidebar-menu-item {
91
+ .smb-sidebar-menu-item-icon {
92
+ & ~ * {
93
+ display: none !important;
94
+ }
95
+ }
96
+ }
85
97
  }
86
98
  .main-container {
87
- margin-left: 54px;
88
- }
89
- .submenu-title-noDropdown {
90
- padding-left: 20px !important;
91
- position: relative;
92
- .el-tooltip {
93
- padding: 0 20px !important;
94
- }
99
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
95
100
  }
101
+
96
102
  .el-submenu {
97
103
  overflow: hidden;
98
104
  &>.el-submenu__title {
@@ -161,11 +167,4 @@
161
167
  }
162
168
  }
163
169
 
164
- .el-menu--vertical{
165
- & >.el-menu{
166
- .svg-icon{
167
- margin-right: 16px;
168
- }
169
- }
170
- }
171
170
  }
@@ -71,8 +71,8 @@
71
71
 
72
72
  //main-container全局样式
73
73
  .app-main {
74
- padding: var(--app-main-padding, 20px);
75
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
74
+ padding: var(--app-main-padding, 15px);
75
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
76
76
  }
77
77
 
78
78
  // 解决tab页签中内容多时没有滚动条问题
@@ -10,14 +10,14 @@
10
10
  .main-container {
11
11
  height: 100%;
12
12
  transition: margin-left .28s;
13
- margin-left: 224px;
13
+ margin-left: var(--admin-layout-left-menu-expand, 224px);
14
14
  position: relative;
15
15
  }
16
16
 
17
17
  // 侧边栏
18
18
  .sidebar-container {
19
19
  transition: width 0.28s;
20
- width: 224px !important;
20
+ width: var(--admin-layout-left-menu-expand, 224px) !important;
21
21
  height: 100%;
22
22
  position: fixed;
23
23
  top: 0;
@@ -32,6 +32,18 @@
32
32
  line-height: 16px;
33
33
  background: #eee;
34
34
  box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
35
+
36
+ & {
37
+ display: flex;
38
+ flex-direction: column;
39
+
40
+ & > .el-scrollbar {
41
+ flex: 1 1 auto;
42
+ .el-menu {
43
+ margin-top: 5px;
44
+ }
45
+ }
46
+ }
35
47
 
36
48
  //reset element-ui css
37
49
  .horizontal-collapse-transition {
@@ -45,10 +57,6 @@
45
57
  .scrollbar-wrapper {
46
58
  overflow-x: hidden !important;
47
59
 
48
- .el-scrollbar__view {
49
- height: calc(100vh - 70px);
50
- }
51
-
52
60
  .system-item {
53
61
  padding-left: 10px;
54
62
  font-size: medium;
@@ -62,8 +70,6 @@
62
70
  line-height: 58px;
63
71
  height: 58px;
64
72
  background-color: #F9F9F9;
65
- // float: left;
66
- padding: 0 20px;
67
73
  }
68
74
 
69
75
  .is-horizontal {
@@ -76,10 +82,6 @@
76
82
  overflow: hidden;
77
83
  }
78
84
 
79
- .svg-icon {
80
- margin-right: 16px;
81
- }
82
-
83
85
  .el-menu {
84
86
  border: none;
85
87
  height: 100%;
@@ -95,20 +97,18 @@
95
97
 
96
98
  .hideSidebar {
97
99
  .sidebar-container {
98
- width: 54px !important;
100
+ width: var(--admin-layout-left-menu-collapse, 54px) !important;
101
+ .smb-sidebar-menu-item {
102
+ .smb-sidebar-menu-item-icon {
103
+ & ~ * {
104
+ display: none !important;
105
+ }
106
+ }
107
+ }
99
108
  }
100
109
 
101
110
  .main-container {
102
- margin-left: 54px;
103
- }
104
-
105
- .submenu-title-noDropdown {
106
- padding-left: 20px !important;
107
- position: relative;
108
-
109
- .el-tooltip {
110
- padding: 0 20px !important;
111
- }
111
+ margin-left: var(--admin-layout-left-menu-collapse, 54px);
112
112
  }
113
113
 
114
114
  .el-submenu {
@@ -190,12 +190,4 @@
190
190
  }
191
191
  }
192
192
  }
193
-
194
- .el-menu--vertical {
195
- &>.el-menu {
196
- .svg-icon {
197
- margin-right: 16px;
198
- }
199
- }
200
- }
201
193
  }
@@ -86,8 +86,8 @@
86
86
 
87
87
  //main-container全局样式
88
88
  .app-main {
89
- padding: var(--app-main-padding, 20px);
90
- min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 20px) * 2));
89
+ padding: var(--app-main-padding, 15px);
90
+ min-height: 100vh; // min-height: calc(100vh - (var(--app-main-padding, 15px) * 2));
91
91
  background: #f7f7f8;
92
92
  }
93
93