refactor: 移除SEO元标签并添加页面SEO组件

This commit is contained in:
wangqiao
2025-08-30 16:11:01 +08:00
parent 22539f3839
commit 8e26ae9cde
2 changed files with 15 additions and 14 deletions

View File

@ -77,20 +77,20 @@ export default defineNuxtConfig({
{ name: 'keywords', content: '图纸,图纸下载,设计素材,图纸大全,设计图纸,,工程图纸,cad图纸' }, { name: 'keywords', content: '图纸,图纸下载,设计素材,图纸大全,设计图纸,,工程图纸,cad图纸' },
{ name: 'author', content: '图夕夕' }, { name: 'author', content: '图夕夕' },
// SEO meta tags // SEO meta tags
{ // {
property: 'og:title', // property: 'og:title',
content: '图纸,图纸下载,设计素材,图纸大全,设计图纸,,工程图纸,cad图纸', // content: '图纸,图纸下载,设计素材,图纸大全,设计图纸,,工程图纸,cad图纸',
}, // },
{ // {
property: 'og:description', // property: 'og:description',
content: '图夕夕是一家图纸素材分享交易平台提供AutoCAD/ProE/Creo/CATIA/UG/inventor/CAXA/等建筑图纸的素材下载及免费教程。', // content: '图夕夕是一家图纸素材分享交易平台提供AutoCAD/ProE/Creo/CATIA/UG/inventor/CAXA/等建筑图纸的素材下载及免费教程。',
}, // },
{ property: 'og:type', content: 'website' }, // { property: 'og:type', content: 'website' },
{ property: 'og:url', content: 'https://www.xlcig.cn' }, // { property: 'og:url', content: 'https://www.xlcig.cn' },
{ property: 'og:site_name', content: 'xlCig' }, // { property: 'og:site_name', content: 'xlCig' },
{ name: 'theme-color', content: '#00f5ff' }, // { name: 'theme-color', content: '#00f5ff' },
// robots meta // // robots meta
{ name: 'robots', content: 'index, follow' }, // { name: 'robots', content: 'index, follow' },
], ],
link: [ link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon2.ico' }, { rel: 'icon', type: 'image/x-icon', href: '/favicon2.ico' },

View File

@ -1,4 +1,5 @@
<template> <template>
<SeoHead :title="detail?.title" :description="detail?.description" :keywords="detail?.labels[0]" />
<KlNavTab /> <KlNavTab />
<div class="ml-auto mr-auto mt-[20px] w-[1440px]"> <div class="ml-auto mr-auto mt-[20px] w-[1440px]">
<div class="flex items-center"> <div class="flex items-center">