涉及微信小程序API如下,详细使用方法可参考微信文档:
- openEmbeddedMiniProgram 小程序跳转小程序(半屏模式):
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html
- getEnterOptionsSync 获取本次小程序启动时的参数
https://developers.weixin.qq.com/miniprogram/dev/api/base/app/life-cycle/wx.getEnterOptionsSync.html
- 场景值:
https://developers.weixin.qq.com/miniprogram/dev/reference/scene-list.html
- 版本判断:
https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html