diff --git a/src/components/Home.vue b/src/components/Home.vue
index 91f842c..5db3358 100644
--- a/src/components/Home.vue
+++ b/src/components/Home.vue
@@ -8,8 +8,10 @@
退出
-
-
+ |||
+
+
@@ -49,10 +51,15 @@ export default {
101: 'iconfont icon-shangpin',
102: 'iconfont icon-danju',
145: 'iconfont icon-baobiao'
- }
+ },
+ isCollapsed: false,
+ width: '200px'
}
},
methods: {
+ toggleCollapse () {
+ this.isCollapsed = !this.isCollapsed
+ },
logout () {
sessionStorage.clear()
this.$router.push('/login')
@@ -107,4 +114,13 @@ export default {
.el-menu {
border-right: none;
}
+ .toggle-button{
+ background-color: #495164;
+ color: #ffffff;
+ font-size: 10px;
+ line-height: 24px;
+ text-align: center;
+ letter-spacing: .2em;
+ cursor: pointer;
+ }