From a25486201c79dfea4d356899664a4b55d47ee98f Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sat, 15 Aug 2026 10:28:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E5=95=86=E5=93=81=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=88=97=E8=A1=A8=E5=9C=A8=E7=A7=9F=E9=87=91/?= =?UTF-8?q?=E6=8A=BC=E9=87=91=E5=88=97=E5=89=8D=E6=96=B0=E5=A2=9E=E5=8F=B7?= =?UTF-8?q?=E4=B8=BB=E5=A4=87=E6=B3=A8=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/features/admin/views/AdminListingsView.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/frontend/src/features/admin/views/AdminListingsView.vue b/frontend/src/features/admin/views/AdminListingsView.vue index 8f63564..9e2530c 100644 --- a/frontend/src/features/admin/views/AdminListingsView.vue +++ b/frontend/src/features/admin/views/AdminListingsView.vue @@ -132,6 +132,7 @@ const screenshotColumns = [ width: 420, read: (row: Listing) => characterAndWeaponSkinText(row), }, + { label: '号主备注', width: 160, read: (row: Listing) => ownerRemarkText(row) }, { label: '租金/押金', width: 96, read: (row: Listing) => rentAndDepositText(row) }, { label: '比例', width: 64, read: (row: Listing) => formatRatio(row) }, { @@ -488,6 +489,11 @@ function characterAndWeaponSkinText(row: Listing) { return parts.length ? parts.join(' / ') : '-' } +function ownerRemarkText(row: Listing) { + const remark = row.description?.trim() + return remark || '-' +} + function rentAndDepositText(row: Listing) { return `${listingPrice(row)}/${formatCentWithSymbol(row.deposit_amount_cent)}` } @@ -516,7 +522,7 @@ function formatQuantity(value: number) { @@ -855,6 +861,9 @@ function formatQuantity(value: number) { {{ characterAndWeaponSkinText(row) }} + + +