new_shop_app/utils/mixin.js
2024-05-10 18:06:31 +08:00

20 lines
282 B
JavaScript

const mixins = {
data() {
return {
totalHeight: 0,
scrollInfo: undefined,
userMoney: undefined
}
},
// 顶部导航栏透明滚动
onPageScroll(e) {
this.scrollInfo = e;
},
methods: {
getPageScroll() {
this.$utils.getDom();
}
}
}
export default mixins;