From 7b13a6784edc1776a9e3902f61ed1ec3e1e5ad31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=A1=E5=A4=8D=E4=B9=A0?= <2353956224@qq.com> Date: Mon, 10 Nov 2025 14:36:15 +0800 Subject: [PATCH] =?UTF-8?q?2.9.1=E6=9C=80=E7=BB=88=E7=A8=B3=E5=AE=9A?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/account.js | 5 + src/components/translationDialog.vue | 172 ++++++++++- src/static/css/video.less | 5 + src/utils/axios.js | 14 +- src/views/HomeView.vue | 2 +- src/views/VideoStream.vue | 439 +++++++++++++++++++-------- 6 files changed, 486 insertions(+), 151 deletions(-) diff --git a/src/api/account.js b/src/api/account.js index 4a45f2d..7d1f573 100644 --- a/src/api/account.js +++ b/src/api/account.js @@ -31,3 +31,8 @@ export function comment() { export function logout(data) { return postAxios({ url: 'api/user/aiChat-logout', data }) } + +//获取账号状态 +export function health(data) { + return getAxios({ url: 'api/common/health' }) +} diff --git a/src/components/translationDialog.vue b/src/components/translationDialog.vue index 3cd3607..ceb4550 100644 --- a/src/components/translationDialog.vue +++ b/src/components/translationDialog.vue @@ -3,7 +3,7 @@ :show-close="false" @close="onClose"> @@ -21,6 +21,12 @@ 导入私信 + + + + + @@ -43,7 +49,7 @@ - +