个人中心修改密码 & 会员个人信息
This commit is contained in:
@@ -59,22 +59,20 @@ export default function LoginPage() {
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => setTab("login")}
|
||||
className={`flex-1 py-2 rounded-md transition-all ${
|
||||
tab === "login"
|
||||
className={`flex-1 py-2 rounded-md transition-all ${tab === "login"
|
||||
? "bg-white shadow-sm text-blue-600 font-medium"
|
||||
: "text-gray-600 hover:text-gray-900"
|
||||
}`}
|
||||
}`}
|
||||
>
|
||||
登录
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
onClick={() => setTab("register")}
|
||||
className={`flex-1 py-2 rounded-md transition-all ${
|
||||
tab === "register"
|
||||
className={`flex-1 py-2 rounded-md transition-all ${tab === "register"
|
||||
? "bg-white shadow-sm text-blue-600 font-medium"
|
||||
: "text-gray-600 hover:text-gray-900"
|
||||
}`}
|
||||
}`}
|
||||
>
|
||||
注册
|
||||
</Button>
|
||||
@@ -174,9 +172,9 @@ function LoginForm() {
|
||||
tabIndex={-1}
|
||||
>
|
||||
{showPassword ? (
|
||||
<EyeOffIcon className="size-4" />
|
||||
) : (
|
||||
<EyeIcon className="size-4" />
|
||||
) : (
|
||||
<EyeOffIcon className="size-4" />
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user