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) }}