更新应用标题为中文,添加H5下载链接支持

This commit is contained in:
2026-03-06 21:10:49 +07:00
parent 0dc81faa78
commit 4bf0342818
4 changed files with 12 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>im-app-store</title>
<title>应用商店</title>
</head>
<body>
<div id="app"></div>

View File

@@ -30,7 +30,8 @@
]
},
"downloads": {
"android": "https://s3.yxdim.com/__UNI__44929DB__20260306175925.apk"
"android": "https://s3.yxdim.com/__UNI__44929DB__20260306175925.apk",
"h5": "https://www.yxdim.com"
},
"size": {
"android": "52.7 MB"

View File

@@ -22,8 +22,9 @@ export interface AppItem {
releaseDate: string
releaseNotes: AppNotes
downloads: {
ios: string
ios?: string
android: string
h5?: string
}
size: {
ios: string

View File

@@ -39,6 +39,13 @@ const app = computed(() => apps.find((item) => item.id === route.params.id));
<a :href="app.downloads.android" target="_blank" rel="noreferrer">{{
t("Android 下载", "Download for Android")
}}</a>
<a
v-if="app.downloads.h5"
:href="app.downloads.h5"
target="_blank"
rel="noreferrer"
>{{ t("Web 打开", "Open Web") }}</a
>
</div>
</div>
</header>