This commit is contained in:
YunaiV
2025-04-27 13:03:50 +08:00
parent 352a61c8f5
commit 796f3e9eba
3 changed files with 101 additions and 27 deletions
+6 -7
View File
@@ -5,14 +5,18 @@
onLaunch(() => {
// 延时隐藏原生导航栏
setTimeout(() => {
uni.hideTabBar();
try {
uni.hideNavigationBar();
} catch (error) {
// 忽略该 error,不一定存在
}
}, 200);
// 加载Shopro底层依赖
ShoproInit();
});
onShow((options) => {
onShow(() => {
// #ifdef APP-PLUS
// 获取urlSchemes参数
const args = plus.runtime.arguments;
@@ -24,11 +28,6 @@
success: (res) => {},
});
// #endif
// #ifdef MP-WEIXIN
// 确认收货回调结果
console.log(options, 'options');
// #endif
});
</script>