From ae579428b19bd6a71b47d51ffbd5531288797d42 Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Sat, 4 Jul 2026 02:48:03 +0800 Subject: [PATCH] =?UTF-8?q?feat(download):=20=E5=AF=B9=E5=B7=B2=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=E7=9A=84=E5=8E=86=E5=8F=B2APK=E6=98=BE=E7=A4=BA"?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E4=B8=8B=E8=BD=BD"=E8=80=8C=E9=9D=9E?= =?UTF-8?q?=E6=AD=BB=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5 --- tenant-platform/src/api/update.ts | 2 ++ tenant-platform/src/views/download/DownloadView.vue | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/tenant-platform/src/api/update.ts b/tenant-platform/src/api/update.ts index b1ae6db..929e255 100644 --- a/tenant-platform/src/api/update.ts +++ b/tenant-platform/src/api/update.ts @@ -245,6 +245,7 @@ export interface DownloadPageHistoryItem { versionName: string versionCode: number downloadUrl?: string + available: boolean changeLog?: string publishedAt: string current: boolean @@ -254,6 +255,7 @@ export interface DownloadPageAppInfo { versionName: string versionCode: number downloadUrl?: string + available?: boolean changeLog?: string storeUrl?: string storeLinks?: Record diff --git a/tenant-platform/src/views/download/DownloadView.vue b/tenant-platform/src/views/download/DownloadView.vue index efdfbd1..64edaa2 100644 --- a/tenant-platform/src/views/download/DownloadView.vue +++ b/tenant-platform/src/views/download/DownloadView.vue @@ -19,6 +19,10 @@ class="btn btn-primary" :href="section.info.downloadUrl" >立即安装 + 无法下载 {{ formatDate(item.publishedAt) }} 下载 + 无法下载 @@ -268,6 +273,12 @@ onMounted(async () => { color: #333; } +.btn-disabled { + background: #f0f2f5; + color: #bbb; + cursor: not-allowed; +} + .other-links { margin-top: 12px; font-size: 13px;