作者 xiaoqiu

更新了网站底部内容,优化了应用详情标题

不能预览此文件类型
... ... @@ -4,11 +4,19 @@
>
<div class="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">
{{ webSite.webname.split("|")[0] }}
</h3>
<div class="flex items-center gap-2">
<img
src="../../assets/AI-Tool-box.png"
alt="Logo"
class="h-10 w-10 mb-4"
/>
<h3 class="text-xl font-bold mb-4">
{{ webSite.webname.split("|")[0] }}
</h3>
</div>
<p class="text-gray-400">
提供安全、快速的网址跳转服务,保护您的隐私安全。
提供安全、快速的网址跳转服务,保护您的隐私安全,本网站涵盖ppt生成,
AI写作、AI编程、AI绘画、AI设计、AI论文、AI视频、AI配音、AI音乐、AI金融等多个领域领域的AI工具软件,每日更新和添加最新AI工具,让你的工作更加高效便捷。
</p>
</div>
... ... @@ -49,11 +57,11 @@
</div>
</div>
</div>
<div
<!-- <div
class="max-w-6xl mx-auto mt-8 pt-8 border-t border-gray-700 dark:border-gray-800 text-center text-gray-400"
>
<p>{{ webSite.bottomAnnouncement }}</p>
</div>
</div> -->
</footer>
</template>
... ...
... ... @@ -29,7 +29,7 @@ function mergeDuplicates(data: Types[]) {
} else {
const existing = map.get(item.id);
const existingChildIds = new Set(
existing.children.map((child: any) => child.id)
existing.children.map((child: any) => child.id),
);
item.children.forEach((child) => {
if (!existingChildIds.has(child.id)) {
... ... @@ -44,6 +44,7 @@ function mergeDuplicates(data: Types[]) {
const detailRes = await getAppDetail(Number(route.params.id));
DetailData.value = detailRes.data;
DetailData.value.types = mergeDuplicates(detailRes.data.types);
console.log(DetailData.value);
if (DetailData.value.types?.length > 0) {
const firstType = DetailData.value.types[0];
const typeAlias = firstType.alias || firstType.children?.[0]?.alias;
... ... @@ -60,8 +61,8 @@ if (DetailData.value.types?.length > 0) {
}
useHead({
title: DetailData.value.popupContent
? `${DetailData.value.title} - ${DetailData.value.popupContent}`
title: DetailData.value.description
? `${DetailData.value.title} - ${DetailData.value.description}`
: DetailData.value.title,
meta: [
{ name: "description", content: DetailData.value.description },
... ... @@ -79,7 +80,7 @@ useHead({
? ` - ${DetailData.value.popupContent}`
: `- ${DetailData.value.description} | ${webSite.value.webname.slice(
0,
7
7,
)}`
}`,
},
... ...