fix(orders): 增大押金/数量列宽并禁止表头换行,统一单行展示
This commit is contained in:
@@ -191,6 +191,12 @@
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
padding: 14px 12px;
|
padding: 14px 12px;
|
||||||
border-bottom: 1px solid #e2e8f0;
|
border-bottom: 1px solid #e2e8f0;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.orders-table :deep(.el-table__header-wrapper th .cell) {
|
||||||
|
white-space: nowrap !important;
|
||||||
|
word-break: keep-all !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.orders-table :deep(.el-table__body-wrapper td) {
|
.orders-table :deep(.el-table__body-wrapper td) {
|
||||||
|
|||||||
@@ -413,7 +413,7 @@ function bizTypeLabel(bizType: BizType) {
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="押金 / 数量" width="110">
|
<el-table-column label="押金 / 数量" width="130">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div v-if="row.bizType === 'rental' && row.rental" class="amount-cell">
|
<div v-if="row.bizType === 'rental' && row.rental" class="amount-cell">
|
||||||
<span class="amount-value"
|
<span class="amount-value"
|
||||||
|
|||||||
Reference in New Issue
Block a user