新版本官网优化完成

This commit is contained in:
2025-02-15 02:53:56 +08:00
parent 3e84bbba59
commit 4c601b31a2
55 changed files with 3046 additions and 915 deletions

View File

@@ -8,8 +8,14 @@
<span class="text-large font-600 mr-3"> {{ page.title }} </span>
</template>
<el-card shadow="hover" class=" my-5">
<!-- 内容组件 -->
<Content class="content bg-white mt-5" :data="page.design?.content" />
<!-- 新闻详细 -->
<div class=" bg-white">
<!-- 内容组件 -->
<Content class="content text-lg py-3" :data="page.design?.content" />
<h3 class="tag">{{ $t('articleUrl') }}{{ locationUrl() }} </h3>
</div>
</el-card>
</el-page-header>
</div>
@@ -18,11 +24,12 @@
<script setup lang="ts">
import {useLayout, usePage} from "~/composables/configState";
import type {CmsNavigation} from "~/api/cms/cmsNavigation/model";
import {getNavIdByParamsId, getViews, paramsId} from "~/utils/common";
import {getNavIdByParamsId, getViews, locationUrl, paramsId} from "~/utils/common";
import Left from "~/components/Left.vue";
import { ArrowLeft,View } from '@element-plus/icons-vue'
import {getCmsNavigation, listCmsNavigation} from "~/api/cms/cmsNavigation";
import Content from "~/components/Content.vue";
import Tags from "~/components/Tags.vue";
// 引入状态管理
const route = useRoute();