feat: 手动充值、邀请码注册与后台管理增强

新增玩家手动充值全流程(收款方式配置、充值下单/审核、钱包上分),
支持邀请码注册、邀请历史与专属返水率;完善后台代理/玩家管理与响应式操作栏,
并补充前台注册、充值页及多语言错误码。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-11 12:20:11 +08:00
parent 618fb49511
commit 10485ecfaf
98 changed files with 7908 additions and 856 deletions

View File

@@ -48,10 +48,7 @@ onUnmounted(() => {
<div ref="root" class="locale-switch" :class="{ compact, open }">
<button type="button" class="locale-trigger" :aria-expanded="open" aria-haspopup="listbox" @click.stop="toggle">
<LocaleFlag :locale="locale" :size="compact ? 16 : 18" />
<span class="locale-label">{{ currentLabel }}</span>
<span class="locale-chevron" aria-hidden="true"></span>
</button>
<ul v-show="open" class="locale-menu" role="listbox" :aria-label="compact ? 'Language' : undefined">
</button> <ul v-show="open" class="locale-menu" role="listbox" :aria-label="compact ? 'Language' : undefined">
<li
v-for="l in locales"
:key="l.code"
@@ -72,14 +69,16 @@ onUnmounted(() => {
.locale-switch {
position: relative;
display: inline-flex;
flex-shrink: 0;
}
.locale-trigger {
display: inline-flex;
align-items: center;
gap: 5px;
justify-content: center;
width: 36px;
height: 36px;
padding: 0 8px 0 6px;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: #0d0d0d;
@@ -89,29 +88,12 @@ onUnmounted(() => {
font-family: inherit;
cursor: pointer;
box-sizing: border-box;
flex-shrink: 0;
}
.locale-switch.compact .locale-trigger {
height: auto;
min-height: 30px;
padding: 4px 6px 4px 5px;
}
.locale-label {
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.locale-chevron {
font-size: 10px;
color: var(--text-muted);
transition: transform 0.15s ease;
}
.locale-switch.open .locale-chevron {
transform: rotate(180deg);
width: 30px;
height: 30px;
}
.locale-menu {