From 5a83214a76a4c853b4161096fc2bce0a8ffb0008 Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Wed, 9 Aug 2023 11:21:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/apartment/seachModule.vue | 2 +- src/components/public/circle-btn.vue | 2 +- src/components/public/have-questions.vue | 2 +- src/views/HomeView.vue | 21 ++++++++------- src/views/detail.vue | 34 ------------------------ 5 files changed, 15 insertions(+), 46 deletions(-) diff --git a/src/components/apartment/seachModule.vue b/src/components/apartment/seachModule.vue index f4752d3..f647220 100644 --- a/src/components/apartment/seachModule.vue +++ b/src/components/apartment/seachModule.vue @@ -73,7 +73,7 @@
欢迎联系 {{ wechat['nickname'] }} 咨询房源
- +
微信扫码添加好友
备注:寄托租房
diff --git a/src/components/public/circle-btn.vue b/src/components/public/circle-btn.vue index 2a8243d..ae6eda7 100644 --- a/src/components/public/circle-btn.vue +++ b/src/components/public/circle-btn.vue @@ -12,7 +12,7 @@
欢迎联系 {{ wechat['nickname'] }} 咨询房源
- +
微信扫码添加好友
备注:寄托租房
diff --git a/src/components/public/have-questions.vue b/src/components/public/have-questions.vue index e4728b6..81d825d 100644 --- a/src/components/public/have-questions.vue +++ b/src/components/public/have-questions.vue @@ -12,7 +12,7 @@
- + diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 0c97d9e..e16ec36 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -47,7 +47,7 @@
- +
@@ -291,11 +291,12 @@ const onPageSrcoll = (e) => { let body = document.documentElement ? document.documentElement : document.body ? document.body : document.querySelector('.element'); + let scrollTop = body.scrollTop let clientHeight = body.clientHeight let offsetHeight = body.offsetHeight - if (scrollTop + clientHeight === offsetHeight) { - console.log(scrollTop + clientHeight,offsetHeight) + + if (scrollTop + clientHeight > offsetHeight - 100) { if (loadMore.value) { loadMore.value = false pages.value += 1 @@ -432,7 +433,8 @@ img { height: 14px; cursor: pointer; } - .r-no-list{ + + .r-no-list { transform: rotate(180deg); } @@ -478,9 +480,10 @@ img { overflow: hidden; text-overflow: ellipsis; - .text:hover{ + .text:hover { text-decoration: underline; } + .text { font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; font-weight: 400; @@ -566,9 +569,10 @@ img { } } -.list-tab-btn:hover{ +.list-tab-btn:hover { color: #333; } + .list-tab-btn { font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif; font-weight: 400; @@ -649,7 +653,7 @@ img { text-align: center; } - .img-box:hover{ + .img-box:hover { box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2); @@ -716,5 +720,4 @@ img { font-size: 15px; color: #7F7F7F; text-align: left; -} - +} diff --git a/src/views/detail.vue b/src/views/detail.vue index 3af19a2..f2901f6 100644 --- a/src/views/detail.vue +++ b/src/views/detail.vue @@ -734,40 +734,6 @@ :qrcode="housingInfo['data'] && housingInfo['data'].qrcode"> - - -