From a96c3759b9744868ee3f34ccadcf0ba66302d7ec Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Wed, 22 Jan 2025 01:23:09 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3124=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=AF=BB=E8=B6=A3=E5=91=B3?= =?UTF-8?q?=E6=9D=BF=E5=9D=97=E6=96=B0=E6=89=8B=E5=BC=95=E5=AF=BC=E6=A1=86?= =?UTF-8?q?=E9=80=89=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/index.vue | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pages/home/index.vue b/pages/home/index.vue index e83a2c7..70f416e 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -1008,16 +1008,18 @@ export default { isBtn: 'next' } ] - this.setFunctionGuideData({ - imgs: imgs, - btnGroupPosition: '', - tipsPosition: '', - position: { - top: this.tabIconPostion.top + 'px', - left: this.tabIconPostion.left + 'px', - width: `${this.tabIconPostion.width}px`, - height: `${this.tabIconPostion.height}px`, - } + this.$nextTick(() => { + this.setFunctionGuideData({ + imgs: imgs, + btnGroupPosition: '', + tipsPosition: '', + position: { + bottom: '10px', + left: this.tabIconPostion.left + 'px', + width: `${this.tabIconPostion.width}px`, + height: `${this.tabIconPostion.height}px`, + } + }) }) return }