Commit 15618fd2 by 李伟康

提交代码

1 parent bb0a2cd2
......@@ -228,19 +228,18 @@ export default {
videoUrl: ''
}
},
// activated(){
// console.log('--------------------')
// if(window.$AUDIO) window.$AUDIO.toggleBGM()
// },
mounted () {
let _this = this
activated () {
console.log('--------------------')
// if(window.$AUDIO) window.$AUDIO.toggleBGM()
let jsApiList = ['getLocation', 'openLocation', 'getNetworkType', 'onMenuShareAppMessage', 'launchMiniprogram', 'updateAppMessageShareData']
wxConfig.init(jsApiList).then(() => {
wxConfig.ready(() => {
this.getActivityDetail()
})
})
},
mounted () {
let _this = this
window.addEventListener('scroll', _this.debounce(() => {
_this.scrollY = window.scrollY
}, 1e3 / 2))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!