20 lines
282 B
JavaScript
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; |