Authored by 沈志敏

fix bug

... ... @@ -54,7 +54,7 @@
}
.blk-header-title {
opacity: 0.3;
opacity: 0.4;
}
}
... ...
... ... @@ -97,6 +97,10 @@
this.$parent.$refs.filter.isVisible = !this.$parent.$refs.filter.isVisible;
},
changeTopStatus() {
if (!this.shareData.isBlkShop) {
return;
}
let ghost = true;
let ghost2 = false;
let ghost3 = false;
... ... @@ -118,18 +122,14 @@
this.$refs.header.$el.classList.toggle('ghost-3', ghost3);
}
},
created() {
this.domain = this.shareData.domain;
ready() {
window.addEventListener('touchmove', () => {
this.changeTopStatus();
});
if (this.shareData.isBlkShop) {
window.addEventListener('touchmove', () => {
this.changeTopStatus();
});
window.addEventListener('scroll', () => {
this.changeTopStatus();
});
}
window.addEventListener('scroll', () => {
this.changeTopStatus();
});
}
};
</script>
... ...