This commit is contained in:
liuyuan
2025-09-04 13:55:23 +08:00
parent 9126f47346
commit 0d0bf4bb3a
27 changed files with 9302 additions and 5262 deletions

19
App.vue
View File

@@ -17,14 +17,17 @@ export default {
appRegisterMap: undefined,
};
},
onLaunch: function() {
uni.setStorageSync("isJump", null);
// 禁止横屏
onLaunch: function() {
// #ifdef APP-PLUS
updata();
plus.screen.lockOrientation("portrait-primary");
// 检测自动更新
updata();
// #endif
uni.setStorageSync("isJump", null);
// 禁止横屏
uni.getSystemInfo({
success(res) {
Vue.prototype.winWidth = res.screenWidth;
@@ -32,7 +35,8 @@ export default {
Vue.prototype.statusBarHeight = res.statusBarHeight;
},
});
//取出缓存数据
store.commit("setCacheData");
// #ifdef MP-WEIXIN
@@ -77,7 +81,10 @@ export default {
});
store.commit("setChatScenesInfo", Object.assign(e.query, data));
// #endif
},
},methods: {
// 处理通知权限
},
onHide: function() {
console.log('App Hide')
},