diff --git a/pages/template/navbar-lite/navbar-lite.uvue b/pages/template/navbar-lite/navbar-lite.uvue index 73ec68cc6f502edfbc8c9de6a1bc687065d94322..d0ab33c5e2cb431bb0bab8addb890c37b52c3bf6 100644 --- a/pages/template/navbar-lite/navbar-lite.uvue +++ b/pages/template/navbar-lite/navbar-lite.uvue @@ -120,11 +120,11 @@ }, onReady() { let windowHeight = uni.getWindowInfo().windowHeight; - this.remainHeight = windowHeight - (uni.getElementById('input')?.getBoundingClientRect()?.bottom??windowHeight); + this.inputRemainHeight = windowHeight - (uni.getElementById('input')?.getBoundingClientRect()?.bottom??windowHeight); }, onResize() { let windowHeight = uni.getWindowInfo().windowHeight; - this.remainHeight = windowHeight - (uni.getElementById('input')?.getBoundingClientRect()?.bottom??windowHeight); + this.inputRemainHeight = windowHeight - (uni.getElementById('input')?.getBoundingClientRect()?.bottom??windowHeight); } }