new_shop_app/utils/mixin.js

20 lines
282 B
JavaScript
Raw Normal View History

2024-05-10 18:06:31 +08:00
const mixins = {
data() {
return {
totalHeight: 0,
scrollInfo: undefined,
userMoney: undefined
}
},
// 顶部导航栏透明滚动
onPageScroll(e) {
this.scrollInfo = e;
},
methods: {
getPageScroll() {
this.$utils.getDom();
}
}
}
export default mixins;