From 1cad9891dc2de646c9614d57b488421d39e06950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Mon, 10 Mar 2025 13:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20=E4=B8=80=E4=BA=9B=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/app/t-gameNav.vue | 6 +++--- src/components/app/to-livecode.vue | 22 ++++++++++++++++------ src/components/userScripts/tus-mission.vue | 13 ++++--------- src/pages/User/Scripts.vue | 11 +++++++++-- src/plugins/Sqlite/modules/userAccount.ts | 17 ++++++++--------- 5 files changed, 40 insertions(+), 29 deletions(-) diff --git a/src/components/app/t-gameNav.vue b/src/components/app/t-gameNav.vue index 07e6b7f6..5ce0842b 100644 --- a/src/components/app/t-gameNav.vue +++ b/src/components/app/t-gameNav.vue @@ -4,7 +4,7 @@ {{ navItem.name }} -
+
@@ -37,7 +37,6 @@ const showOverlay = ref(false); const actId = ref(); const hasNav = computed(() => { - if (props.modelValue !== 2) return undefined; return nav.value.find((item) => item.name === "前瞻直播" || item.name === "直播兑换码"); }); @@ -81,6 +80,7 @@ async function toNav(item: TGApp.BBS.Navigator.Navigator): Promise { await TGLogger.Info(`[TGameNav][toNav] ${item.app_path}`); const link = new URL(item.app_path); const mysList = [ + "https://ys.mihoyo.com", "https://act.mihoyo.com", "https://webstatic.mihoyo.com", "https://bbs.mihoyo.com", @@ -96,7 +96,7 @@ async function toNav(item: TGApp.BBS.Navigator.Navigator): Promise { window.open(item.app_path); return; } - if (item.name === "签到福利") { + if (item.name === "签到福利" || item.name === "每日签到") { await TGClient.open("web_act_thin", item.app_path); return; } diff --git a/src/components/app/to-livecode.vue b/src/components/app/to-livecode.vue index b4214aca..15ebc55f 100644 --- a/src/components/app/to-livecode.vue +++ b/src/components/app/to-livecode.vue @@ -22,11 +22,10 @@ {{ timestampToDate(Number(item.to_get_time) * 1000) }}