diff --git a/src/pages/common/PageAchi.vue b/src/pages/common/PageAchi.vue index 1d5572ec..7d04b546 100644 --- a/src/pages/common/PageAchi.vue +++ b/src/pages/common/PageAchi.vue @@ -43,6 +43,9 @@ 隐藏已完成 +
@@ -78,6 +81,7 @@ import { path } from "@tauri-apps/api"; import { listen, type UnlistenFn } from "@tauri-apps/api/event"; import { open, save } from "@tauri-apps/plugin-dialog"; import { writeTextFile } from "@tauri-apps/plugin-fs"; +import { openUrl } from "@tauri-apps/plugin-opener"; import { computed, onMounted, onUnmounted, ref, shallowRef, watch } from "vue"; import { useRoute, useRouter } from "vue-router"; @@ -274,6 +278,10 @@ async function deleteUid(): Promise { uidCur.value = uidList.value[0]; } +async function toYae(): Promise { + await openUrl("https://github.com/HolographicHat/Yae"); +} + onUnmounted(async () => { if (achiListener !== null) { achiListener(); @@ -341,6 +349,17 @@ onUnmounted(async () => { font-family: var(--font-title); } +.top-link { + margin-left: auto; + margin-right: 16px; + cursor: pointer; + color: var(--tgc-od-white); + + &:hover { + color: var(--tgc-od-orange); + } +} + .wrap { display: flex; height: calc(100vh - 144px);