add icon
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
|
|||||||
@@ -12,6 +12,12 @@
|
|||||||
<a-menu-item key="3">
|
<a-menu-item key="3">
|
||||||
<MenuUnfoldOutlined /> 下载列表
|
<MenuUnfoldOutlined /> 下载列表
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
|
<a-menu-item key="4">
|
||||||
|
<CheckCircleOutlined />订阅列表
|
||||||
|
</a-menu-item>
|
||||||
|
<a-menu-item key="5">
|
||||||
|
<EditOutlined /> 番剧管理
|
||||||
|
</a-menu-item>
|
||||||
</a-sub-menu>
|
</a-sub-menu>
|
||||||
<a-menu-item key="2">
|
<a-menu-item key="2">
|
||||||
<TeamOutlined />
|
<TeamOutlined />
|
||||||
@@ -32,26 +38,17 @@
|
|||||||
</a-layout>
|
</a-layout>
|
||||||
</a-layout>
|
</a-layout>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts" setup>
|
||||||
import {
|
import {
|
||||||
DownloadOutlined,
|
DownloadOutlined,
|
||||||
TeamOutlined,
|
TeamOutlined,
|
||||||
MenuUnfoldOutlined
|
MenuUnfoldOutlined,
|
||||||
|
CheckCircleOutlined,
|
||||||
|
EditOutlined
|
||||||
} from '@ant-design/icons-vue';
|
} from '@ant-design/icons-vue';
|
||||||
import { defineComponent, ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
export default defineComponent({
|
const collapsed = ref(false)
|
||||||
components: {
|
const selectedKeys = ref(['1'])
|
||||||
DownloadOutlined,
|
|
||||||
TeamOutlined,
|
|
||||||
MenuUnfoldOutlined
|
|
||||||
},
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
collapsed: ref<boolean>(false),
|
|
||||||
selectedKeys: ref<string[]>(['1']),
|
|
||||||
};
|
|
||||||
},
|
|
||||||
});
|
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
#components-layout-demo-side .logo {
|
#components-layout-demo-side .logo {
|
||||||
@@ -5,7 +5,7 @@ const router = createRouter({
|
|||||||
history: createWebHistory(),
|
history: createWebHistory(),
|
||||||
routes: [{
|
routes: [{
|
||||||
path: "/",
|
path: "/",
|
||||||
component: () => import("../views/index.vue")
|
component: () => import("../layout/index.vue")
|
||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user