移除未使用的依赖和组件,优化博客列表和详情页样式,调整菜单项和颜色配置

This commit is contained in:
2026-01-01 10:20:49 +08:00
parent d36526b368
commit a9d3854a55
13 changed files with 94 additions and 3074 deletions

View File

@ -4,7 +4,7 @@
<!-- <div class="dt-card mt-10 bg-white"> -->
<template #header>
<div class="flex items-center">
<icon-time class="w-5 mr-2"></icon-time>
<icon-time class="w-5 mr-2 text-primary"></icon-time>
时间日期
</div>
</template>
@ -24,7 +24,7 @@
<n-card embedded class="mt-4 shadow">
<template #header>
<div class="flex items-center">
<icon-news class="w-5 mr-2"></icon-news>
<icon-news class="w-5 mr-2 text-primary"></icon-news>
百度新闻
</div>
</template>
@ -54,7 +54,7 @@
<n-card embedded class="mt-4 shadow">
<template #header>
<div class="flex items-center">
<icon-date class="w-5 mr-2"></icon-date>
<icon-date class="w-5 mr-2 h-[20px]" ></icon-date>
农历节气
<div class="ml-12 text-[#ec66ab] font-500">{{ jq.yearTips }} {{ jq.lunarCalendar }}</div>
</div>

View File

@ -124,16 +124,16 @@ const menuOptions = ref([
key: "blog",
icon: () => h(artiSvg)
},
{
label: () => h(RouterLink, { to: '/widget', class: 'flex items-center justify-center' }, { default: () => '工具' }),
key: "widget",
icon: () => h(downSvg)
},
{
label: () => h(RouterLink, { to: '/apps', class: 'flex items-center justify-center' }, { default: () => '软件' }),
key: "apps",
icon: () => h(settingSvg)
},
// {
// label: () => h(RouterLink, { to: '/widget', class: 'flex items-center justify-center' }, { default: () => '工具' }),
// key: "widget",
// icon: () => h(downSvg)
// },
// {
// label: () => h(RouterLink, { to: '/apps', class: 'flex items-center justify-center' }, { default: () => '软件' }),
// key: "apps",
// icon: () => h(settingSvg)
// },
{
label: () => h(RouterLink, { to: '/plink', class: 'flex items-center justify-center' }, { default: () => '友链' }),
key: "plink",