feat:增加备用下载
This commit is contained in:
parent
9f5a5431fa
commit
027e7025f2
1082
pnpm-lock.yaml
generated
Normal file
1082
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,9 @@
|
||||
export const TEACHER_APP_DOWNLOAD_URL =
|
||||
'https://lxx-tea-1313840333.cos.ap-chengdu.myqcloud.com/%E7%81%B5%E7%8A%80%E5%AD%A6AI-1.0.0-x64-win.exe'
|
||||
|
||||
export const TEACHER_APP_BACKUP_DOWNLOAD_URL =
|
||||
'https://lxx-tea-1313840333.cos.ap-chengdu.myqcloud.com/%E7%81%B5%E7%8A%80%E5%AD%A6AI-1.0.0-x64-win.zip'
|
||||
|
||||
export const TEACHER_APP_FILE_NAME = '灵犀学AI-1.0.0-x64-win.exe'
|
||||
|
||||
export const TEACHER_APP_FILE_SIZE = '84.38 MB'
|
||||
|
||||
@ -5,6 +5,7 @@ import { Monitor, Download, ArrowLeft, CheckCircle2, AlertCircle } from 'lucide-
|
||||
import logoImg from '@/assets/logo.png'
|
||||
import {
|
||||
TEACHER_APP_DOWNLOAD_URL,
|
||||
TEACHER_APP_BACKUP_DOWNLOAD_URL,
|
||||
TEACHER_APP_FILE_NAME,
|
||||
TEACHER_APP_FILE_SIZE,
|
||||
TEACHER_DOWNLOAD_COUNTDOWN_SECONDS,
|
||||
@ -156,6 +157,15 @@ onUnmounted(() => {
|
||||
<Download class="w-4 h-4" />
|
||||
重新下载
|
||||
</a>
|
||||
<a
|
||||
:href="TEACHER_APP_BACKUP_DOWNLOAD_URL"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="flex-1 inline-flex items-center justify-center gap-2 px-6 py-3.5 text-sm font-semibold text-primary bg-white border-2 border-primary/20 rounded-2xl hover:border-primary/40 hover:bg-primary/5 transition-all duration-200 cursor-pointer"
|
||||
>
|
||||
<Download class="w-4 h-4" />
|
||||
备用版
|
||||
</a>
|
||||
<RouterLink
|
||||
to="/"
|
||||
class="flex-1 inline-flex items-center justify-center gap-2 px-6 py-3.5 text-sm font-semibold text-primary bg-white border-2 border-primary/20 rounded-2xl hover:border-primary/40 hover:bg-primary/5 transition-all duration-200 cursor-pointer"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user