提交 1ac87864 编写于 作者: Q qq_38870145

Wed Feb 7 17:08:00 CST 2024 inscode

上级 b3f7ef53
文件已添加
<template> <template>
<Author /> <!-- <Author /> -->
<div> <div>
<div style="text-align: center;"> <div style="text-align: center;">
<a style="font-size: 24px;font-weight:bolder;">{{ state.title }}</a> <a style="font-size: 24px;font-weight:bolder;">{{ state.title }}</a>
......
...@@ -123,7 +123,7 @@ onUnmounted(() => { ...@@ -123,7 +123,7 @@ onUnmounted(() => {
<template> <template>
<div class="container"> <div class="container">
<Author /> <!-- <Author /> -->
<div style="text-align: center;"> <div style="text-align: center;">
<a style="font-size: 24px;font-weight:bolder;">{{ state.title }}</a> <a style="font-size: 24px;font-weight:bolder;">{{ state.title }}</a>
</div> </div>
......
...@@ -57,7 +57,7 @@ const analysisCommit = async () => { ...@@ -57,7 +57,7 @@ const analysisCommit = async () => {
</script> </script>
<template> <template>
<Author /> <!-- <Author /> -->
<a-spin :spinning="state.loading"> <a-spin :spinning="state.loading">
<div style="border:1px solid #3333;padding:5px;"> <div style="border:1px solid #3333;padding:5px;">
<div> <div>
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</script> </script>
<template> <template>
<div style="padding:20px;"> <div style="padding:20px;">
<Author/> <!-- <Author/> -->
<div> <div>
{{state.title}} {{state.title}}
<div> <div>
......
...@@ -8,7 +8,7 @@ const state = reactive({ ...@@ -8,7 +8,7 @@ const state = reactive({
</script> </script>
<template> <template>
<div style="padding:20px;"> <div style="padding:20px;">
<Author /> <!-- <Author /> -->
<div> <div>
{{ state.title }} {{ state.title }}
<div> <div>
......
...@@ -78,25 +78,37 @@ onMounted(() => { ...@@ -78,25 +78,37 @@ onMounted(() => {
<a-sub-menu v-for="menu in state.menuList" :key="menu.key"> <a-sub-menu v-for="menu in state.menuList" :key="menu.key">
<template #icon> {{ renderIcon(menu.icon) }}</template> <template #icon> {{ renderIcon(menu.icon) }}</template>
<template #title> <span>{{ menu.title }}</span></template> <template #title> <span>{{ menu.title }}</span></template>
<a-menu-item v-for="menuChild in menu.children" :key="menuChild.key" @click="clickMenu(menu, menuChild)"> <a-menu-item v-for="menuChild in menu.children" :key="menuChild.key"
@click="clickMenu(menu, menuChild)">
{{ menuChild.title }} {{ menuChild.title }}
</a-menu-item> </a-menu-item>
</a-sub-menu> </a-sub-menu>
</a-menu> </a-menu>
</a-layout-sider> </a-layout-sider>
<a-layout> <a-layout>
<a-layout-header style="background: #ffffff; padding-left: 20px"> <a-layout-header style="background: #ffffff; padding-left: 20px;border-bottom:1px solid #dcdcdc">
<div style="display: flex"> <div style="display: flex">
<div style="width: 50%"> <div style="width: 50%">
<menu-unfold-outlined v-if="state.collapsed" class="trigger" @click="collapeAction" /> <menu-unfold-outlined v-if="state.collapsed" class="trigger" @click="collapeAction" />
<menu-fold-outlined v-else class="trigger" @click="collapeAction" /> <menu-fold-outlined v-else class="trigger" @click="collapeAction" />
{{ state.title }} {{ state.title }}
</div> </div>
<div style="width: 50%;text-align: right;">
<div style="height:64px;line-height:64px;">
<a href="https://blog.csdn.net/qq_38870145?type=blog" target="_blank">
<div class="csdn-img-header" />
</a>
作者:yma16
</div>
</div>
</div> </div>
</a-layout-header> </a-layout-header>
<a-layout-content class="content-box"> <a-layout-content class="content-box">
<!-- 渲染子路由--> <!-- 渲染子路由-->
<a-card>
<router-view /> <router-view />
</a-card>
</a-layout-content> </a-layout-content>
</a-layout> </a-layout>
</a-layout> </a-layout>
...@@ -142,4 +154,13 @@ onMounted(() => { ...@@ -142,4 +154,13 @@ onMounted(() => {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.csdn-img-header {
background: url(../assets/csdn.jpg);
background-size: 100%;
width: 30px;
height: 30px;
display: inline-block;
line-height: 64px;
cursor: pointer;
}
</style> </style>
...@@ -18,9 +18,69 @@ export default { ...@@ -18,9 +18,69 @@ export default {
name: 'SearchGrade', name: 'SearchGrade',
component: () => import('@/components/SearchGrade.vue'), component: () => import('@/components/SearchGrade.vue'),
meta: { meta: {
// affix: true,
icon: 'ion:grid-outline',
title: 'csdn查分',
},
},
{
path: 'GameChart',
name: 'GameChart',
component: () => import('@/components/GameChart.vue'),
meta: {
icon: 'ion:grid-outline',
title: 'vue3赛道可视化',
},
},
{
path: 'Draw',
name: 'Draw',
component: () => import('@/components/draw/Draw.vue'),
meta: {
icon: 'ion:grid-outline',
title: '抽奖',
},
},
{
path: 'Drag',
name: 'Drag',
component: () => import('@/components/drag/Drag.vue'),
meta: {
icon: 'ion:grid-outline',
title: '拼图',
},
},
{
path: 'Commit',
name: 'Commit',
component: () => import('@/components/commit/Commit.vue'),
meta: {
icon: 'ion:grid-outline',
title: '大模型分析评论',
},
},
{
path: 'visual',
name: 'visual',
component: () => import('@/components/visual/index.vue'),
meta: {
icon: 'ion:grid-outline',
title: '2023编码可视化',
},
},
{
path: 'visualHtml',
name: 'visualHtml',
component: () => import('@/components/visualHtml/index.vue'),
meta: {
icon: 'ion:grid-outline', icon: 'ion:grid-outline',
title:'csdn查分', title: '可视化html',
}, },
} }
], ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册