mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
feat: nav
This commit is contained in:
@@ -1,13 +1,23 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>面板</h1>
|
||||
<p>欢迎来到面板页面!</p>
|
||||
</div>
|
||||
<SidebarMenu :menuItems="menuItems" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import '../css/style.css';
|
||||
import SidebarMenu from './webui/Nav.vue';
|
||||
|
||||
export default {
|
||||
name: 'Dashboard'
|
||||
};
|
||||
components: {
|
||||
SidebarMenu
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
menuItems: [
|
||||
{ value: 'item1', icon: 'dashboard', label: '基础信息', route: '/basic-info' },
|
||||
{ value: 'item3', icon: 'play-circle', label: '网络配置', route: '/network-config' },
|
||||
{ value: 'item4', icon: 'edit-1', label: '日志查看', route: '/log-view' },
|
||||
{ value: 'item5', icon: 'info-circle', label: '关于我们', route: '/about-us' }
|
||||
]
|
||||
};
|
||||
}
|
||||
}
|
||||
</script>
|
Reference in New Issue
Block a user