openEmbeddedMiniProgram
全部标签1、资料设置申请绑定进入微信小程序 设置->第三方设置->半屏小程序管理添加需要绑定的小程序的appid等待审核,审核通过后开始写代码2、代码编写(1)、以前的跳转方式是uni.navigateToMiniProgram 换成wx.openEmbeddedMiniProgram即可wx.openEmbeddedMiniProgram({appId:"跳转小程序appid",path:'正常跳转路径',envVersion:'release',success(res){//打开成功console.log(res);}})(2)、manifest.json文件中,一定记住上面资料审核过了才可以测试
1、资料设置申请绑定进入微信小程序 设置->第三方设置->半屏小程序管理添加需要绑定的小程序的appid等待审核,审核通过后开始写代码2、代码编写(1)、以前的跳转方式是uni.navigateToMiniProgram 换成wx.openEmbeddedMiniProgram即可wx.openEmbeddedMiniProgram({appId:"跳转小程序appid",path:'正常跳转路径',envVersion:'release',success(res){//打开成功console.log(res);}})(2)、manifest.json文件中,一定记住上面资料审核过了才可以测试