From 7fc690dd735e7dc8a8ca941b527bf8ec50c0a81a Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 27 Jul 2022 09:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/indexNotice/indexNotice.js | 11 ++--- .../parkingSpaceApplyManage.html | 42 +++++++------------ 2 files changed, 21 insertions(+), 32 deletions(-) diff --git a/public/components/property/indexNotice/indexNotice.js b/public/components/property/indexNotice/indexNotice.js index e90d7b53d..5f2133abd 100644 --- a/public/components/property/indexNotice/indexNotice.js +++ b/public/components/property/indexNotice/indexNotice.js @@ -41,12 +41,13 @@ }, checkPoolScroll: function() { - var element = document.getElementById("pool"); - var clientHeight = element.clientHeight; - var scrollHeight = element.scrollHeight; + let element = document.getElementById("pool"); + if (!element) { return; } + let clientHeight = element.clientHeight; + let scrollHeight = element.scrollHeight; if (scrollHeight > clientHeight) { if (!$that.indexNoticeInfo.scrollInterval) { - $that.indexNoticeInfo.scrollInterval = setInterval($that.poolScroll, 50); + $that.indexNoticeInfo.scrollInterval = setInterval($that.poolScroll, 5000); } } else { clearInterval($that.indexNoticeInfo.scrollInterval); @@ -54,7 +55,7 @@ } }, poolScroll: function() { - var element = document.getElementById("pool"); + let element = document.getElementById("pool"); if (!element) { return; } var clientHeight = element.clientHeight; var scrollHeight = element.scrollHeight; diff --git a/public/pages/property/parkingSpaceApplyManage/parkingSpaceApplyManage.html b/public/pages/property/parkingSpaceApplyManage/parkingSpaceApplyManage.html index 645ce9b69..3143a6a83 100644 --- a/public/pages/property/parkingSpaceApplyManage/parkingSpaceApplyManage.html +++ b/public/pages/property/parkingSpaceApplyManage/parkingSpaceApplyManage.html @@ -5,8 +5,7 @@
-
@@ -14,21 +13,17 @@
- +
- +
- +
@@ -43,8 +38,7 @@
-
@@ -52,9 +46,7 @@
- +
@@ -70,10 +62,9 @@
-
@@ -112,16 +103,13 @@
- + +
+
+
- -
-
- +
@@ -141,7 +129,7 @@ - + - + \ No newline at end of file