File tree Expand file tree Collapse file tree 3 files changed +5
-50
lines changed Expand file tree Collapse file tree 3 files changed +5
-50
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " container-vue-element" ,
33 "version" : " 1.0.3" ,
4- "description" : " vue element 饿了么 后台容器\" " ,
4+ "description" : " element admin vue 饿了么 后台容器\" " ,
55 "main" : " ./src/index.js" ,
66 "scripts" : {
77 "test" : " echo \" Error: no test specified\" && exit 1"
Original file line number Diff line number Diff line change 3939 }
4040 </script >
4141<style lang="scss">
42+ @import ' ./../assets/sass/mixin.scss' ;
4243 body {
4344 margin : 0 ;
4445 }
8586 >.el-menu {
8687 display : block !important ;
8788 position : absolute ;
88- width : 150 px ;
89+ width : 180 px ;
8990 left : 50px ;
9091 padding-top : 5px ;
9192 padding-bottom : 5px ;
111112 }
112113 .layout-sidebar-left {
113114 width : 230px ;
115+ transition : transform .3s ease-in-out ,width .3s ease-in-out ;
114116 }
115117 .layout-right {
116118 -moz-box-flex :1.0 ;
Original file line number Diff line number Diff line change 33 <div class =" layout-logo-lg" >CoreCMF</div >
44 <div class =" layout-logo-mini" >Core</div >
55 <el-menu default-active =" 1-4-1" theme =" dark" class =" sidebar-menu" >
6- <div class =" user-panel" >
7- <div class =" pull-left image" >
8- <img src =" https://adminlte.io/themes/AdminLTE/dist/img/user2-160x160.jpg" class =" img-circle" alt =" User Image" >
9- </div >
10- <div class =" pull-left info" >
11- <p >Alexander Pierce</p >
12- <a href =" #" ><i class =" fa fa-circle text-success" ></i > Online</a >
13- </div >
14- </div >
156 <el-submenu index =" 1" >
167 <template slot="title"><i class =" el-icon-message" ></i ><span >Dashboard</span ></template >
178 <el-menu-item index =" 1-1" >选项1</el-menu-item >
8879 top : 50px ;
8980 bottom :0 ;
9081 overflow-x : hidden ;
82+ transition : transform .3s ease-in-out ,width .3s ease-in-out ;
9183 @include scrollBar ;
9284 }
9385 /* * 对饿了么菜单框架配色进行调整bengin **/
121113 color :#fff ;
122114 }
123115 /* * 对饿了么菜单框架配色进行调整end **/
124- .user-panel {
125- position :relative ;
126- height : 45px ;
127- padding : 10px ;
128- position :relative ;
129- >.pull-left {
130- float :left ;
131- }
132- >.image {
133- >img {
134- width :100% ;
135- max-width : 45px ;
136- height : auto ;
137- }
138- >.img-circle {
139- border-radius : 50% ;
140- }
141- }
142- >.info {
143- >a {
144- color : #fff ;
145- text-decoration : none ;
146- padding-right : 5px ;
147- margin-top : 3px ;
148- font-size : 11px ;
149- }
150- >p {
151- font-weight : 600 ;
152- margin-bottom : 9px ;
153- }
154- padding :5px 5px 5px 15px ;
155- line-height : 1 ;
156- position : absolute ;
157- left : 55px ;
158- }
159- }
160- .text-success {
161- color : #3c763d ;
162- }
163116 </style >
You can’t perform that action at this time.
0 commit comments