mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2025-01-17 01:46:09 +00:00
add page links in side menu
This commit is contained in:
parent
9cb009d9a3
commit
4f4bead69d
@ -1,20 +1,14 @@
|
||||
<template>
|
||||
<el-menu default-active="1" class="vertical_menu" theme="dark">
|
||||
<el-menu default-active="1" class="vertical_menu" theme="dark" :router="true">
|
||||
<div class="logo">
|
||||
<img src="../assets/logo.svg" alt="oj admin" />
|
||||
</div>
|
||||
<el-submenu index="1">
|
||||
<template slot="title"><i class="el-icon-message"></i>导航一</template>
|
||||
<el-menu-item-group title="分组一">
|
||||
<el-menu-item index="1-1">选项1</el-menu-item>
|
||||
<el-menu-item index="1-2">选项2</el-menu-item>
|
||||
</el-menu-item-group>
|
||||
<el-menu-item-group title="分组2">
|
||||
<el-menu-item index="1-3">选项3</el-menu-item>
|
||||
</el-menu-item-group>
|
||||
<el-submenu index="general">
|
||||
<template slot="title"><i class="el-icon-menu"></i>General</template>
|
||||
<el-menu-item index="user">User</el-menu-item>
|
||||
<el-menu-item index="announcement">Announcement</el-menu-item>
|
||||
<el-menu-item index="conf">System Config</el-menu-item>
|
||||
</el-submenu>
|
||||
<el-menu-item index="2"><i class="el-icon-menu"></i>导航二</el-menu-item>
|
||||
<el-menu-item index="3"><i class="el-icon-setting"></i>导航三</el-menu-item>
|
||||
</el-menu>
|
||||
</template>
|
||||
|
||||
@ -22,6 +16,7 @@
|
||||
export default{
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.vertical_menu{
|
||||
width: 240px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user