Authored by yyq

status bar

... ... @@ -126,6 +126,11 @@ export default {
} else {
this.reportProductShow(this.articleInfo);
}
this.$yoho.safetyInterface(() => {
this.SET_STATUS_BAR_COLOR({
color: this.headerAnimateStep > 55 ? 'black' : 'white'
});
});
},
async serverPrefetch() {
this.id = parseInt(this.$route.params.id, 10);
... ...
... ... @@ -118,8 +118,10 @@ export default {
this.scrollEvent = throttle(this.onDounceScroll.bind(this), throttleTime);
this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);
this.SET_STATUS_BAR_COLOR({
color: 'white'
this.$yoho.safetyInterface(() => {
this.SET_STATUS_BAR_COLOR({
color: 'white'
});
});
this.setListMinHeight();
... ...