From 8bc734273b4840eb1895cd5300ec6f9311945eb0 Mon Sep 17 00:00:00 2001
From: zhouxueli <2841188632@qq.com>
Date: Thu, 22 May 2025 10:58:04 +0800
Subject: [PATCH] =?UTF-8?q?story#6462,=E4=BA=8C=E6=89=8B=E6=8B=96=E8=BD=A6?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=9C=80=E6=B1=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/secondHandCar/forSale.vue | 23 ++++++++++--
src/views/secondHandCar/indexList.vue | 49 ++++++++++++++++++-------
src/views/secondHandCar/wantBuySale.vue | 25 ++++++++++---
3 files changed, 75 insertions(+), 22 deletions(-)
diff --git a/src/views/secondHandCar/forSale.vue b/src/views/secondHandCar/forSale.vue
index 900abadb..61c644bd 100644
--- a/src/views/secondHandCar/forSale.vue
+++ b/src/views/secondHandCar/forSale.vue
@@ -40,10 +40,13 @@
{{ detailInfo.createTime?.substring(0,10) }}{{ detailInfo.areaName }}发布
-
- 售价(含税):
-
{{ formatNumber(detailInfo.minPrice) }}
-
万
+
+
+ 售价(含税):
+ {{ formatNumber(detailInfo.minPrice) }}
+ 万
+
+
{{detailInfo.attentionCount}}人想要{{detailInfo.browseCount}}浏览
@@ -292,6 +295,18 @@ export default {
margin-left: 10px;
}
}
+ .priceWrap{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ .viewNum{
+ color: #ccc;
+ margin-right: 15px;
+ span{
+ margin-left: 10px;
+ }
+ }
+ }
.price{
color: #FF5533;
line-height: 28px;
diff --git a/src/views/secondHandCar/indexList.vue b/src/views/secondHandCar/indexList.vue
index 8b39a814..50f06475 100644
--- a/src/views/secondHandCar/indexList.vue
+++ b/src/views/secondHandCar/indexList.vue
@@ -122,12 +122,20 @@
{{ item.brandModel?.match(/^[\u4e00-\u9fa5]+/)?.[0]?.replace(/牌$/, '') }} | {{item.emissionStandard?.label}} | {{ formatToWan(item.mileage) }}公里
{{ item.boardType?.label ? item.boardType?.label+' | ' : ''}} {{item.emissionStandard?.label}}
注册日期: {{item.registerDate?.substring(0,10)}}
- 售价(含税):¥ {{formatNumber(item.minPrice) }} 万
-
- 售价(含税):
-
{{formatNumber(item.minPrice) }} 万
-
~
-
{{formatNumber(item.maxPrice) }} 万
+
+
+ 售价(含税):¥ {{formatNumber(item.minPrice) }} 万
+
+
{{item.attentionCount}}人想要{{detaitemilInfo.browseCount}}浏览
+
+
+
+ 售价(含税):
+ {{formatNumber(item.minPrice) }} 万
+ ~
+ {{formatNumber(item.maxPrice) }} 万
+
+
{{item.attentionCount}}人想卖{{item.browseCount}}浏览
@@ -190,8 +198,8 @@ export default {
proprietary: '',
areaCode:'',
areaName:'',
- publishStartTime:'',
- publishEndTime:'',
+ startTime:'',
+ endTime:'',
licenseTypeOption:[
{value:2,label:'黄牌'},{value:3,label:'绿牌'},{value:1,label:'蓝牌'},
],
@@ -244,11 +252,11 @@ export default {
dateVal(val){
if(val){
let res= this.formatDateTimeRange(val)
- this.publishStartTime=res.startTime
- this.publishEndTime=res.endTime
+ this.startTime=res.startTime
+ this.endTime=res.endTime
}else{
- this.publishStartTime=''
- this.publishEndTime=''
+ this.startTime=''
+ this.endTime=''
}
this.setSearchVal();
this.getList()
@@ -410,7 +418,10 @@ export default {
priceSort:this.priceSort,
boardType:this.boardType,
emissionStandard:this.emissionStandard,
- proprietary: this.proprietary
+ proprietary: this.proprietary,
+ areaCode:this.areaCode,
+ startTime:this.startTime,
+ endTime:this.endTime,
})
this.total=res.total
if(this.pageNum == 1){// 第一页直接赋值
@@ -697,6 +708,18 @@ export default {
line-height: 16px;
}
}
+ .priceWrap{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ .viewNum{
+ color: #ccc;
+ margin-right: 15px;
+ span{
+ margin-left: 10px;
+ }
+ }
+ }
.priceRange{
color: #FF5533;
display: flex;
diff --git a/src/views/secondHandCar/wantBuySale.vue b/src/views/secondHandCar/wantBuySale.vue
index d2e99531..d3d5caf8 100644
--- a/src/views/secondHandCar/wantBuySale.vue
+++ b/src/views/secondHandCar/wantBuySale.vue
@@ -14,11 +14,14 @@
{{ detailInfo.createTime?.substring(0,10) }}发布
-
- 售价(含税):
-
{{formatNumber(detailInfo.minPrice) }} 万
-
~
-
{{formatNumber(detailInfo.maxPrice) }} 万
+
+
+ 售价(含税):
+ {{formatNumber(detailInfo.minPrice) }} 万
+ ~
+ {{formatNumber(detailInfo.maxPrice) }} 万
+
+
{{detailInfo.attentionCount}}人想卖{{detailInfo.browseCount}}浏览
@@ -182,6 +185,18 @@ export default {
margin-right: 20px;
}
}
+ .priceWrap{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ .viewNum{
+ color: #ccc;
+ margin-right: 15px;
+ span{
+ margin-left: 10px;
+ }
+ }
+ }
.price{
color: #FF5533;
font-weight: 600;