diff --git a/frontend/src/pages/admin/protect/index.vue b/frontend/src/pages/admin/protect/index.vue index b268605..abc319b 100644 --- a/frontend/src/pages/admin/protect/index.vue +++ b/frontend/src/pages/admin/protect/index.vue @@ -86,7 +86,7 @@ const themeOptions = computed(() => [ { value: 'card', label: t('admin.protect.themeCard') }, { value: 'terminal', label: t('admin.protect.themeTerminal') }, ]) -// DuiLib 壳目前只有 64 位构建;32 位程序产物会回落到 classic 壳(服务端处理) +// DuiLib 壳 x64 / x86 各有一份构建,两边的皮肤完全一致(assets/shell64_dui.bin、shell32_dui.bin) // 皮肤名形如「深色 · 卡密登录」:卡片上标题取前半,副标题取后半 function themeTitle(label: string) { return label.split('·')[0].trim() @@ -95,7 +95,7 @@ function themeSub(label: string) { const parts = label.split('·') return parts.length > 1 ? parts.slice(1).join('·').trim() : '' } -// 位宽提示:经典壳 32/64 位都有产物,DuiLib 那几套只有 64 位构建 +// 位宽提示:所有皮肤都同时提供 32/64 位产物,卡片统一标「32/64 位」 // 点卡片角上的放大镜看大图 const previewTheme = ref<{ value: string, label: string } | null>(null) const previewOpen = ref(false) @@ -103,8 +103,9 @@ function openThemePreview(theme: { value: string, label: string }) { previewTheme.value = theme previewOpen.value = true } -function themeBits(theme: string) { - return theme === 'classic' ? t('admin.protect.themeBits32') : t('admin.protect.themeBits64') +function themeBits(_theme: string) { + // 每套皮肤都同时出 32/64 位 payload,不再有「只有 64 位」的那一档 + return t('admin.protect.themeBits32') } const themeDisabled = computed(() => false)