新增博文,注释登录注册窗口,修改h3样式,更改地址为lijue.net

This commit is contained in:
2025-08-11 12:38:51 +08:00
parent 3672709801
commit ec60c8ed67
12 changed files with 398 additions and 35 deletions

View File

@@ -33,13 +33,13 @@ const Props = withDefaults(defineProps<Props>(), {
})
// 登录注册函数
const handleLoginRegister = (type: 'login' | 'register') => {
if (type === 'login') {
isLoginModalOpen.value = true
} else if (type === 'register') {
isRegisterModalOpen.value = true
}
}
// const handleLoginRegister = (type: 'login' | 'register') => {
// if (type === 'login') {
// isLoginModalOpen.value = true
// } else if (type === 'register') {
// isRegisterModalOpen.value = true
// }
// }
</script>
<template>
@@ -120,7 +120,7 @@ const handleLoginRegister = (type: 'login' | 'register') => {
aria-label="GitHub"
/>
</UTooltip>
<div class="flex items-center space-x-2">
<!-- <div class="flex items-center space-x-2">
<button
class="px-3 py-2 text-sm font-medium text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white transition-colors"
@click="handleLoginRegister('login')"
@@ -133,7 +133,7 @@ const handleLoginRegister = (type: 'login' | 'register') => {
>
注册
</button>
</div>
</div> -->
</template>
</UHeader>