feat:增加vc++下载
This commit is contained in:
parent
38cfa8684f
commit
cc7137b6ad
3
.gitignore
vendored
3
.gitignore
vendored
@ -23,4 +23,5 @@ dist-ssr
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
.temp
|
||||
.temp
|
||||
*.gz
|
||||
@ -4,6 +4,9 @@ export const TEACHER_APP_DOWNLOAD_URL =
|
||||
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_VC_REDIST_DOWNLOAD_URL =
|
||||
'https://lxx-tea-1313840333.cos.ap-chengdu.myqcloud.com/VC_redist.x64.exe'
|
||||
|
||||
export const TEACHER_APP_FILE_NAME = '灵犀学AI-1.0.0-x64-win.exe'
|
||||
|
||||
export const TEACHER_APP_FILE_SIZE = '84.38 MB'
|
||||
|
||||
@ -12,6 +12,7 @@ import logoImg from "@/assets/logo.png";
|
||||
import {
|
||||
TEACHER_APP_DOWNLOAD_URL,
|
||||
TEACHER_APP_BACKUP_DOWNLOAD_URL,
|
||||
TEACHER_VC_REDIST_DOWNLOAD_URL,
|
||||
TEACHER_APP_FILE_NAME,
|
||||
TEACHER_APP_FILE_SIZE,
|
||||
TEACHER_DOWNLOAD_COUNTDOWN_SECONDS,
|
||||
@ -185,11 +186,11 @@ onUnmounted(() => {
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col sm:flex-row gap-3 w-full">
|
||||
<div class="flex flex-col gap-3 w-full">
|
||||
<button
|
||||
v-if="!downloadStarted"
|
||||
type="button"
|
||||
class="flex-1 inline-flex items-center justify-center gap-2 px-6 py-3.5 text-sm font-semibold text-white bg-gradient-to-r from-primary to-primary-light rounded-2xl hover:shadow-lg hover:shadow-primary/25 transition-all duration-200 cursor-pointer"
|
||||
class="w-full inline-flex items-center justify-center gap-2 px-6 py-3.5 text-sm font-semibold text-white bg-gradient-to-r from-primary to-primary-light rounded-2xl hover:shadow-lg hover:shadow-primary/25 transition-all duration-200 cursor-pointer"
|
||||
@click="skipCountdown"
|
||||
>
|
||||
<Download class="w-4 h-4" />
|
||||
@ -200,24 +201,36 @@ onUnmounted(() => {
|
||||
:href="TEACHER_APP_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-white bg-gradient-to-r from-primary to-primary-light rounded-2xl hover:shadow-lg hover:shadow-primary/25 transition-all duration-200 cursor-pointer"
|
||||
class="w-full inline-flex items-center justify-center gap-2 px-6 py-3.5 text-sm font-semibold text-white bg-gradient-to-r from-primary to-primary-light rounded-2xl hover:shadow-lg hover:shadow-primary/25 transition-all duration-200 cursor-pointer"
|
||||
>
|
||||
<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>
|
||||
<div class="grid grid-cols-2 gap-3">
|
||||
<a
|
||||
:href="TEACHER_APP_BACKUP_DOWNLOAD_URL"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex items-center justify-center gap-2 px-4 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>
|
||||
<a
|
||||
:href="TEACHER_VC_REDIST_DOWNLOAD_URL"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="inline-flex items-center justify-center gap-2 px-4 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" />
|
||||
VC++环境
|
||||
</a>
|
||||
</div>
|
||||
<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"
|
||||
class="w-full inline-flex items-center justify-center gap-2 px-6 py-3 text-sm font-medium text-text-muted hover:text-primary transition-colors duration-200"
|
||||
>
|
||||
<ArrowLeft class="w-4 h-4" />
|
||||
返回首页
|
||||
</RouterLink>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user