diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bec5588b..8adc093e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,6 +59,7 @@ jobs: releaseBody: | > [!TIP] > Windows 平台用户建议通过微软应用商店下载,macOS 平台仅在此发布,Linux 平台暂不支持。 + > 如有使用问题可加入 [反馈QQ群](https://h5.qun.qq.com/s/3cgX0hJ4GA) download diff --git a/public/platforms/other/github.webp b/public/platforms/other/github.webp new file mode 100644 index 00000000..2ff68c18 Binary files /dev/null and b/public/platforms/other/github.webp differ diff --git a/public/platforms/other/microsoft-store.webp b/public/platforms/other/microsoft-store.webp new file mode 100644 index 00000000..d7e300b6 Binary files /dev/null and b/public/platforms/other/microsoft-store.webp differ diff --git a/public/platforms/other/qq.webp b/public/platforms/other/qq.webp new file mode 100644 index 00000000..b2b6e136 Binary files /dev/null and b/public/platforms/other/qq.webp differ diff --git a/src/components/app/t-appBadge.vue b/src/components/app/t-appBadge.vue new file mode 100644 index 00000000..7d1dd00b --- /dev/null +++ b/src/components/app/t-appBadge.vue @@ -0,0 +1,101 @@ + + + diff --git a/src/pages/common/Config.vue b/src/pages/common/Config.vue index 185905ec..9b72ccd1 100644 --- a/src/pages/common/Config.vue +++ b/src/pages/common/Config.vue @@ -127,19 +127,7 @@ :subtitle="appStore.dataPath.userDataDir" /> -
- App -
- TeyvatGuide Beta -
-
- v{{ versionApp }}.{{ buildTime === "" ? "Dev" : buildTime }} -
-
+ @@ -148,6 +136,7 @@ import { app, fs, invoke, os, process as TauriProcess } from "@tauri-apps/api"; import { storeToRefs } from "pinia"; import { computed, onMounted, ref } from "vue"; +import TAppBadge from "../../components/app/t-appBadge.vue"; import showConfirm from "../../components/func/confirm"; import showSnackbar from "../../components/func/snackbar"; import ToGameLogin from "../../components/overlay/to-gameLogin.vue"; @@ -176,7 +165,6 @@ const isDevEnv = ref(import.meta.env.MODE === "development"); // About App const versionApp = ref(""); const versionTauri = ref(""); -const buildTime = computed(() => appStore.buildTime); // About OS const osPlatform = ref(""); @@ -671,36 +659,4 @@ function submitHome(): void { background: var(--tgc-btn-1); color: var(--btn-text); } - -.config-app { - position: fixed; - top: 16px; - right: 10px; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - padding: 10px; - border-radius: 10px; - background-image: linear-gradient(to bottom, rgb(19 84 122 / 80%), rgb(128 208 199 / 80%)); - box-shadow: 0 0 10px var(--common-shadow-2); -} - -.config-app-icon { - width: 200px; - aspect-ratio: 1 / 1; -} - -.config-app-info { - color: var(--tgc-white-1); - font-family: var(--font-title); - font-size: 14px; - text-align: center; - text-shadow: 0 0 2px rgb(19 84 122 / 80%); -} - -.config-app-info.click { - color: var(--tgc-yellow-1); - cursor: pointer; -}