Commit 15618fd2 by 李伟康

提交代码

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