From 445fd8cd42d57916ad0c435edb5001c4dd8ab30e Mon Sep 17 00:00:00 2001 From: congzc Date: Tue, 20 Jun 2023 14:04:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=85=A7=E7=89=87?= =?UTF-8?q?=E8=AF=B4=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/top.vue | 7 ++++++ src/components/home/home.vue | 40 +++++++++++++++++++++++++++++++++-- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/components/common/top.vue b/src/components/common/top.vue index 3c65873..d2dd023 100644 --- a/src/components/common/top.vue +++ b/src/components/common/top.vue @@ -17,6 +17,9 @@ + + {{ characters == 1 ? "照片说话" : "Photo Talk" }} + {{ characters == 1 ? "邃芒慧生" : "MetaGene" }} @@ -104,6 +107,10 @@ export default { this.setCharacters(value); }, handleCommand(path) { + if (path == "PhotoTalk") { + window.open("https://photo.metavatar.cc/#/"); + return; + } this.$router.push(`/${path}`); }, goView(id) { diff --git a/src/components/home/home.vue b/src/components/home/home.vue index 88b0ef7..2740314 100644 --- a/src/components/home/home.vue +++ b/src/components/home/home.vue @@ -42,12 +42,15 @@ freely -
{{ characters == 1 ? "立刻体验" : "Try it now" }} +
--> +
+ {{ characters == 1 ? "立刻体验" : "Try it now" }}
@@ -123,7 +126,7 @@
-
+
+
+ {{ characters == 1 ? "立刻体验" : "Try it now" }} +