Add WeChat miniprogram web-view shell

This commit is contained in:
2026-05-03 16:29:42 +08:00
parent 49aad7311c
commit 9baa515a75
13 changed files with 280 additions and 0 deletions

10
miniprogram/app.js Normal file
View File

@@ -0,0 +1,10 @@
App({
globalData: {
launchOptions: null,
},
onLaunch(options) {
// 中文注释:保留启动参数,后续如果要把分享路径映射到 H5 深链,可以从这里统一读取。
this.globalData.launchOptions = options;
},
});