统一三角洲游戏名展示
This commit is contained in:
@@ -28,6 +28,7 @@ import {
|
||||
assetRegions,
|
||||
formatEstimatedRentalDuration,
|
||||
formatHafCoinM,
|
||||
formatGameName,
|
||||
getCoinWan,
|
||||
getDailyLoss,
|
||||
getListingConsumablePrice,
|
||||
@@ -73,7 +74,7 @@ const assetRows = computed(() => {
|
||||
return [
|
||||
{ label: '商品编号', value: formatListingCode(listing.value) },
|
||||
{ label: '账号 ID', value: listing.value.account_id },
|
||||
{ label: '游戏', value: listing.value.game_name || '-' },
|
||||
{ label: '游戏', value: formatGameName(listing.value.game_name) },
|
||||
{ label: '区服', value: listing.value.server_region || '-' },
|
||||
{ label: '平台', value: listing.value.login_platform || '-' },
|
||||
{ label: '段位', value: listing.value.rank_level || '-' },
|
||||
@@ -414,7 +415,7 @@ async function openScreenshot(url: string) {
|
||||
<section class="detail-panel primary-panel">
|
||||
<div class="panel-heading">
|
||||
<h2>账号属性</h2>
|
||||
<span>{{ listing.game_name || 'delta_force' }}</span>
|
||||
<span>{{ formatGameName(listing.game_name, '三角洲') }}</span>
|
||||
</div>
|
||||
<dl class="compact-detail-grid">
|
||||
<div v-for="row in assetRows" :key="row.label">
|
||||
|
||||
@@ -35,7 +35,7 @@ import {
|
||||
settlementStatusLabel,
|
||||
} from '@/shared/utils/statusLabels'
|
||||
import { formatDateTime } from '@/shared/utils/time'
|
||||
import { formatListingNo } from '@/shared/utils/listingDisplay'
|
||||
import { formatGameName, formatListingNo } from '@/shared/utils/listingDisplay'
|
||||
|
||||
const route = useRoute()
|
||||
const loading = ref(false)
|
||||
@@ -218,7 +218,7 @@ const accountSnapshotItems = computed(() => {
|
||||
return [
|
||||
{ label: '账号ID', value: displayValue(snapshot.account_id) },
|
||||
{ label: '账号标题', value: displayValue(snapshot.title) },
|
||||
{ label: '游戏名称', value: displayValue(snapshot.game_name) },
|
||||
{ label: '游戏名称', value: formatGameName(snapshot.game_name, '-') },
|
||||
{ label: '所在区服', value: displayValue(snapshot.server_region) },
|
||||
{ label: '登录平台', value: displayValue(snapshot.login_platform) },
|
||||
{ label: '段位等级', value: displayValue(snapshot.rank_level) },
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
} from '@/features/admin/api/adminPickup'
|
||||
import { quantity, readNumber, readUnitPrice } from '@/features/orders/composables/useOrderSnapshot'
|
||||
import { adminPath } from '@/shared/utils/adminPath'
|
||||
import { formatListingNo } from '@/shared/utils/listingDisplay'
|
||||
import { formatGameName, formatListingNo } from '@/shared/utils/listingDisplay'
|
||||
import {
|
||||
centToYuan,
|
||||
formatCentWithSymbol,
|
||||
@@ -61,7 +61,7 @@ const accountSnapshotItems = computed(() => {
|
||||
return [
|
||||
{ label: '账号ID', value: displayValue(row.account_id) },
|
||||
{ label: '账号标题', value: displayValue(row.title) },
|
||||
{ label: '游戏名称', value: displayValue(row.game_name) },
|
||||
{ label: '游戏名称', value: formatGameName(row.game_name, '-') },
|
||||
{ label: '所在区服', value: displayValue(row.server_region) },
|
||||
{ label: '登录平台', value: displayValue(row.login_platform) },
|
||||
{ label: '段位等级', value: displayValue(row.rank_level) },
|
||||
|
||||
Reference in New Issue
Block a user