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