diff --git a/frontend/src/features/admin/views/AdminListingsView.vue b/frontend/src/features/admin/views/AdminListingsView.vue index 69f107e..64271b4 100644 --- a/frontend/src/features/admin/views/AdminListingsView.vue +++ b/frontend/src/features/admin/views/AdminListingsView.vue @@ -22,7 +22,7 @@ import { formatRatio, getCoinWan, getDailyLoss, - getListingSellerCoinPrice, + getListingRentPrice, getResourceQuantity, getSkinGroup, } from '@/shared/utils/listingDisplay' @@ -136,14 +136,14 @@ const screenshotColumns = [ read: (row: Listing) => characterAndWeaponSkinText(row), }, { label: '号主备注', width: 160, read: (row: Listing) => ownerRemarkText(row) }, - { label: '纯币价格', width: 90, read: (row: Listing) => ownerPureCoinPriceText(row) }, - { label: '租金/押金', width: 96, read: (row: Listing) => rentAndDepositText(row) }, - { label: '比例', width: 64, read: (row: Listing) => formatRatio(row) }, + { label: '租客纯币价格', width: 105, read: (row: Listing) => renterPureCoinPriceText(row) }, { label: '租期', width: 92, read: (row: Listing) => rentalPeriodText(row), }, + { label: '租金/押金', width: 96, read: (row: Listing) => rentAndDepositText(row) }, + { label: '比例', width: 64, read: (row: Listing) => formatRatio(row) }, ] as const async function queryListings() { @@ -601,9 +601,9 @@ function rentAndDepositText(row: Listing) { return `${listingPrice(row)}/${formatCentWithSymbol(row.deposit_amount_cent)}` } -// 号主纯币价格:号主收号价里的纯币部分(不含额外消耗品),取自发布时固化的价格快照。 -function ownerPureCoinPriceText(row: Listing) { - const price = getListingSellerCoinPrice(row) +// 租客纯币价格:不含额外消耗品的纯币部分(快照 buyer_coin_base_price 或 总价减消耗品)。 +function renterPureCoinPriceText(row: Listing) { + const price = getListingRentPrice(row) if (price <= 0) return '-' return formatCentWithSymbol(Math.round(price * 100)) } @@ -974,26 +974,25 @@ function formatQuantity(value: number) { - + - - - - - - - + + + + + +