1.支付宝小程序兼容性优化

This commit is contained in:
sws
2024-10-22 16:49:44 +08:00
parent 34eb59e098
commit b1e3206ef2

View File

@ -137,11 +137,8 @@
handler(new_val) {
if (new_val) {
this.tabs_sticky = 'position: sticky;top: calc(' + parseInt(this.propTop) + 'px + ' + this.propCustomNavHeight + ');z-index: ' + this.propZIndex + ';';
console.log(this.tabs_sticky);
console.log(this.propTop, this.propCustomNavHeight);
} else {
this.tabs_sticky = '';
console.log(this.tabs_sticky);
}
},
},