fix(listing): 号主备注完整展示
This commit is contained in:
@@ -62,17 +62,17 @@ const publishOptions = ref(emptyListingPublishOptions)
|
||||
const listingColumnUnits = {
|
||||
merchant: 62,
|
||||
code: 62,
|
||||
zone: 64,
|
||||
region: 58,
|
||||
zone: 62,
|
||||
region: 56,
|
||||
login: 36,
|
||||
core: 74,
|
||||
level: 52,
|
||||
equipment: 72,
|
||||
skin: 128,
|
||||
skin: 116,
|
||||
face: 52,
|
||||
remark: 72,
|
||||
purePrice: 68,
|
||||
period: 46,
|
||||
remark: 92,
|
||||
purePrice: 66,
|
||||
period: 44,
|
||||
rentDeposit: 72,
|
||||
ratio: 28,
|
||||
detail: 44,
|
||||
@@ -182,7 +182,7 @@ const screenshotColumns = [
|
||||
},
|
||||
{ label: '皮肤资产', width: 189, read: (row: Listing) => skinAssetText(row) },
|
||||
{ label: '人脸/全英雄', width: 81, read: (row: Listing) => faceHeroText(row) },
|
||||
{ label: '号主备注', width: 112, read: (row: Listing) => ownerRemarkText(row) },
|
||||
{ label: '号主备注', width: 148, read: (row: Listing) => ownerRemarkText(row) },
|
||||
{ label: '租期', width: 70, read: (row: Listing) => rentalPeriodText(row) },
|
||||
{ label: '租客纯币价格', width: 101, read: (row: Listing) => renterPureCoinPriceText(row) },
|
||||
{ label: '租金/押金', width: 106, read: (row: Listing) => rentAndDepositText(row) },
|
||||
@@ -1149,8 +1149,10 @@ function formatQuantity(value: number) {
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="号主备注" :width="listingColumnWidths.remark" show-overflow-tooltip>
|
||||
<template #default="{ row }">{{ ownerRemarkText(row) }}</template>
|
||||
<el-table-column label="号主备注" :width="listingColumnWidths.remark">
|
||||
<template #default="{ row }">
|
||||
<span class="listing-remark">{{ ownerRemarkText(row) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="租期" :width="listingColumnWidths.period">
|
||||
<template #default="{ row }">
|
||||
|
||||
@@ -1188,6 +1188,15 @@ h1 {
|
||||
word-break: keep-all;
|
||||
}
|
||||
|
||||
.admin-listings-table .listing-remark {
|
||||
display: block;
|
||||
width: 100%;
|
||||
line-height: 1.45;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.admin-listings-table .face-owner-no {
|
||||
color: #dc2626;
|
||||
font-weight: 700;
|
||||
|
||||
Reference in New Issue
Block a user