From d93bfd648c5146ec1c8d4378c4c603dac32f56d3 Mon Sep 17 00:00:00 2001
From: luJianJun <2587063613@qq.com>
Date: Wed, 9 Aug 2023 16:12:12 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=90=9C=E7=B4=A2=E6=9C=80?=
=?UTF-8?q?=E5=A4=A710=E6=9D=A1=20=20=E7=80=91=E5=B8=83=E6=B5=81=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6=E5=9B=BE=E6=A0=87=E4=BF=AE=E6=94=B9=20=20=20=E7=AD=9B?=
=?UTF-8?q?=E9=80=89=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/indexSeachInfo/indexSeachInfo.vue | 3 ++-
src/components/indexWaterfallBox/indexWaterfallBox.vue | 5 +++--
src/components/seachModule/seachModule.vue | 2 ++
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/components/indexSeachInfo/indexSeachInfo.vue b/src/components/indexSeachInfo/indexSeachInfo.vue
index 88bc83e..1af432f 100644
--- a/src/components/indexSeachInfo/indexSeachInfo.vue
+++ b/src/components/indexSeachInfo/indexSeachInfo.vue
@@ -166,10 +166,11 @@ let selectSeach = (data) => {
.select-btn-click {
border: 1px solid rgba(80, 227, 194, 1) !important;
color: rgba(80, 227, 194, 1) !important;
+ background:#fff !important;
}
.select-btn:hover{
- background: rgba(242,242,242,1) !important;
+ background: rgba(242,242,242,1);
}
.select-btn {
diff --git a/src/components/indexWaterfallBox/indexWaterfallBox.vue b/src/components/indexWaterfallBox/indexWaterfallBox.vue
index 4e086c6..14f8ca2 100644
--- a/src/components/indexWaterfallBox/indexWaterfallBox.vue
+++ b/src/components/indexWaterfallBox/indexWaterfallBox.vue
@@ -80,7 +80,7 @@
@@ -248,9 +248,10 @@ watchEffect(()=>{
flex-direction: row-reverse;
.corner-img {
- transform: rotate(91deg);
+ transform: rotate(90deg);
width: 33px;
height: 33px;
+ margin:0 -1px 0 0;
}
}
diff --git a/src/components/seachModule/seachModule.vue b/src/components/seachModule/seachModule.vue
index da11595..348d8cd 100644
--- a/src/components/seachModule/seachModule.vue
+++ b/src/components/seachModule/seachModule.vue
@@ -178,6 +178,7 @@ let seachList = (item) => {
if (historyArr.data.indexOf(seachAllType.keyword) === -1) {
historyArr.data.unshift(seachAllType.keyword)
}
+ if(historyArr.data.length>10)historyArr.data.splice(historyArr.data.length-1,1)
localStorage.setItem('historyArr', JSON.stringify(historyArr.data));
sessionStorage.setItem('houseingPageType', routePath.value === '/needHousing' ? '6' : routePath.value === '/intermediaryHousing' ? '1' : routePath.value === '/personHousing' ? '0' : '0')
route.push({
@@ -236,6 +237,7 @@ let deleteSeachVal=(i)=>{
let setHotSeach = (item) => {
seachAllType.keyword = item
if (historyArr.data.indexOf(item) === -1) historyArr.data.unshift(item)
+ if(historyArr.data.length>10)historyArr.data.slice(historyArr.data.length-1,1)
localStorage.setItem('historyArr', JSON.stringify(historyArr.data));
seachList()
}