feat:登录功能迁移新登录页面

This commit is contained in:
小张 2025-08-30 15:13:39 +08:00
parent 1714221e70
commit 714de2f19b

View File

@ -88,7 +88,7 @@
</div> -->
<!-- 登录按钮 -->
<div v-if="!userStore.isLoggedIn" class="auth-buttons" @click="showLoginModal">
<div v-if="!userStore.isLoggedIn" class="auth-buttons" @click="goToLoginPage">
<div class="auth-combined-btn">
<span class="auth-login">{{ t('header.login') }}</span>
</div>
@ -452,7 +452,12 @@ const handleUserMenuSelect = (key: string) => {
}
}
//
//
const goToLoginPage = () => {
router.push('/login')
}
//
const showLoginModal = () => {
loginModalVisible.value = true
}