refactor: 优化SEO标题和描述配置
This commit is contained in:
@ -16,9 +16,9 @@
|
||||
})
|
||||
|
||||
useHead({
|
||||
title: `${props.title}`,
|
||||
title: `${props.title} - 图夕夕`,
|
||||
meta: [
|
||||
{ name: 'description', content: props.description },
|
||||
{ name: 'description', content: `${props.description}`},
|
||||
{ name: 'keywords', content: props.keywords },
|
||||
],
|
||||
})
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<SeoHead :title="detail?.title" :description="detail?.description" :keywords="detail?.labels[0]" />
|
||||
<SeoHead :title="detail?.title" :description="detail?.description" :keywords="detail?.labels?.toString()" />
|
||||
<KlNavTab />
|
||||
<div class="ml-auto mr-auto mt-[20px] w-[1440px]">
|
||||
<div class="flex items-center">
|
||||
@ -179,6 +179,7 @@
|
||||
import { downloadFile } from '~/utils/utils'
|
||||
import { useMessage } from '~/utils/useMessage'
|
||||
import { Warning } from '@element-plus/icons-vue'
|
||||
import SeoHead from '~/components/seo-head/index.vue'
|
||||
import CardPicture from '~/components/kl-card-picture/index.vue'
|
||||
import { getDetail, getRelationRecommend, report, getUserInfo, getMainWork, createContent, createUserProject, deleteProject } from '~/api/drawe-detail/index'
|
||||
import KlNavTab from '~/components/kl-nav-tab/index.vue'
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<!-- 导航 -->
|
||||
<SeoHead title="工程设计图纸下载_CAD设计图纸资源库" />
|
||||
<KlNavTab active="图纸" :type="1" />
|
||||
<div class="ma-auto w-[1440px]">
|
||||
<!-- 图纸分类 -->
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<!-- 导航 -->
|
||||
<SeoHead title="工程设计图纸下载_CAD设计图纸资源库" />
|
||||
<KlNavTab active="图纸" :type="1" />
|
||||
<div class="ma-auto w-[1440px]">
|
||||
<!-- 图纸分类 -->
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<!-- 导航 -->
|
||||
<SeoHead title="工程设计模型下载_CAD设计图纸资源库" />
|
||||
<KlNavTab active="模型" :type="3" />
|
||||
<div class="ma-auto w-[1440px]">
|
||||
<!-- 图纸分类 -->
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<!-- 导航 -->
|
||||
<SeoHead title="工程设计模型下载_CAD设计图纸资源库" />
|
||||
<KlNavTab active="模型" :type="3" />
|
||||
<div class="ma-auto w-[1440px]">
|
||||
<!-- 图纸分类 -->
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<!-- 导航 -->
|
||||
<SeoHead title="工程设计文本下载_CAD设计图纸资源库" />
|
||||
<KlNavTab active="文本" :type="2" />
|
||||
<div class="ma-auto w-[1440px]">
|
||||
<!-- 图纸分类 -->
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<!-- 导航 -->
|
||||
<SeoHead title="工程设计文本下载_CAD设计图纸资源库" />
|
||||
<KlNavTab active="文本" :type="2" />
|
||||
<div class="ma-auto w-[1440px]">
|
||||
<!-- 图纸分类 -->
|
||||
|
||||
Reference in New Issue
Block a user