diff --git a/src/views/secondHandCar/wantBuySale.vue b/src/views/secondHandCar/wantBuySale.vue index 47ff02fc..03e63ff5 100644 --- a/src/views/secondHandCar/wantBuySale.vue +++ b/src/views/secondHandCar/wantBuySale.vue @@ -26,7 +26,9 @@
- {{ detailInfo.vehicleType }} + + {{ detailInfo.vehicleType }} + 拖车类型
@@ -214,13 +216,17 @@ export default { .itemInfo{ display: flex; flex-direction: column; - width: 25%; + width: 28%; span:first-child{ + width: 100%; font-weight: bold; font-size: 14px; color: #282828; line-height: 20px; margin-bottom: 2px; + white-space: nowrap; /* 强制文本在一行显示 */ + overflow: hidden; /* 隐藏超出部分 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ } span:last-child{ font-weight: 400;