diff --git a/src/assets/data.json b/src/assets/data.json index 5496fcb..9bf95ef 100644 --- a/src/assets/data.json +++ b/src/assets/data.json @@ -77,6 +77,36 @@ "en_name": "ProgrammerArea", "icon": "lni lni-code", "children": [ + { + "name": "AI智能", + "en_name": "CodeHosting", + "web": [ + { + "url": "https://tongyi.aliyun.com/", + "logo": "https://img.alicdn.com/imgextra/i1/O1CN01asLYeX1WhbsyEZn5u_!!6000000002820-55-tps-56-56.svg", + "title": "通义千问", + "desc": "阿里云" + }, + { + "url": "https://www.doubao.com//", + "logo": "https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/doubao/logo-doubao-overflow.png", + "title": "豆包", + "desc": "字节跳动" + }, + { + "url": "https://kimi.moonshot.cn/", + "logo": "https://statics.moonshot.cn/kimi-chat/favicon.ico", + "title": "Kimi", + "desc": "北京月之暗面科技有限公司" + }, + { + "url": "https://chatgpt.com/", + "logo": "https://cdn.oaistatic.com/assets/apple-touch-icon-mz9nytnj.webp", + "title": "ChatGPT", + "desc": "OpenAI" + } + ] + }, { "name": "代码托管", "en_name": "CodeHosting", diff --git a/src/components/WebItem.vue b/src/components/WebItem.vue index c8b9226..e4f165b 100644 --- a/src/components/WebItem.vue +++ b/src/components/WebItem.vue @@ -1,30 +1,30 @@ @@ -32,7 +32,7 @@ export default { name: 'WebItem', props: { - item: Object, + item: {web: []}, transName: Function }, methods: { diff --git a/src/views/index.vue b/src/views/index.vue index d463052..00b132d 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -6,14 +6,10 @@
@@ -37,9 +33,9 @@ {{ transName(submenu) }} HotHot @@ -50,9 +46,7 @@ 关于本站 - ♥︎ + @@ -67,16 +61,16 @@
@@ -109,7 +103,7 @@ import WebItem from "../components/WebItem.vue"; import Footer from "../components/Footer.vue"; import itemsData from "../assets/data.json"; -import { loadJs } from '../assets/js/app.js' +import {loadJs} from '../assets/js/app.js' export default { name: "Index",