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;