Showing
2 changed files
with
6 additions
and
6 deletions
@@ -97,6 +97,10 @@ | @@ -97,6 +97,10 @@ | ||
97 | this.$parent.$refs.filter.isVisible = !this.$parent.$refs.filter.isVisible; | 97 | this.$parent.$refs.filter.isVisible = !this.$parent.$refs.filter.isVisible; |
98 | }, | 98 | }, |
99 | changeTopStatus() { | 99 | changeTopStatus() { |
100 | + if (!this.shareData.isBlkShop) { | ||
101 | + return; | ||
102 | + } | ||
103 | + | ||
100 | let ghost = true; | 104 | let ghost = true; |
101 | let ghost2 = false; | 105 | let ghost2 = false; |
102 | let ghost3 = false; | 106 | let ghost3 = false; |
@@ -118,10 +122,7 @@ | @@ -118,10 +122,7 @@ | ||
118 | this.$refs.header.$el.classList.toggle('ghost-3', ghost3); | 122 | this.$refs.header.$el.classList.toggle('ghost-3', ghost3); |
119 | } | 123 | } |
120 | }, | 124 | }, |
121 | - created() { | ||
122 | - this.domain = this.shareData.domain; | ||
123 | - | ||
124 | - if (this.shareData.isBlkShop) { | 125 | + ready() { |
125 | window.addEventListener('touchmove', () => { | 126 | window.addEventListener('touchmove', () => { |
126 | this.changeTopStatus(); | 127 | this.changeTopStatus(); |
127 | }); | 128 | }); |
@@ -130,6 +131,5 @@ | @@ -130,6 +131,5 @@ | ||
130 | this.changeTopStatus(); | 131 | this.changeTopStatus(); |
131 | }); | 132 | }); |
132 | } | 133 | } |
133 | - } | ||
134 | }; | 134 | }; |
135 | </script> | 135 | </script> |
-
Please register or login to post a comment