imatrix-ui 2.7.93-dw → 2.7.94-dw
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/package.json +1 -1
- package/src/styles/theme/black/sidebar.scss +1 -1
- package/src/styles/theme/blue/sidebar.scss +1 -1
- package/src/styles/theme/blue2/sidebar.scss +172 -142
- package/src/styles/theme/gray/form-style.scss +27 -0
- package/src/styles/theme/gray/index.scss +1 -0
- package/src/styles/theme/gray/sidebar.scss +4 -1
- package/src/views/dsc-component/tabs/tab-content.vue +3 -3
package/package.json
CHANGED
|
@@ -1,171 +1,201 @@
|
|
|
1
|
-
.blue2{
|
|
2
|
-
$menuBg
|
|
3
|
-
$subMenuBg
|
|
4
|
-
$menuHover:rgb(207, 234, 250);
|
|
1
|
+
.blue2 {
|
|
2
|
+
$menuBg: #fafafa;
|
|
3
|
+
$subMenuBg: #fdfdfd;
|
|
4
|
+
$menuHover: rgb(207, 234, 250);
|
|
5
|
+
|
|
5
6
|
#app {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
transition: margin-left .28s;
|
|
11
|
-
margin-left: 224px;
|
|
12
|
-
position: relative;
|
|
13
|
-
}
|
|
14
|
-
// 侧边栏
|
|
15
|
-
.sidebar-container {
|
|
16
|
-
transition: width 0.28s;
|
|
17
|
-
width: 224px !important;
|
|
18
|
-
height: 100%;
|
|
19
|
-
position: fixed;
|
|
20
|
-
top: 0;
|
|
21
|
-
bottom: 0;
|
|
22
|
-
left: 0;
|
|
23
|
-
z-index: 1001;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
font-family: SourceHanSansCN-Regular, SourceHanSansCN;
|
|
27
|
-
font-weight: 400;
|
|
28
|
-
color: #4A4A4A;
|
|
29
|
-
line-height: 16px;
|
|
30
|
-
background: #eee;
|
|
31
|
-
box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
|
|
32
|
-
//reset element-ui css
|
|
33
|
-
.horizontal-collapse-transition {
|
|
34
|
-
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
|
|
35
|
-
}
|
|
36
|
-
.el-scrollbar__bar.is-vertical{
|
|
37
|
-
right: 0px;
|
|
38
|
-
}
|
|
39
|
-
.scrollbar-wrapper {
|
|
40
|
-
overflow-x: hidden!important;
|
|
41
|
-
.el-scrollbar__view {
|
|
42
|
-
height: calc(100vh - 70px);
|
|
43
|
-
}
|
|
44
|
-
.system-item {
|
|
45
|
-
padding-left: 10px;
|
|
46
|
-
font-size: medium;
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
opacity: 0.8;
|
|
49
|
-
cursor:default;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
.hamburger-container {
|
|
53
|
-
line-height: 58px;
|
|
54
|
-
height: 50px;
|
|
55
|
-
background-color: #F9F9F9;
|
|
56
|
-
// float: left;
|
|
57
|
-
padding: 0 20px;
|
|
58
|
-
}
|
|
59
|
-
.is-horizontal {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
a {
|
|
63
|
-
display: inline-block;
|
|
64
|
-
width: 100%;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
}
|
|
67
|
-
.svg-icon {
|
|
68
|
-
margin-right: 16px;
|
|
69
|
-
}
|
|
70
|
-
.el-menu {
|
|
71
|
-
border: none;
|
|
7
|
+
|
|
8
|
+
// $topHeight: 50px;
|
|
9
|
+
// 主体区域
|
|
10
|
+
.main-container {
|
|
72
11
|
height: 100%;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.is-active > .el-submenu__title{
|
|
79
|
-
color: #4A4A4A!important;
|
|
12
|
+
transition: margin-left .28s;
|
|
13
|
+
margin-left: 224px;
|
|
14
|
+
position: relative;
|
|
80
15
|
}
|
|
81
|
-
|
|
82
|
-
|
|
16
|
+
|
|
17
|
+
// 侧边栏
|
|
83
18
|
.sidebar-container {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
19
|
+
transition: width 0.28s;
|
|
20
|
+
width: 224px !important;
|
|
21
|
+
height: 100%;
|
|
22
|
+
position: fixed;
|
|
23
|
+
top: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
z-index: 1001;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
font-size: 16px;
|
|
29
|
+
font-family: SourceHanSansCN-Regular, SourceHanSansCN;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
color: #4A4A4A;
|
|
32
|
+
line-height: 16px;
|
|
33
|
+
background: #eee;
|
|
34
|
+
box-shadow: 0px 2px 8px 0px rgba(164, 178, 201, 0.4);
|
|
35
|
+
|
|
36
|
+
//reset element-ui css
|
|
37
|
+
.horizontal-collapse-transition {
|
|
38
|
+
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.el-scrollbar__bar.is-vertical {
|
|
42
|
+
right: 0px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.scrollbar-wrapper {
|
|
46
|
+
overflow-x: hidden !important;
|
|
47
|
+
|
|
48
|
+
.el-scrollbar__view {
|
|
49
|
+
height: calc(100vh - 70px);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.system-item {
|
|
53
|
+
padding-left: 10px;
|
|
54
|
+
font-size: medium;
|
|
55
|
+
font-weight: 600;
|
|
56
|
+
opacity: 0.8;
|
|
57
|
+
cursor: default;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.hamburger-container {
|
|
62
|
+
line-height: 58px;
|
|
63
|
+
height: 58px;
|
|
64
|
+
background-color: #F9F9F9;
|
|
65
|
+
// float: left;
|
|
66
|
+
padding: 0 20px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.is-horizontal {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
a {
|
|
74
|
+
display: inline-block;
|
|
75
|
+
width: 100%;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.svg-icon {
|
|
80
|
+
margin-right: 16px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.el-menu {
|
|
84
|
+
border: none;
|
|
85
|
+
height: 100%;
|
|
86
|
+
width: 100% !important;
|
|
87
|
+
background-color: #eee;
|
|
88
|
+
color: #4A4A4A
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.is-active>.el-submenu__title {
|
|
92
|
+
color: #4A4A4A !important;
|
|
94
93
|
}
|
|
95
94
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
|
|
96
|
+
.hideSidebar {
|
|
97
|
+
.sidebar-container {
|
|
98
|
+
width: 54px !important;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.main-container {
|
|
102
|
+
margin-left: 54px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.submenu-title-noDropdown {
|
|
99
106
|
padding-left: 20px !important;
|
|
100
|
-
|
|
101
|
-
|
|
107
|
+
position: relative;
|
|
108
|
+
|
|
109
|
+
.el-tooltip {
|
|
110
|
+
padding: 0 20px !important;
|
|
102
111
|
}
|
|
103
112
|
}
|
|
104
|
-
|
|
105
|
-
.el-menu--collapse {
|
|
113
|
+
|
|
106
114
|
.el-submenu {
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
|
|
107
117
|
&>.el-submenu__title {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
118
|
+
padding-left: 20px !important;
|
|
119
|
+
|
|
120
|
+
.el-submenu__icon-arrow {
|
|
121
|
+
display: none;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.el-menu--collapse {
|
|
127
|
+
.el-submenu {
|
|
128
|
+
&>.el-submenu__title {
|
|
129
|
+
&>span {
|
|
130
|
+
height: 0;
|
|
131
|
+
width: 0;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
visibility: hidden;
|
|
134
|
+
display: inline-block;
|
|
135
|
+
}
|
|
114
136
|
}
|
|
115
137
|
}
|
|
116
138
|
}
|
|
117
139
|
}
|
|
118
|
-
}
|
|
119
|
-
.sidebar-container .nest-menu .el-submenu>.el-submenu__title,
|
|
120
|
-
.sidebar-container .el-submenu .el-menu-item {
|
|
121
|
-
min-width: 224px !important;
|
|
122
|
-
background-color: $subMenuBg !important;
|
|
123
|
-
&:hover {
|
|
124
|
-
background-color: $menuHover !important;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
.el-menu--collapse .el-menu .el-submenu {
|
|
128
|
-
min-width: 224px !important;
|
|
129
|
-
}
|
|
130
140
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
141
|
+
.sidebar-container .nest-menu .el-submenu>.el-submenu__title,
|
|
142
|
+
.sidebar-container .el-submenu .el-menu-item {
|
|
143
|
+
min-width: 224px !important;
|
|
144
|
+
background-color: $subMenuBg !important;
|
|
135
145
|
|
|
136
|
-
|
|
137
|
-
background-color:
|
|
138
|
-
|
|
146
|
+
&:hover {
|
|
147
|
+
background-color: $menuHover !important;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
139
150
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
.main-container {
|
|
143
|
-
margin-left: 0px;
|
|
151
|
+
.el-menu--collapse .el-menu .el-submenu {
|
|
152
|
+
min-width: 224px !important;
|
|
144
153
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
154
|
+
|
|
155
|
+
.sidebar-container .el-menu .menu-wrapper .is-active,
|
|
156
|
+
.sidebar-container .el-submenu .el-menu .is-active {
|
|
157
|
+
background-color: #FFF3CB !important;
|
|
158
|
+
color: #4A4A4A
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.sidebar-container .el-menu .menu-wrapper .is-opened,
|
|
162
|
+
.sidebar-container .el-submenu .el-menu .is-opened {
|
|
163
|
+
background-color: #eee !important;
|
|
148
164
|
}
|
|
149
|
-
|
|
165
|
+
|
|
166
|
+
//适配移动端
|
|
167
|
+
.mobile {
|
|
168
|
+
.main-container {
|
|
169
|
+
margin-left: 0px;
|
|
170
|
+
}
|
|
171
|
+
|
|
150
172
|
.sidebar-container {
|
|
151
|
-
transition
|
|
152
|
-
|
|
173
|
+
transition: transform .28s;
|
|
174
|
+
width: 224px !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.hideSidebar {
|
|
178
|
+
.sidebar-container {
|
|
179
|
+
transition-duration: 0.3s;
|
|
180
|
+
transform: translate3d(-224px, 0, 0);
|
|
181
|
+
}
|
|
153
182
|
}
|
|
154
183
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
184
|
+
|
|
185
|
+
.withoutAnimation {
|
|
186
|
+
|
|
187
|
+
.main-container,
|
|
188
|
+
.sidebar-container {
|
|
189
|
+
transition: none;
|
|
190
|
+
}
|
|
160
191
|
}
|
|
161
192
|
}
|
|
162
|
-
}
|
|
163
193
|
|
|
164
|
-
.el-menu--vertical{
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
194
|
+
.el-menu--vertical {
|
|
195
|
+
&>.el-menu {
|
|
196
|
+
.svg-icon {
|
|
197
|
+
margin-right: 16px;
|
|
198
|
+
}
|
|
168
199
|
}
|
|
169
200
|
}
|
|
170
|
-
}
|
|
171
201
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.gray {
|
|
2
|
+
|
|
3
|
+
.button-at-top {
|
|
4
|
+
width: 100%;
|
|
5
|
+
background: rgb(255, 255, 255);
|
|
6
|
+
height: 72px;
|
|
7
|
+
position: fixed;
|
|
8
|
+
bottom: 0px;
|
|
9
|
+
z-index: 20000;
|
|
10
|
+
left: 0px;
|
|
11
|
+
right: 0px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.button-at-bottom {
|
|
15
|
+
width: 100%;
|
|
16
|
+
background: rgb(255, 255, 255);
|
|
17
|
+
height: 72px;
|
|
18
|
+
position: fixed;
|
|
19
|
+
bottom: 0px;
|
|
20
|
+
z-index: 20000;
|
|
21
|
+
left: 0px;
|
|
22
|
+
right: 0px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
|
9
9
|
iframe.tab-main-content{
|
|
10
10
|
width: 100%;
|
|
11
|
-
height: calc(100vh -
|
|
11
|
+
height: calc(100vh - 53px);
|
|
12
12
|
}
|
|
13
13
|
</style>
|
|
14
14
|
<script>
|
|
@@ -91,8 +91,8 @@ export default {
|
|
|
91
91
|
|
|
92
92
|
<style>
|
|
93
93
|
.nav-tab {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
padding-top: 5px;
|
|
95
|
+
padding-left: 5px;
|
|
96
96
|
}
|
|
97
97
|
.nav-tab .el-tabs__header{
|
|
98
98
|
margin: 0;
|