From 070a8f2a81ee154d0a9b2554f6484f6f9b0ce261 Mon Sep 17 00:00:00 2001 From: yanyilin Date: Wed, 29 May 2024 16:38:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9input=E6=A1=86=E5=9C=A8?= =?UTF-8?q?=E8=BD=AF=E9=94=AE=E7=9B=98=E9=AB=98=E5=BA=A6=E5=8F=98=E5=8C=96?= =?UTF-8?q?=E6=97=B6=E6=98=BE=E7=A4=BA=E4=BD=8D=E7=BD=AE=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=EF=BC=88=E8=A1=A5=E5=85=85=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/template/navbar-lite/navbar-lite.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/template/navbar-lite/navbar-lite.uvue b/pages/template/navbar-lite/navbar-lite.uvue index 73ec68cc..d0ab33c5 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); } } -- GitLab