正在显示
5 个修改的文件
包含
19 行增加
和
10 行删除
不能预览此文件类型
assets/AI-Tool-box.png
0 → 100644
81.7 KB
assets/logo.jpg
已删除
100644 → 0
137.6 KB
| @@ -4,11 +4,19 @@ | @@ -4,11 +4,19 @@ | ||
| 4 | > | 4 | > |
| 5 | <div class="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8"> | 5 | <div class="max-w-6xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8"> |
| 6 | <div> | 6 | <div> |
| 7 | - <h3 class="text-xl font-bold mb-4"> | ||
| 8 | - {{ webSite.webname.split("|")[0] }} | ||
| 9 | - </h3> | 7 | + <div class="flex items-center gap-2"> |
| 8 | + <img | ||
| 9 | + src="../../assets/AI-Tool-box.png" | ||
| 10 | + alt="Logo" | ||
| 11 | + class="h-10 w-10 mb-4" | ||
| 12 | + /> | ||
| 13 | + <h3 class="text-xl font-bold mb-4"> | ||
| 14 | + {{ webSite.webname.split("|")[0] }} | ||
| 15 | + </h3> | ||
| 16 | + </div> | ||
| 10 | <p class="text-gray-400"> | 17 | <p class="text-gray-400"> |
| 11 | - 提供安全、快速的网址跳转服务,保护您的隐私安全。 | 18 | + 提供安全、快速的网址跳转服务,保护您的隐私安全,本网站涵盖ppt生成, |
| 19 | + AI写作、AI编程、AI绘画、AI设计、AI论文、AI视频、AI配音、AI音乐、AI金融等多个领域领域的AI工具软件,每日更新和添加最新AI工具,让你的工作更加高效便捷。 | ||
| 12 | </p> | 20 | </p> |
| 13 | </div> | 21 | </div> |
| 14 | 22 | ||
| @@ -49,11 +57,11 @@ | @@ -49,11 +57,11 @@ | ||
| 49 | </div> | 57 | </div> |
| 50 | </div> | 58 | </div> |
| 51 | </div> | 59 | </div> |
| 52 | - <div | 60 | + <!-- <div |
| 53 | class="max-w-6xl mx-auto mt-8 pt-8 border-t border-gray-700 dark:border-gray-800 text-center text-gray-400" | 61 | class="max-w-6xl mx-auto mt-8 pt-8 border-t border-gray-700 dark:border-gray-800 text-center text-gray-400" |
| 54 | > | 62 | > |
| 55 | <p>{{ webSite.bottomAnnouncement }}</p> | 63 | <p>{{ webSite.bottomAnnouncement }}</p> |
| 56 | - </div> | 64 | + </div> --> |
| 57 | </footer> | 65 | </footer> |
| 58 | </template> | 66 | </template> |
| 59 | 67 |
| @@ -29,7 +29,7 @@ function mergeDuplicates(data: Types[]) { | @@ -29,7 +29,7 @@ function mergeDuplicates(data: Types[]) { | ||
| 29 | } else { | 29 | } else { |
| 30 | const existing = map.get(item.id); | 30 | const existing = map.get(item.id); |
| 31 | const existingChildIds = new Set( | 31 | const existingChildIds = new Set( |
| 32 | - existing.children.map((child: any) => child.id) | 32 | + existing.children.map((child: any) => child.id), |
| 33 | ); | 33 | ); |
| 34 | item.children.forEach((child) => { | 34 | item.children.forEach((child) => { |
| 35 | if (!existingChildIds.has(child.id)) { | 35 | if (!existingChildIds.has(child.id)) { |
| @@ -44,6 +44,7 @@ function mergeDuplicates(data: Types[]) { | @@ -44,6 +44,7 @@ function mergeDuplicates(data: Types[]) { | ||
| 44 | const detailRes = await getAppDetail(Number(route.params.id)); | 44 | const detailRes = await getAppDetail(Number(route.params.id)); |
| 45 | DetailData.value = detailRes.data; | 45 | DetailData.value = detailRes.data; |
| 46 | DetailData.value.types = mergeDuplicates(detailRes.data.types); | 46 | DetailData.value.types = mergeDuplicates(detailRes.data.types); |
| 47 | +console.log(DetailData.value); | ||
| 47 | if (DetailData.value.types?.length > 0) { | 48 | if (DetailData.value.types?.length > 0) { |
| 48 | const firstType = DetailData.value.types[0]; | 49 | const firstType = DetailData.value.types[0]; |
| 49 | const typeAlias = firstType.alias || firstType.children?.[0]?.alias; | 50 | const typeAlias = firstType.alias || firstType.children?.[0]?.alias; |
| @@ -60,8 +61,8 @@ if (DetailData.value.types?.length > 0) { | @@ -60,8 +61,8 @@ if (DetailData.value.types?.length > 0) { | ||
| 60 | } | 61 | } |
| 61 | 62 | ||
| 62 | useHead({ | 63 | useHead({ |
| 63 | - title: DetailData.value.popupContent | ||
| 64 | - ? `${DetailData.value.title} - ${DetailData.value.popupContent}` | 64 | + title: DetailData.value.description |
| 65 | + ? `${DetailData.value.title} - ${DetailData.value.description}` | ||
| 65 | : DetailData.value.title, | 66 | : DetailData.value.title, |
| 66 | meta: [ | 67 | meta: [ |
| 67 | { name: "description", content: DetailData.value.description }, | 68 | { name: "description", content: DetailData.value.description }, |
| @@ -79,7 +80,7 @@ useHead({ | @@ -79,7 +80,7 @@ useHead({ | ||
| 79 | ? ` - ${DetailData.value.popupContent}` | 80 | ? ` - ${DetailData.value.popupContent}` |
| 80 | : `- ${DetailData.value.description} | ${webSite.value.webname.slice( | 81 | : `- ${DetailData.value.description} | ${webSite.value.webname.slice( |
| 81 | 0, | 82 | 0, |
| 82 | - 7 | 83 | + 7, |
| 83 | )}` | 84 | )}` |
| 84 | }`, | 85 | }`, |
| 85 | }, | 86 | }, |
-
请 注册 或 登录 后发表评论