Commit 50cb0261 authored by jyx's avatar jyx

代码优化

parent 884994bb
...@@ -141,8 +141,7 @@ ...@@ -141,8 +141,7 @@
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()
}, },
...@@ -150,6 +149,9 @@ ...@@ -150,6 +149,9 @@
// 从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') {
uni.setStorage({ uni.setStorage({
......
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