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 @@ -