diff --git a/docs/api/other/open-miniprogram.md b/docs/api/other/open-miniprogram.md index 595cc0370d0bc813724d632857d2bf0dd45a855f..ce781bea450f0e610e203a244d2662da13f7beb7 100644 --- a/docs/api/other/open-miniprogram.md +++ b/docs/api/other/open-miniprogram.md @@ -4,9 +4,12 @@ **平台差异说明** -|5+App|H5|微信小程序|支付宝小程序|百度小程序|头条小程序| -|:-:|:-:|:-:|:-:|:-:|:-:| -|x|x|√|√|√|x| +|App|H5|[微信小程序](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/miniprogram-navigate/wx.navigateToMiniProgram.html)|支付宝小程序|百度小程序|头条小程序|QQ小程序| +|:-:|:-:|:-:|:-:|:-:|:-:|:-:| +|x(见下)|x|√|√|√|√(1.15.0+)|√| + +- App平台打开微信小程序,使用plus.share的[launchMiniProgram](https://www.html5plus.org/doc/zh_cn/share.html#plus.share.ShareService.launchMiniProgram)。注意uni-app不需要plus ready,将plus ready里的代码写到页面的onLoad生命周期即可。使用此功能需在manifest中配置微信分享SDK信息,打包后生效。 +- 各小程序平台对跳转到其他小程序有一些限制和规定,需要遵守,具体见各平台文档。 **OBJECT 参数说明** @@ -35,15 +38,17 @@ uni.navigateToMiniProgram({ }) ``` + + ### uni.navigateBackMiniProgram(OBJECT) 跳转回上一个小程序,只有当另一个小程序跳转到当前小程序时才会能调用成功。 **平台差异说明** -|5+App|H5|微信小程序|支付宝小程序|百度小程序|头条小程序| -|:-:|:-:|:-:|:-:|:-:|:-:| -|x|x|√|√|√|x| +|5+App|H5|微信小程序|支付宝小程序|百度小程序|头条小程序|QQ小程序| +|:-:|:-:|:-:|:-:|:-:|:-:|:-:| +|x|x|√|√|√|√|√| **OBJECT参数说明** @@ -63,4 +68,4 @@ uni.navigateBackMiniProgram({ // 返回成功 } }) -``` \ No newline at end of file +```