From 3e4f9210b870df7999c4252b565905dba57dbf47 Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Wed, 27 Nov 2024 13:08:24 +0800 Subject: [PATCH] =?UTF-8?q?[audio]=E6=B7=BB=E5=8A=A0=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E9=9F=B3=E4=B9=90=E6=92=AD=E6=94=BE=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-background-audio-manager.uvue} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename pages/API/{background-audio/background-audio.uvue => get-background-audio-manager/get-background-audio-manager.uvue} (95%) diff --git a/pages/API/background-audio/background-audio.uvue b/pages/API/get-background-audio-manager/get-background-audio-manager.uvue similarity index 95% rename from pages/API/background-audio/background-audio.uvue rename to pages/API/get-background-audio-manager/get-background-audio-manager.uvue index db06a082..5ceb76db 100644 --- a/pages/API/background-audio/background-audio.uvue +++ b/pages/API/get-background-audio-manager/get-background-audio-manager.uvue @@ -2,7 +2,7 @@ - 注意:请确保通知权限开启,离开当前页面后背景音乐将保持播放,但退出uni-app将停止 + 注意:离开当前页面后背景音乐将保持播放,但退出uni-app将停止 @@ -36,9 +36,9 @@ } }, onLoad: function () { - let bgAudioMannager = uni.getBackgroundAudioManager(); bgAudioMannager.title = '致爱丽丝'; + bgAudioMannager.epname = '致爱丽丝' bgAudioMannager.singer = '暂无'; bgAudioMannager.coverImgUrl = 'https://web-assets.dcloud.net.cn/unidoc/zh/Alice.jpeg'; -- GitLab