diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index 2be0fc7a..0d3efbc6 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -294,7 +294,7 @@ export default { auditResult: type ? 1 : 0 , auditReason: this.auditReason, }) - this.h5GoBack() + // this.h5GoBack() } finally { console.log(type) } diff --git a/src/views/secondHandCar/indexList.vue b/src/views/secondHandCar/indexList.vue index f93410e9..03c2b78d 100644 --- a/src/views/secondHandCar/indexList.vue +++ b/src/views/secondHandCar/indexList.vue @@ -119,8 +119,13 @@ export default { mixins:[myMixins], watch:{ activeTab(){ + this.setSearchVal(); this.getList() - } + }, + topSearch(){ + this.setSearchVal(); + this.getList() + }, }, data(){ return{ @@ -161,10 +166,9 @@ export default { document.addEventListener('visibilitychange', async ( ) => { let state = document.visibilityState if (state == 'hidden') { // 用户离开了 - // console.log("用户离开了") } if (state == 'visible') { - // console.log("用户visible") + console.log('visible') } }); }, diff --git a/src/views/secondHandCar/mineRelease.vue b/src/views/secondHandCar/mineRelease.vue index 2dfb91c2..6989553a 100644 --- a/src/views/secondHandCar/mineRelease.vue +++ b/src/views/secondHandCar/mineRelease.vue @@ -18,7 +18,9 @@
- + + +
{{item.vehicleType?.substring(0,2)}}
@@ -41,7 +43,7 @@
- +
@@ -89,6 +91,7 @@ export default { } }, async mounted() { + this.activeTab = Number(sessionStorage.getItem('mineActiveTab')) || 1; await this.getCount() await this.getList() }, @@ -105,6 +108,7 @@ export default { name: item.type==1 ? "forSale" : 'wantBuySale', query: { id:item.id,queryType:3}, }) + sessionStorage.setItem('mineActiveTab',String(this.activeTab) ) }, async getList(){ let res= await minePublishPageList({ @@ -273,11 +277,11 @@ export default { } .left{ position: relative; - .bigImg{ + .img,.qiugou{ width: 115px; height: 77px; - background: linear-gradient( 90deg, rgba(5,32,54,0.88) 0%, rgba(69,87,103,0.19) 64%, rgba(133,141,152,0) 100%); border-radius: 7px; + margin-right: 10px; } .smallImg{ position: absolute; @@ -286,6 +290,14 @@ export default { width: 36px; height: 18px; } + .qiugou{ + line-height: 77px; + text-align: center; + color: #FFFFFF; + font-size: 18px; + letter-spacing: 5px; + background-color: #6C81CD; + } } .right{ diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index ea1747e7..80273632 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -191,7 +191,7 @@ export default { auditResult: type ? 1 : 0 , auditReason: this.auditReason, }) - this.h5GoBack() + // this.h5GoBack() } finally { console.log(type) } diff --git a/src/views/secondHandCar/wantBuySale.vue b/src/views/secondHandCar/wantBuySale.vue index 41072b7f..93eea6be 100644 --- a/src/views/secondHandCar/wantBuySale.vue +++ b/src/views/secondHandCar/wantBuySale.vue @@ -10,8 +10,6 @@
{{ detailInfo.vehicleType }} - {{ detailInfo.boardType?.label }} - {{ detailInfo.emissionStandard?.label }}
{{ detailInfo.createTime?.substring(0,10) }}发布