From d266c15e9b3dcdd5d99deb2847ec13642ca3224c Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Wed, 29 Sep 2021 20:48:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/discover/discover.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 787955b..d99e217 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -104,6 +104,9 @@ return `calc(${this.scrollH}px - ${this.nav_height}px - 130rpx - 86rpx)`; } }, + onShow() { + this.getHotActivity() + }, onLoad(){ let info = uni.getSystemInfoSync(); this.scrollH = info.screenHeight;