Commit 50cb0261 authored by jyx's avatar jyx

代码优化

parent 884994bb
...@@ -141,14 +141,16 @@ ...@@ -141,14 +141,16 @@
this.ttuop = 64 this.ttuop = 64
// #endif // #endif
this.windowWidth = uni.getSystemInfoSync().windowWidth
this.windowHeight = uni.getSystemInfoSync().windowHeight - this.safeArea - this.ttuop
this.getData() this.getData()
}, },
onShow() { onShow() {
// 从VIP页面返回关闭弹框 // 从VIP页面返回关闭弹框
// this.$refs.episodePopup.down(); // this.$refs.episodePopup.down();
this.windowWidth = uni.getSystemInfoSync().windowWidth
this.windowHeight = uni.getSystemInfoSync().windowHeight - this.safeArea - this.ttuop
let showFollowMask = uni.getStorageSync('show-follow-mask') || ''; let showFollowMask = uni.getStorageSync('show-follow-mask') || '';
if (showFollowMask != '1' && showFollowMask != '2') { if (showFollowMask != '1' && showFollowMask != '2') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment