imatrix-ui 2.8.7 → 2.8.8-boe10

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 (47) hide show
  1. package/lib/super-ui.css +1 -1
  2. package/lib/super-ui.umd.min.js +5 -5
  3. package/package.json +2 -2
  4. package/src/i18n/langs/cn.js +2 -0
  5. package/src/i18n/langs/en.js +4 -2
  6. package/src/router/index.js +10 -0
  7. package/src/store/modules/tab-content.js +6 -0
  8. package/src/styles/display-layout.scss +34 -0
  9. package/src/styles/index.scss +103 -5
  10. package/src/styles/theme/black/font-style.scss +70 -0
  11. package/src/styles/theme/black/index.scss +6 -30
  12. package/src/styles/theme/blue/font-style.scss +37 -0
  13. package/src/styles/theme/blue/index.scss +2 -18
  14. package/src/styles/theme/blue2/font-style.scss +70 -0
  15. package/src/styles/theme/blue2/index.scss +3 -13
  16. package/src/styles/theme/dark-blue/button.scss +9 -0
  17. package/src/styles/theme/dark-blue/card.scss +64 -0
  18. package/src/styles/theme/dark-blue/checkbox.scss +10 -0
  19. package/src/styles/theme/dark-blue/dark-blue-var.scss +8 -0
  20. package/src/styles/theme/dark-blue/dialog.scss +21 -0
  21. package/src/styles/theme/dark-blue/element-variables.scss +7 -0
  22. package/src/styles/theme/dark-blue/font.scss +71 -0
  23. package/src/styles/theme/{gray/form-style.scss → dark-blue/form.scss} +12 -2
  24. package/src/styles/theme/dark-blue/index.scss +255 -0
  25. package/src/styles/theme/dark-blue/input.scss +15 -0
  26. package/src/styles/theme/dark-blue/pagination.scss +14 -0
  27. package/src/styles/theme/dark-blue/scrollbar-style.scss +32 -0
  28. package/src/styles/theme/dark-blue/sidebar.scss +266 -0
  29. package/src/styles/theme/dark-blue/tab.scss +83 -0
  30. package/src/styles/theme/dark-blue/table.scss +60 -0
  31. package/src/styles/theme/dark-blue/tree.scss +31 -0
  32. package/src/styles/theme/dark-blue/var.scss +1028 -0
  33. package/src/styles/theme/gray/card-style.scss +13 -1
  34. package/src/styles/theme/gray/font-style.scss +38 -0
  35. package/src/styles/theme/gray/index.scss +13 -25
  36. package/src/styles/theme/gray/scrollbar-style.scss +32 -0
  37. package/src/styles/theme/gray/sidebar.scss +5 -0
  38. package/src/utils/common-util.js +4 -0
  39. package/src/utils/request.js +13 -0
  40. package/src/views/layout/NewLayout.vue +6 -65
  41. package/src/views/layout/components/Menubar/Item.vue +23 -7
  42. package/src/views/layout/components/Menubar/Link.vue +11 -2
  43. package/src/views/layout/components/Menubar/SidebarItem.vue +50 -7
  44. package/src/views/layout/components/Menubar/index.vue +51 -16
  45. package/src/views/layout/components/tabs/tab-content.vue +160 -0
  46. package/src/views/layout/tab-content-iframe-index.vue +31 -0
  47. package/src/views/layout/tab-content-index.vue +85 -0
@@ -0,0 +1,71 @@
1
+ .dark-blue {
2
+ $titleColor: rgba(0, 0, 0, 0.85);
3
+
4
+ .list-file {
5
+ color: rgba(0, 13, 31, 0.45);
6
+ font-size: 14px;
7
+ cursor: pointer;
8
+ }
9
+
10
+ .form-list-file {
11
+ color: rgba(0, 0, 0, 0.65);
12
+ background: #F2F6FA;
13
+ border-radius: 6px;
14
+ font-size: 14px;
15
+ cursor: pointer;
16
+ height: 28px;
17
+ line-height: 28px;
18
+ padding: 0 8px 0 8px;
19
+ margin-right: 32px
20
+ }
21
+
22
+ .tip-font {
23
+ color: rgba(0, 0, 0, 0.65);
24
+ font-size: 14px;
25
+ }
26
+
27
+ .superForm {
28
+ .el-form-item__label {
29
+ color: rgba(0, 13, 31, 0.85);
30
+ }
31
+ }
32
+
33
+
34
+ .page-layout__title {
35
+ width: 46px;
36
+ height: 16px;
37
+ font-size: 11px;
38
+ font-weight: 500;
39
+ color: #333333;
40
+ line-height: 13px;
41
+ }
42
+
43
+ .component-type-name__title {
44
+ width: 40px;
45
+ height: 14px;
46
+ font-size: 10px;
47
+ font-weight: 500;
48
+ color: #333333;
49
+ line-height: 12px;
50
+ // -webkit-background-clip: text;
51
+ // -webkit-text-fill-color: transparent;
52
+ }
53
+
54
+ .page-layout__title::before {
55
+ content: "";
56
+ text-align: center;
57
+ background: #1A6BF3;
58
+ float: left;
59
+ position: relative;
60
+ border-radius: 3px;
61
+ /** 定义成 block 元素 **/
62
+ display: block;
63
+ // height: 21px;
64
+ // width: 4px;
65
+ margin-right: 12px;
66
+
67
+ width: 2px;
68
+ height: 16px;
69
+
70
+ }
71
+ }
@@ -1,4 +1,4 @@
1
- .gray {
1
+ .dark-blue {
2
2
 
3
3
  .button-at-top {
4
4
  width: 100%;
@@ -38,4 +38,14 @@
38
38
  line-height: 72px;
39
39
  }
40
40
 
41
- }
41
+ .form-center-position{
42
+ position: relative;
43
+
44
+ .form-center-son{
45
+ position: absolute;
46
+ top: 50%;
47
+ left: 50%;
48
+ transform: translate(-50%,-50%);
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,255 @@
1
+ @import './element-variables.scss';
2
+ @import './table.scss';
3
+ @import './sidebar.scss';
4
+ @import './font.scss';
5
+ @import './card.scss';
6
+ @import './tab.scss';
7
+ @import './input.scss';
8
+ @import './form.scss';
9
+ @import './pagination.scss';
10
+ @import './button.scss';
11
+ @import './checkbox.scss';
12
+ @import './dialog.scss';
13
+ @import './tree.scss';
14
+ @import './scrollbar-style.scss';
15
+
16
+
17
+ .dark-blue {
18
+ font-family: Source Han Sans CN;
19
+ font-size: 14px;
20
+ color: rgba(0, 0, 0, 0.85);
21
+ -moz-osx-font-smoothing: grayscale;
22
+ -webkit-font-smoothing: antialiased;
23
+ text-rendering: optimizeLegibility;
24
+ height: 100%;
25
+
26
+ .el-button {
27
+ font-family: Source Han Sans CN;
28
+ }
29
+
30
+ .fl {
31
+ float: left;
32
+ }
33
+
34
+ .fr {
35
+ float: right;
36
+ }
37
+
38
+
39
+ html {
40
+ height: 100%;
41
+ box-sizing: border-box;
42
+ }
43
+
44
+ #app {
45
+ height: 100%;
46
+ }
47
+
48
+ a,
49
+ a:focus,
50
+ a:hover {
51
+ cursor: pointer;
52
+ color: inherit;
53
+ outline: none;
54
+ text-decoration: none;
55
+ }
56
+
57
+ div:focus {
58
+ outline: none;
59
+ }
60
+
61
+ a:focus,
62
+ a:active {
63
+ outline: none;
64
+ }
65
+
66
+ a,
67
+ a:focus,
68
+ a:hover {
69
+ cursor: pointer;
70
+ color: inherit;
71
+ text-decoration: none;
72
+ }
73
+
74
+ .clearfix {
75
+ &:after {
76
+ visibility: hidden;
77
+ display: block;
78
+ font-size: 0;
79
+ content: " ";
80
+ clear: both;
81
+ height: 0;
82
+ }
83
+ }
84
+
85
+ //main-container全局样式
86
+ .app-main {
87
+ min-height: 100vh;
88
+ background: #f7f7f8;
89
+ padding: 11px 24px 11px 24px;
90
+ // padding-top: 12px;
91
+ }
92
+
93
+ .app-container {
94
+ // padding: 20px;
95
+ // padding: 0px;
96
+ padding: 20px 24px;
97
+ background: #FFFFFF;
98
+ border-radius: 6px;
99
+ box-shadow: 0px 1px 8px 0px #00000019;
100
+
101
+ .box-card {
102
+ margin: 0px 0px 0px 0px;
103
+ }
104
+ }
105
+
106
+ .no-margin {
107
+ padding: 0px 0px;
108
+ }
109
+
110
+ .add_form_height {
111
+ height: calc(100vh - 60px);
112
+ position: relative;
113
+
114
+ .add_form_center {
115
+ position: absolute;
116
+ top: 50%;
117
+ left: 50%;
118
+ transform: translate(-50%, -50%);
119
+ height: auto;
120
+ .add_form_buttomButton {
121
+ text-align: right;
122
+ }
123
+ }
124
+ }
125
+
126
+ .operation-area {
127
+ margin-bottom: 20px;
128
+
129
+ }
130
+
131
+ .operation-area-chart {
132
+ padding-right: 24px;
133
+ padding-top: 24px;
134
+ text-align: right;
135
+ }
136
+
137
+ // 解决tab页签中内容多时没有滚动条问题
138
+ .el-tabs__content {
139
+ flex-grow: 1;
140
+ overflow-y: auto;
141
+ }
142
+
143
+ // 解决在edge浏览器中dialog有遮罩层 或 MessageBox的$confirm时,遮罩层偏移,导致弹框中组件元素无法操作问题。
144
+ // .el-dialog__wrapper、.el-message-box__wrapper、.v-modal默认position是relative,改为absolute就不会出现偏移了。
145
+ // dialog弹框的样式
146
+ .el-dialog__wrapper {
147
+ position: absolute;
148
+ }
149
+
150
+ // MessageBox的样式,必须这样修改,否则会导致点击确定、取消按钮不好用
151
+ .el-message-box__wrapper {
152
+ position: absolute;
153
+ }
154
+
155
+ // dialog遮罩层的样式
156
+ .v-modal {
157
+ position: absolute;
158
+ }
159
+
160
+ .menu-tab-container .el-tabs__item {
161
+ height: 48px;
162
+ line-height: 48px;
163
+ }
164
+
165
+ //顶部标签字体样式
166
+ .menu-tab-container .el-tabs__item.is-active {
167
+ color: #3D4cf2;
168
+ }
169
+
170
+ //顶部标签样式
171
+ .menu-tab-container .el-tabs__active-bar {
172
+ background-color: #3D4cf2;
173
+ }
174
+
175
+ .el-pagination {
176
+ text-align: right;
177
+ }
178
+
179
+ .el-table td {
180
+ padding: 14px 0;
181
+ }
182
+
183
+ .el-table td,
184
+ .el-table th {
185
+ height: 40px;
186
+ }
187
+
188
+ .el-table th {
189
+ padding: 0;
190
+ }
191
+
192
+ /**表格内容纵向分隔线去掉**/
193
+ .el-table--border td,
194
+ .el-table--border th,
195
+ .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
196
+ border-right: 0px
197
+ }
198
+
199
+ /**表格标题纵向分隔线颜色调浅点儿**/
200
+ .el-table--border td,
201
+ .el-table--border th,
202
+ .el-table--border th.is-leaf,
203
+ .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
204
+ border-right: 1px solid #fefefe;
205
+ }
206
+
207
+ .selectPeopleClass {
208
+ color: #313233;
209
+ font-family: Source Han Sans CN;
210
+ font-weight: regular;
211
+ font-size: 14px;
212
+ line-height: 22px;
213
+ letter-spacing: 0px;
214
+ text-align: left;
215
+ }
216
+
217
+ .el-button+.el-button {
218
+ margin-left: 10px;
219
+ }
220
+
221
+ // .el-main {
222
+ // padding: 0px;
223
+ // }
224
+
225
+ // .el-aside {
226
+ // margin-right: 20px;
227
+ // }
228
+
229
+ // .three-column-layout {
230
+ // height: calc(100vh - 20px);
231
+
232
+ // .el-aside {
233
+ // margin-right: 20px;
234
+ // padding-top: 20px;
235
+ // background-color: #FFFFFF;
236
+ // box-shadow: 0px 1px 8px 0px #00000019;
237
+
238
+ // }
239
+
240
+ // .el-main {
241
+ // padding: 20px 0 0 20px;
242
+ // border-radius: 6px;
243
+ // background: #FFFFFF;
244
+ // box-shadow: 0px 1px 8px 0px #00000019;
245
+ // }
246
+ // }
247
+
248
+ // 清除 app-container 类样式
249
+ .clear_app_container {
250
+ padding: 0;
251
+ background: transparent;
252
+ border-radius: 0;
253
+ box-shadow: 0 0px 0px #ccc;
254
+ }
255
+ }
@@ -0,0 +1,15 @@
1
+ .dark-blue {
2
+
3
+ .superForm {
4
+
5
+ .el-input--medium .el-input__inner {
6
+ height: 32px;
7
+ line-height: 32px;
8
+ }
9
+
10
+ .el-input.is-disabled .el-input__inner {
11
+ color: #606266;
12
+ }
13
+ }
14
+
15
+ }
@@ -0,0 +1,14 @@
1
+ @import "./dark-blue-var.scss";
2
+
3
+ .dark-blue {
4
+ .el-pager li:not(.disabled) {
5
+ &:hover {
6
+ //color: $--pagination-hover-color;
7
+ }
8
+
9
+ &.active {
10
+ color: #FFFFFF;
11
+ background-color: $--button-default-font-color;
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,32 @@
1
+ .dark-blue {
2
+
3
+ // 滚动条基础样式
4
+ ::-webkit-scrollbar {
5
+ width: 6px; // 纵向的宽度
6
+ height: 8px; // 横向的高度
7
+ }
8
+
9
+ // 默认下滚动条的样式
10
+ ::-webkit-scrollbar-thumb {
11
+ background: #eaeaea;
12
+ border: none;
13
+ border-radius: 4px;
14
+ }
15
+
16
+ // 鼠标悬停在滚动条时的样式
17
+ ::-webkit-scrollbar-thumb:hover {
18
+ background: rgba(157, 165, 183, 0.7)
19
+ }
20
+
21
+ // 滚动条区域 空白地方的样式
22
+ ::-webkit-scrollbar-track {
23
+ background-color: transparent;
24
+ border: none;
25
+ }
26
+
27
+ // 鼠标悬停在滚动条时 滚动条区域 空白地方的样式
28
+ ::-webkit-scrollbar-track:hover {
29
+ background-color: #eaeaea;
30
+ border: none;
31
+ }
32
+ }
@@ -0,0 +1,266 @@
1
+ .dark-blue {
2
+ #app {
3
+
4
+ // $topHeight: 50px;
5
+ // 主体区域
6
+ .main-container {
7
+ height: 100%;
8
+ transition: margin-left .28s;
9
+ margin-left: 224px;
10
+ // padding-left: 24px;
11
+ position: relative;
12
+ background: #F8F9FA;
13
+
14
+ .nav-tab {
15
+ padding-top: 5px;
16
+ padding-left: 5px;
17
+ }
18
+ }
19
+
20
+ // 侧边栏
21
+ .sidebar-container {
22
+ transition: width 0.28s;
23
+ width: 224px !important;
24
+ height: 100%;
25
+ position: fixed;
26
+ top: 0;
27
+ bottom: 0;
28
+ left: 0;
29
+ z-index: 1001;
30
+ overflow: hidden;
31
+ font-weight: medium;
32
+ font-size: 14px;
33
+ line-height: normal;
34
+ letter-spacing: 0px;
35
+ text-align: left;
36
+ color: rgba(0, 13, 31, 0.85);
37
+ background: #FFF;
38
+ box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
39
+
40
+ //reset element-ui css
41
+ .horizontal-collapse-transition {
42
+ transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
43
+ }
44
+
45
+ .el-scrollbar__bar.is-vertical {
46
+ right: 0px;
47
+ }
48
+
49
+ .scrollbar-wrapper {
50
+ overflow-x: hidden !important;
51
+
52
+ .el-scrollbar__view {
53
+ height: calc(100vh - 70px);
54
+ }
55
+
56
+ .system-item {
57
+ padding-left: 10px;
58
+ font-size: medium;
59
+ font-weight: 600;
60
+ opacity: 0.8;
61
+ cursor: default;
62
+ }
63
+ }
64
+
65
+ .hamburger-container {
66
+ position: absolute;
67
+ bottom: 0px;
68
+ width: 100%;
69
+ line-height: 48px;
70
+ height: 48px;
71
+ background: #FFFFFF;
72
+ box-shadow: 0px 1px 8px 0px #00000019;
73
+ border: 1px solid #EAEAEA;
74
+ padding: 0 24px;
75
+ }
76
+
77
+ .is-horizontal {
78
+ display: none;
79
+ }
80
+
81
+ a {
82
+ display: inline-block;
83
+ width: 100%;
84
+ overflow: hidden;
85
+ }
86
+
87
+ .svg-icon {
88
+ margin-right: 16px;
89
+ }
90
+
91
+ .el-menu {
92
+ border: none;
93
+ height: 100%;
94
+ width: 100% !important;
95
+ background-color: #FFF;
96
+ color: #000D1F;
97
+ font-weight: medium;
98
+ }
99
+
100
+ .el-menu-item {
101
+ height: 46px;
102
+ color: #525A6C;
103
+ line-height: 46px;
104
+ font-weight: medium;
105
+
106
+ }
107
+
108
+ .el-menu-item.is-active {
109
+ color: #1A6BF3;
110
+ font-weight: medium;
111
+ font-size: 14px;
112
+ letter-spacing: 0px;
113
+ text-align: left;
114
+ box-sizing: border-box;
115
+ border-left: 4px solid #1A6BF3
116
+ }
117
+
118
+ .el-submenu__title {
119
+ height: 46px;
120
+ line-height: 46px;
121
+ }
122
+
123
+ }
124
+
125
+ .hideSidebar {
126
+ .sidebar-container {
127
+ width: 54px !important;
128
+ }
129
+
130
+ .main-container {
131
+ margin-left: 54px;
132
+ }
133
+
134
+ .submenu-title-noDropdown {
135
+ padding-left: 20px !important;
136
+ position: relative;
137
+
138
+ .el-tooltip {
139
+ padding: 0 20px !important;
140
+ }
141
+ }
142
+
143
+ .el-submenu {
144
+ overflow: hidden;
145
+
146
+ &>.el-submenu__title {
147
+ padding-left: 20px !important;
148
+
149
+ .el-submenu__icon-arrow {
150
+ display: none;
151
+ }
152
+ }
153
+ }
154
+
155
+ .el-menu--collapse {
156
+ .el-submenu {
157
+ &>.el-submenu__title {
158
+ &>span {
159
+ height: 0;
160
+ width: 0;
161
+ overflow: hidden;
162
+ visibility: hidden;
163
+ display: inline-block;
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
169
+
170
+ .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
171
+ .sidebar-container .el-submenu .el-menu-item {
172
+ min-width: 224px !important;
173
+ }
174
+
175
+ .sidebar-container .el-menu--collapse .el-menu .el-submenu {
176
+ min-width: 224px !important;
177
+ }
178
+
179
+ .sidebar-container .el-menu--collapse .el-submenu.is-active>.el-submenu__title,
180
+ .sidebar-container .el-menu--collapse .el-menu.is-active {
181
+ background-color: #FFFFFF !important;
182
+ color: #1A6BF3;
183
+ font-weight: medium;
184
+ border-right: 2px solid #3D4CF2
185
+ }
186
+
187
+ .sidebar-container .el-menu--collapse .el-submenu__title:not(.is-disabled):hover,
188
+ .sidebar-container .el-menu-item:not(.is-disabled):hover {
189
+ background: #F7F7F8;
190
+ color: rgba(0, 13, 31, 0.85);
191
+ font-weight: medium;
192
+ }
193
+
194
+ .sidebar-container .el-menu--collapse {
195
+ text-align: left;
196
+ }
197
+
198
+ //适配移动端
199
+ .mobile {
200
+ .main-container {
201
+ margin-left: 0px;
202
+ }
203
+
204
+ .sidebar-container {
205
+ transition: transform .28s;
206
+ width: 224px !important;
207
+ }
208
+
209
+ &.hideSidebar {
210
+ .sidebar-container {
211
+ transition-duration: 0.3s;
212
+ transform: translate3d(-224px, 0, 0);
213
+ }
214
+ }
215
+ }
216
+
217
+ .withoutAnimation {
218
+
219
+ .main-container,
220
+ .sidebar-container {
221
+ transition: none;
222
+ }
223
+ }
224
+ }
225
+
226
+ .sidebar-container-popper .el-submenu__title:not(.is-disabled):hover {
227
+ background: #F7F7F8;
228
+ color: rgba(0, 13, 31, 0.85);
229
+ font-weight: medium;
230
+ }
231
+
232
+ .sidebar-container-popper .el-menu .el-submenu.is-active>.el-submenu__title {
233
+ background-color: #FFFFFF !important;
234
+ color: #3D4CF2;
235
+ font-weight: regular;
236
+ }
237
+
238
+ .sidebar-container-popper .el-menu .el-menu-item:hover {
239
+ background: #F7F7F8;
240
+ color: rgba(0, 13, 31, 0.85);
241
+ font-weight: medium;
242
+ }
243
+
244
+ //菜单栏右侧展开时选中菜单的样式
245
+ .sidebar-container-popper .el-menu .el-menu-item.is-active {
246
+ color: #FFFFFF;
247
+ border-radius: 2px;
248
+ background: #0078EE;
249
+ font-weight: regular;
250
+ font-size: 14px;
251
+ text-align: left;
252
+ }
253
+
254
+
255
+ .sidebar-container-popper .el-menu--collapse {
256
+ text-align: left;
257
+ }
258
+
259
+ .el-menu--vertical {
260
+ &>.el-menu {
261
+ .svg-icon {
262
+ margin-right: 16px;
263
+ }
264
+ }
265
+ }
266
+ }