feat: support Chinese nickname in registration

- User input "昵称" stored in `name` field (supports Chinese)
- `username` auto-generated (PocketBase requires ASCII)
- Password rules displayed inline with real-time validation
- All UI displays prefer `name` over `username`

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
congsh
2026-04-18 13:01:41 +08:00
parent 262f946a4e
commit 5cec2101af
13 changed files with 191 additions and 74 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ function openGameDetail(game: Game) {
<section class="welcome-bar">
<div class="welcome-left">
<h1 class="welcome-title">
欢迎回来, <span class="gg-text-gradient">{{ userStore.user?.username || '玩家' }}</span>
欢迎回来, <span class="gg-text-gradient">{{ userStore.user?.name || userStore.user?.username || '玩家' }}</span>
</h1>
<div class="status-line">
<span :class="statusDotClass" />