From 786d20e9cdd8ebaa0592861f5d7203b63e37faa3 Mon Sep 17 00:00:00 2001
From: yml2213
Date: Sun, 16 Aug 2026 18:55:26 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E6=B8=B8=E6=88=8F=E5=90=8D?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B1=9E=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../orders/components/OrderAccountSnapshot.vue | 3 ++-
.../features/seller/composables/usePublishDraft.ts | 2 +-
.../features/seller/composables/usePublishForm.ts | 6 +++---
.../seller/views/MobileSellerListingCreateView.vue | 10 +++++-----
.../seller/views/SellerListingCreateView.css | 4 ++++
.../seller/views/SellerListingCreateView.vue | 12 ++++++------
frontend/src/shared/types/publish.ts | 3 ++-
frontend/src/shared/utils/listingDisplay.ts | 6 +++---
8 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/frontend/src/features/orders/components/OrderAccountSnapshot.vue b/frontend/src/features/orders/components/OrderAccountSnapshot.vue
index 6e1754d..7e7589a 100644
--- a/frontend/src/features/orders/components/OrderAccountSnapshot.vue
+++ b/frontend/src/features/orders/components/OrderAccountSnapshot.vue
@@ -98,7 +98,7 @@ const primaryRows = computed(() => {
{ label: '方便上号时段', value: formatOnlineTime(a.online_time) },
{ label: '常用登录地', value: regions.length ? regions.join('、') : '--' },
{ label: '人脸归属', value: formatScalar(a.face_owner) },
- { label: '是否解锁赛季', value: formatScalar(a.unlock_said) },
+ { label: '是否可以修改游戏名', value: formatScalar(a.can_change_game_name) },
{
label: '封禁记录',
value: formatScalar(a.ban_record) === '--' ? '无' : formatScalar(a.ban_record),
@@ -141,6 +141,7 @@ const extraRows = computed(() => {
'skin_groups',
'screenshot_groups',
'online_time',
+ 'can_change_game_name',
'unlock_said',
'ban_record',
'common_regions',
diff --git a/frontend/src/features/seller/composables/usePublishDraft.ts b/frontend/src/features/seller/composables/usePublishDraft.ts
index 6803037..6ef97e8 100644
--- a/frontend/src/features/seller/composables/usePublishDraft.ts
+++ b/frontend/src/features/seller/composables/usePublishDraft.ts
@@ -17,7 +17,7 @@ export function defaultPublishForm(): PublishForm {
login_method: '',
online_start: '',
online_end: '',
- unlock_said: '',
+ can_change_game_name: '',
all_hero: '',
ban_record: '',
common_regions: [],
diff --git a/frontend/src/features/seller/composables/usePublishForm.ts b/frontend/src/features/seller/composables/usePublishForm.ts
index dcad6bd..cf343cd 100644
--- a/frontend/src/features/seller/composables/usePublishForm.ts
+++ b/frontend/src/features/seller/composables/usePublishForm.ts
@@ -308,7 +308,7 @@ export function usePublishForm(options: UsePublishFormOptions) {
login_method: listing.login_platform || '',
online_start: stringValue(onlineTime.start),
online_end: stringValue(onlineTime.end),
- unlock_said: stringValue(summary.unlock_said),
+ can_change_game_name: stringValue(summary.can_change_game_name),
all_hero: stringValue(summary.all_hero),
ban_record: stringValue(summary.ban_record),
common_regions: stringArray(summary.common_regions),
@@ -717,7 +717,7 @@ export function usePublishForm(options: UsePublishFormOptions) {
}
}
if (pricing.banRecordOptions.value.length && !form.ban_record) return '请选择封禁记录'
- if (!form.unlock_said) return '请选择是否解锁赛伊德'
+ if (!form.can_change_game_name) return '请选择是否可以修改游戏名'
if (!form.all_hero) return '请选择是否有全英雄'
if (form.depositAmountYuan === '' || Number(form.depositAmountYuan) < 0) return '请填写押金'
if (!Number.isFinite(Number(form.depositAmountYuan))) return '押金格式不正确'
@@ -818,7 +818,7 @@ export function usePublishForm(options: UsePublishFormOptions) {
start: form.online_start,
end: form.online_end,
},
- unlock_said: form.unlock_said,
+ can_change_game_name: form.can_change_game_name,
all_hero: form.all_hero,
ban_record: form.ban_record,
common_regions: form.common_regions,
diff --git a/frontend/src/features/seller/views/MobileSellerListingCreateView.vue b/frontend/src/features/seller/views/MobileSellerListingCreateView.vue
index 2d96bc1..120c630 100644
--- a/frontend/src/features/seller/views/MobileSellerListingCreateView.vue
+++ b/frontend/src/features/seller/views/MobileSellerListingCreateView.vue
@@ -119,7 +119,7 @@ function selectRadio(value: T, setter: (value: T) => void) {
setter(value)
}
-const unlockSaidOptions = ['是', '否']
+const canChangeGameNameOptions = ['是', '否']
const allHeroOptions = ['是', '否']
// 在线时间:通栏自定义块 + 底部时间选择,避免 van-field 窄列截断原生 time
@@ -405,16 +405,16 @@ const screenshotGuides: Record = {
}}
-
+
diff --git a/frontend/src/features/seller/views/SellerListingCreateView.css b/frontend/src/features/seller/views/SellerListingCreateView.css
index fc542ff..8503d89 100644
--- a/frontend/src/features/seller/views/SellerListingCreateView.css
+++ b/frontend/src/features/seller/views/SellerListingCreateView.css
@@ -102,6 +102,10 @@
color: var(--color-danger);
}
+.can-change-game-name-row > label {
+ white-space: nowrap;
+}
+
.field-hint {
grid-column: 2;
margin: 0;
diff --git a/frontend/src/features/seller/views/SellerListingCreateView.vue b/frontend/src/features/seller/views/SellerListingCreateView.vue
index 49decb9..895ccdb 100644
--- a/frontend/src/features/seller/views/SellerListingCreateView.vue
+++ b/frontend/src/features/seller/views/SellerListingCreateView.vue
@@ -118,7 +118,7 @@ const activeAgreement = ref
(null)
const activeAgreementTitle = computed(() => activeAgreement.value?.title || '协议内容')
const activeAgreementContent = computed(() => activeAgreement.value?.content || '')
-const unlockSaidOptions = ['是', '否']
+const canChangeGameNameOptions = ['是', '否']
const allHeroOptions = ['是', '否']
// 截图槽位的指导示例图(仅展示、点击放大,不占用上传数量)
@@ -337,12 +337,12 @@ function selectDailyLoss(value: string | number) {
-
-
+
+
diff --git a/frontend/src/shared/types/publish.ts b/frontend/src/shared/types/publish.ts
index 9bf8dae..49fbf3d 100644
--- a/frontend/src/shared/types/publish.ts
+++ b/frontend/src/shared/types/publish.ts
@@ -15,7 +15,8 @@ export type PublishForm = {
login_method: string
online_start: string
online_end: string
- unlock_said: string
+ /** 是否可以修改游戏名(是/否) */
+ can_change_game_name: string
/** 是否有全英雄(是/否) */
all_hero: string
ban_record: string
diff --git a/frontend/src/shared/utils/listingDisplay.ts b/frontend/src/shared/utils/listingDisplay.ts
index 140ec9b..5eb9c93 100644
--- a/frontend/src/shared/utils/listingDisplay.ts
+++ b/frontend/src/shared/utils/listingDisplay.ts
@@ -150,9 +150,9 @@ export function getListingChips(item: Listing): ListingDisplayChip[] {
if (online) {
chips.push({ label: '方便上号', value: online })
}
- // 解锁赛伊德为必选项,仅在号主勾选「是」时展示
- if (readAssetString(item, 'unlock_said') === '是') {
- chips.push({ label: '解锁赛伊德', value: '是' })
+ // 仅在号主确认可修改游戏名时展示。
+ if (readAssetString(item, 'can_change_game_name') === '是') {
+ chips.push({ label: '可修改游戏名', value: '是' })
}
// 全英雄为必选项,仅在号主勾选「是」时展示
if (readAssetString(item, 'all_hero') === '是') {