Commit 2c8ca55e authored by wildfirecode13's avatar wildfirecode13

1

parent c7afbf9d
...@@ -5,12 +5,9 @@ self.__appxInited = 1; ...@@ -5,12 +5,9 @@ self.__appxInited = 1;
require('./config$'); require('./config$');
if( navigator.userAgent && (navigator.userAgent.indexOf('LyraVM') > 0 || navigator.userAgent.indexOf('AlipayIDE') > 0) ) { var AFAppX = self.AFAppX.getAppContext
var AFAppX = self.AFAppX.getAppContext ? self.AFAppX.getAppContext().AFAppX : self.AFAppX; ? self.AFAppX.getAppContext().AFAppX
} else { : self.AFAppX;
importScripts('https://appx/af-appx.worker.min.js');
var AFAppX = self.AFAppX;
}
self.getCurrentPages = AFAppX.getCurrentPages; self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp; self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page; self.Page = AFAppX.Page;
......
...@@ -359,6 +359,14 @@ Page({ ...@@ -359,6 +359,14 @@ Page({
// playBgMusic(true,musicUrl) // playBgMusic(true,musicUrl)
playBgMusic(musicSwitch, musicUrl); playBgMusic(musicSwitch, musicUrl);
console.log('fuck music') console.log('fuck music')
} },
onShow(){
console.log('onshow')
this.addMusic(true)
},
onHide(){
console.log('onHide')
this.addMusic(false)
},
}); });
\ No newline at end of file
...@@ -3,7 +3,7 @@ const resList = { ...@@ -3,7 +3,7 @@ const resList = {
name: '底拷贝', name: '底拷贝',
ext: '.png', ext: '.png',
uuid: '66f2b76f-7265-4cb2-9b4d-7e8207ab1d74', uuid: '66f2b76f-7265-4cb2-9b4d-7e8207ab1d74',
url: '//yun.duiba.com.cn/spark-prod/assets/4247a1ded5872a2acaf9312dd1aeb505cb405771.png', url: '//yun.duiba.com.cn/aurora/assets/aa4645f8046c1b1d95fbd0ebc969b83c65e6945e.png',
}, },
'dd7d3a3b-6fcb-427d-8353-da169708bbab': { 'dd7d3a3b-6fcb-427d-8353-da169708bbab': {
name: 'logo', name: 'logo',
...@@ -15,7 +15,7 @@ const resList = { ...@@ -15,7 +15,7 @@ const resList = {
name: '图', name: '图',
ext: '.png', ext: '.png',
uuid: '41567d28-d1c4-454f-8bb4-4bcb6a103be0', uuid: '41567d28-d1c4-454f-8bb4-4bcb6a103be0',
url: '//yun.duiba.com.cn/spark-prod/assets/0a923a3f9f9f9e5955ac1725ab2caa63ac54e1cc.png', url: '//yun.duiba.com.cn/aurora/assets/be659f0cbdb138fe695067920be0383d556aebb1.png',
}, },
'2a026ac4-0a9c-497b-9469-2da99f935821': { '2a026ac4-0a9c-497b-9469-2da99f935821': {
name: '文案', name: '文案',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment