From 6e7db27d8be2da3868d5263ffef809e6c721fb2e Mon Sep 17 00:00:00 2001 From: Nixevol Date: Mon, 2 Nov 2026 15:41:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E9=A1=B5=E9=87=87?= =?UTF-8?q?=E7=94=A8=E6=9D=86=E5=A1=94=E7=AB=8B=E9=9D=A2=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/features/auth/LoginView.vue | 44 ++++-- web/src/features/auth/login-gate.css | 192 +++++++++++++++++++++++++++ 2 files changed, 228 insertions(+), 8 deletions(-) create mode 100644 web/src/features/auth/login-gate.css diff --git a/web/src/features/auth/LoginView.vue b/web/src/features/auth/LoginView.vue index b4b2ee1..2d0831e 100644 --- a/web/src/features/auth/LoginView.vue +++ b/web/src/features/auth/LoginView.vue @@ -5,6 +5,7 @@ import { NButton, NInput, NModal, NSpin } from "naive-ui"; import { api, saveSession } from "../../shared/http"; import { useToast } from "../../shared/toast"; import ThemeButton from "../../shell/ThemeButton.vue"; +import "./login-gate.css"; const props = defineProps<{ purpose?: "login" | "pool" }>(); const emit = defineEmits<{ done: [] }>(); @@ -34,6 +35,7 @@ const countdown = ref(0); const busy = ref(false); const noticeVisible = ref(false); const noticePinned = ref(false); +const accountHint = computed(() => (mode.value === "nqi" ? "大数据平台账号" : "管理员账号")); let countdownTimer = 0; let noticeTimer = 0; @@ -295,28 +297,54 @@ async function finishNqi() {