|
@@ -14,45 +14,17 @@
|
|
|
text-color="#fff"
|
|
|
>
|
|
|
<div>
|
|
|
- <el-menu-item index="0" @click="open">
|
|
|
+ <el-menu-item index="0" >
|
|
|
<i class="el-icon-s-operation"></i>
|
|
|
</el-menu-item>
|
|
|
|
|
|
- <el-submenu index="1">
|
|
|
- <template slot="title">
|
|
|
- <i class="el-icon-location"></i>
|
|
|
-
|
|
|
- <span slot="title">导航一</span>
|
|
|
- </template>
|
|
|
-
|
|
|
- <el-menu-item index="1-1-1">选项1-1</el-menu-item>
|
|
|
-
|
|
|
- <el-menu-item index="1-2-1">选项2-1</el-menu-item>
|
|
|
-
|
|
|
- <el-menu-item index="1-3-1">选项3-1</el-menu-item>
|
|
|
- </el-submenu>
|
|
|
-
|
|
|
- <el-submenu index="6" @click="open">
|
|
|
- <template slot="title">
|
|
|
- <i class="el-icon-location"></i>
|
|
|
- <span slot="title">导航一</span>
|
|
|
- </template>
|
|
|
-
|
|
|
- <el-submenu index="1-1">
|
|
|
- <span slot="title">选项1</span>
|
|
|
- <el-menu-item index="1-1-1">选项1-1</el-menu-item>
|
|
|
- </el-submenu>
|
|
|
-
|
|
|
- <el-submenu index="1-2">
|
|
|
- <span slot="title">选项2</span>
|
|
|
- <el-menu-item index="1-2-1">选项2-1</el-menu-item>
|
|
|
- </el-submenu>
|
|
|
+ <el-menu-item index="0" >
|
|
|
+ <i class="el-icon-s-operation"></i>
|
|
|
+ </el-menu-item>
|
|
|
|
|
|
- <el-submenu index="1-3">
|
|
|
- <span slot="title">选项3</span>
|
|
|
- <el-menu-item index="1-3-1">选项3-1</el-menu-item>
|
|
|
- </el-submenu>
|
|
|
- </el-submenu>
|
|
|
+ <el-menu-item index="0" >
|
|
|
+ <i class="el-icon-s-operation"></i>
|
|
|
+ </el-menu-item>
|
|
|
</div>
|
|
|
</el-menu>
|
|
|
</template>
|
|
@@ -76,8 +48,8 @@ export default {
|
|
|
this.isCollapse = "kik"
|
|
|
},
|
|
|
open_o(){
|
|
|
- this.changeZ("width:7%");
|
|
|
- this.changeY("width:93%");
|
|
|
+ this.changeZ("width:3%");
|
|
|
+ this.changeY("width:97%");
|
|
|
this.isCollapse = null
|
|
|
},
|
|
|
open() {
|