-
4.hbuilderx/launch.json
-
18main.js
-
26manifest.json
-
89pages/show/show.js
-
264pages/show/show.vue
-
BINunpackage/cache/apk/__UNI__487D0A3_cm.apk
-
2unpackage/cache/apk/apkurl
-
2unpackage/cache/apk/cmManifestCache.json
-
BINunpackage/release/apk/__UNI__487D0A3__20220314084851.apk
-
BINunpackage/release/apk/__UNI__487D0A3__20220408162047.apk
-
BINunpackage/release/apk/__UNI__487D0A3__20220408165337.apk
-
BINunpackage/res/icons/1024x1024.png
-
BINunpackage/res/icons/120x120.png
-
BINunpackage/res/icons/144x144.png
-
BINunpackage/res/icons/152x152.png
-
BINunpackage/res/icons/167x167.png
-
BINunpackage/res/icons/180x180.png
-
BINunpackage/res/icons/192x192.png
-
BINunpackage/res/icons/20x20.png
-
BINunpackage/res/icons/29x29.png
-
BINunpackage/res/icons/40x40.png
-
BINunpackage/res/icons/58x58.png
-
BINunpackage/res/icons/60x60.png
-
BINunpackage/res/icons/72x72.png
-
BINunpackage/res/icons/76x76.png
-
BINunpackage/res/icons/80x80.png
-
BINunpackage/res/icons/87x87.png
-
BINunpackage/res/icons/96x96.png
-
48utils/music.js
@ -1 +1 @@ |
|||
https://ide.dcloud.net.cn/build/download/60feb080-b719-11ec-9ecd-6b58dc11063a |
|||
https://ide.dcloud.net.cn/build/download/6e254010-b979-11ec-8bee-47dfbe383b6d |
2
unpackage/cache/apk/cmManifestCache.json
File diff suppressed because it is too large
View File
Before Width: 1024 | Height: 1024 | Size: 332 KiB After Width: 1024 | Height: 1024 | Size: 142 KiB |
Before Width: 120 | Height: 120 | Size: 6.0 KiB After Width: 120 | Height: 120 | Size: 9.4 KiB |
Before Width: 144 | Height: 144 | Size: 7.9 KiB After Width: 144 | Height: 144 | Size: 12 KiB |
Before Width: 152 | Height: 152 | Size: 8.7 KiB After Width: 152 | Height: 152 | Size: 12 KiB |
Before Width: 167 | Height: 167 | Size: 10 KiB After Width: 167 | Height: 167 | Size: 13 KiB |
Before Width: 180 | Height: 180 | Size: 11 KiB After Width: 180 | Height: 180 | Size: 15 KiB |
Before Width: 192 | Height: 192 | Size: 12 KiB After Width: 192 | Height: 192 | Size: 16 KiB |
Before Width: 20 | Height: 20 | Size: 1.6 KiB After Width: 20 | Height: 20 | Size: 1.5 KiB |
Before Width: 29 | Height: 29 | Size: 1.8 KiB After Width: 29 | Height: 29 | Size: 2.2 KiB |
Before Width: 40 | Height: 40 | Size: 2.1 KiB After Width: 40 | Height: 40 | Size: 2.9 KiB |
Before Width: 58 | Height: 58 | Size: 2.7 KiB After Width: 58 | Height: 58 | Size: 4.5 KiB |
Before Width: 60 | Height: 60 | Size: 2.7 KiB After Width: 60 | Height: 60 | Size: 4.5 KiB |
Before Width: 72 | Height: 72 | Size: 3.3 KiB After Width: 72 | Height: 72 | Size: 5.4 KiB |
Before Width: 76 | Height: 76 | Size: 3.4 KiB After Width: 76 | Height: 76 | Size: 5.5 KiB |
Before Width: 80 | Height: 80 | Size: 3.7 KiB After Width: 80 | Height: 80 | Size: 5.8 KiB |
Before Width: 87 | Height: 87 | Size: 3.9 KiB After Width: 87 | Height: 87 | Size: 6.7 KiB |
Before Width: 96 | Height: 96 | Size: 4.4 KiB After Width: 96 | Height: 96 | Size: 7.3 KiB |
@ -1,26 +1,26 @@ |
|||
const bgm = uni.createInnerAudioContext(); |
|||
bgm.src = 'https://qiniu.aiyxlib.com/yuekan-BGM20-Chinap.mp3' |
|||
bgm.loop = true; |
|||
// const bgm = uni.createInnerAudioContext();
|
|||
// bgm.src = 'https://qiniu.aiyxlib.com/yuekan-BGM20-Chinap.mp3'
|
|||
// bgm.loop = true;
|
|||
|
|||
var music = { |
|||
//mute 表示是否是静音,,默认不静音
|
|||
playBgm({mute=false}){ |
|||
if (!bgm) return; |
|||
if(mute){ |
|||
bgm.pause() |
|||
}else{ |
|||
bgm.play() |
|||
} |
|||
bgm.onPause(()=>{ |
|||
console.log('暂停背景音乐'); |
|||
}) |
|||
bgm.onPlay(() => { |
|||
console.log('开始播放音乐#######'); |
|||
}) |
|||
bgm.onError((res) => { |
|||
console.log(res) |
|||
}) |
|||
} |
|||
} |
|||
module.exports = music |
|||
// var music = {
|
|||
// //mute 表示是否是静音,,默认不静音
|
|||
// playBgm({mute=false}){
|
|||
// if (!bgm) return;
|
|||
// if(mute){
|
|||
// bgm.pause()
|
|||
// }else{
|
|||
// bgm.play()
|
|||
// }
|
|||
// bgm.onPause(()=>{
|
|||
// console.log('暂停背景音乐');
|
|||
// })
|
|||
// bgm.onPlay(() => {
|
|||
// console.log('开始播放音乐#######');
|
|||
// })
|
|||
// bgm.onError((res) => {
|
|||
// console.log(res)
|
|||
// })
|
|||
// }
|
|||
// }
|
|||
// module.exports = music
|
|||
|