This commit is contained in:
2024-05-17 18:02:49 +08:00
parent 8407d51fb6
commit b5264dc222
4056 changed files with 308094 additions and 41932 deletions

13
App.vue
View File

@@ -26,6 +26,11 @@ export default {
};
},
onLaunch: function (e) {
// 禁止横屏
// #ifdef APP-PLUS
plus.screen.lockOrientation("portrait-primary");
// plus.screen.lockOrientation("portrait-primary");
// #endif
// 检测自动更新
// #ifdef APP-PLUS
updata();
@@ -39,6 +44,10 @@ export default {
},
});
// 取出初始播放信息
uni.getStorage({
key: "playingInfo",
@@ -150,6 +159,10 @@ export default {
// #endif
},
onShow: function (e) {
// #ifdef APP-PLUS
plus.screen.lockOrientation("portrait-primary");
// plus.screen.lockOrientation("portrait-primary");
// #endif
// #ifdef MP-WEIXIN
//获取二维码携带的参数
let scene = decodeURIComponent(e.query.scene);