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() {