更新应用标题为中文,添加H5下载链接支持
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>im-app-store</title>
|
<title>应用商店</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@@ -30,7 +30,8 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"downloads": {
|
"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": {
|
"size": {
|
||||||
"android": "52.7 MB"
|
"android": "52.7 MB"
|
||||||
|
|||||||
@@ -22,8 +22,9 @@ export interface AppItem {
|
|||||||
releaseDate: string
|
releaseDate: string
|
||||||
releaseNotes: AppNotes
|
releaseNotes: AppNotes
|
||||||
downloads: {
|
downloads: {
|
||||||
ios: string
|
ios?: string
|
||||||
android: string
|
android: string
|
||||||
|
h5?: string
|
||||||
}
|
}
|
||||||
size: {
|
size: {
|
||||||
ios: string
|
ios: string
|
||||||
|
|||||||
@@ -39,6 +39,13 @@ const app = computed(() => apps.find((item) => item.id === route.params.id));
|
|||||||
<a :href="app.downloads.android" target="_blank" rel="noreferrer">{{
|
<a :href="app.downloads.android" target="_blank" rel="noreferrer">{{
|
||||||
t("Android 下载", "Download for Android")
|
t("Android 下载", "Download for Android")
|
||||||
}}</a>
|
}}</a>
|
||||||
|
<a
|
||||||
|
v-if="app.downloads.h5"
|
||||||
|
:href="app.downloads.h5"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>{{ t("Web 打开", "Open Web") }}</a
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user