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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imatrix-ui",
3
- "version": "2.7.93-dw",
3
+ "version": "2.7.94-dw",
4
4
  "description": "前端组件库:表格、表单、组织结构树等",
5
5
  "main": "lib/super-ui.umd.min.js",
6
6
  "private": false,
@@ -51,7 +51,7 @@ $menuBgBlack:#333;
51
51
  }
52
52
  .hamburger-container {
53
53
  line-height: 58px;
54
- height: 50px;
54
+ height: 58px;
55
55
  background-color: #333;
56
56
  // float: left;
57
57
  padding: 0 20px;
@@ -51,7 +51,7 @@
51
51
  }
52
52
  .hamburger-container {
53
53
  line-height: 58px;
54
- height: 50px;
54
+ height: 58px;
55
55
  background-color: #F9F9F9;
56
56
  // float: left;
57
57
  padding: 0 20px;
@@ -1,171 +1,201 @@
1
- .blue2{
2
- $menuBg:#fafafa;
3
- $subMenuBg:#fdfdfd;
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
- // $topHeight: 50px;
7
- // 主体区域
8
- .main-container {
9
- height: 100%;
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
- width: 100% !important;
74
- background-color: #eee;
75
- color:#4A4A4A
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
- .hideSidebar {
16
+
17
+ // 侧边栏
83
18
  .sidebar-container {
84
- width: 54px !important;
85
- }
86
- .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;
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
- .el-submenu {
97
- overflow: hidden;
98
- &>.el-submenu__title {
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
- .el-submenu__icon-arrow {
101
- display: none;
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
- &>span {
109
- height: 0;
110
- width: 0;
111
- overflow: hidden;
112
- visibility: hidden;
113
- display: inline-block;
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
- .sidebar-container .el-menu .menu-wrapper .is-active,.sidebar-container .el-submenu .el-menu .is-active {
132
- background-color: #FFF3CB !important;
133
- color:#4A4A4A
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
- .sidebar-container .el-menu .menu-wrapper .is-opened,.sidebar-container .el-submenu .el-menu .is-opened {
137
- background-color: #eee !important;
138
- }
146
+ &:hover {
147
+ background-color: $menuHover !important;
148
+ }
149
+ }
139
150
 
140
- //适配移动端
141
- .mobile {
142
- .main-container {
143
- margin-left: 0px;
151
+ .el-menu--collapse .el-menu .el-submenu {
152
+ min-width: 224px !important;
144
153
  }
145
- .sidebar-container {
146
- transition: transform .28s;
147
- width: 224px !important;
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
- &.hideSidebar {
165
+
166
+ //适配移动端
167
+ .mobile {
168
+ .main-container {
169
+ margin-left: 0px;
170
+ }
171
+
150
172
  .sidebar-container {
151
- transition-duration: 0.3s;
152
- transform: translate3d(-224px, 0, 0);
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
- .withoutAnimation {
157
- .main-container,
158
- .sidebar-container {
159
- transition: none;
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
- & >.el-menu{
166
- .svg-icon{
167
- margin-right: 16px;
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
+ }
@@ -3,6 +3,7 @@
3
3
  @import './card-style.scss';
4
4
  @import './tab-style.scss';
5
5
  @import './input-style.scss';
6
+ @import './form-style.scss';
6
7
 
7
8
  .gray {
8
9
  font-family: microsoft yahei, Arial, Helvetica, sans-serif;
@@ -54,8 +54,11 @@
54
54
  }
55
55
 
56
56
  .hamburger-container {
57
+ position: absolute;
58
+ bottom: 0px;
59
+ width: 100%;
57
60
  line-height: 48px;
58
- height: 40px;
61
+ height: 48px;
59
62
  background-color: #F9F9F9;
60
63
  // float: left;
61
64
  padding: 0 24px;
@@ -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 - 10px);
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
- margin-top: 5px;
95
- margin-left: 5px;
94
+ padding-top: 5px;
95
+ padding-left: 5px;
96
96
  }
97
97
  .nav-tab .el-tabs__header{
98
98
  margin: 0;