图片调整

This commit is contained in:
liuyuan
2025-05-06 15:22:09 +08:00
parent ddbd8e74b6
commit 0bbcd61bde
15 changed files with 815 additions and 60 deletions

17
App.vue
View File

@@ -18,6 +18,7 @@ export default {
};
},
onLaunch: function() {
uni.setStorageSync("isJump", null);
// 禁止横屏
// #ifdef APP-PLUS
plus.screen.lockOrientation("portrait-primary");
@@ -32,6 +33,22 @@ export default {
},
});
if (
uni.getStorageSync("guidePages") != 2 ||
!uni.getStorageSync("guidePages")
) {
plus.navigator.closeSplashscreen();
} else {
uni.switchTab({
url: "/pages/home/index",
success: function () {
plus.navigator.closeSplashscreen();
let page = getCurrentPages()[0];
page.$vm.requestAll();
},
});
}
//取出缓存数据
store.commit("setCacheData");
// #ifdef MP-WEIXIN