From cb7b9ef357bfa21eb584337b28d38c1dfe54adfc Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 9 Apr 2024 17:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E8=AF=A6=E6=83=85=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95=E6=BB=91=E5=8A=A8?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/portrayal/jumin/index.vue | 12 ++++++++---- src/views/modules/workSys/setResiUpdate/index.vue | 2 -- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/modules/portrayal/jumin/index.vue b/src/views/modules/portrayal/jumin/index.vue index 645d85409..15f680a63 100644 --- a/src/views/modules/portrayal/jumin/index.vue +++ b/src/views/modules/portrayal/jumin/index.vue @@ -229,7 +229,7 @@ > -
居住信息
+
居住信息
所属房屋:
- {{ item.agencyName?item.agencyName:'' + item.homeName || "--" }} + {{ item.agencyName + item.homeName }} @@ -1313,11 +1313,15 @@ export default { } }, - handelCLickMenu(id, index) { + handelCLickMenu(id, index) { this.active = index; const bottomElement = document.getElementById(`${id}`); - bottomElement.scrollIntoView({ behavior: "smooth", block: "start" }); + const topOffset = -120; // 减少的高度值 + const topPos = bottomElement.getBoundingClientRect().top + window.pageYOffset + topOffset; + window.scrollTo({ top: topPos, behavior: "smooth" }); }, + + handelCLickShowCheckPassword(type) { this.form.password = ""; this.checkType = "view"; diff --git a/src/views/modules/workSys/setResiUpdate/index.vue b/src/views/modules/workSys/setResiUpdate/index.vue index 74ae3619c..fb575db07 100644 --- a/src/views/modules/workSys/setResiUpdate/index.vue +++ b/src/views/modules/workSys/setResiUpdate/index.vue @@ -1,4 +1,3 @@ -