Browse Source

发现

master
Enzo 4 years ago
parent
commit
d266c15e9b
  1. 3
      pages/discover/discover.vue

3
pages/discover/discover.vue

@ -104,6 +104,9 @@
return `calc(${this.scrollH}px - ${this.nav_height}px - 130rpx - 86rpx)`; return `calc(${this.scrollH}px - ${this.nav_height}px - 130rpx - 86rpx)`;
} }
}, },
onShow() {
this.getHotActivity()
},
onLoad(){ onLoad(){
let info = uni.getSystemInfoSync(); let info = uni.getSystemInfoSync();
this.scrollH = info.screenHeight; this.scrollH = info.screenHeight;

Loading…
Cancel
Save