Home  >  Article  >  WeChat Applet  >  How to implement jumps between mini programs

How to implement jumps between mini programs

王林
王林forward
2021-01-12 09:22:002216browse

How to implement jumps between mini programs

Jump between WeChat mini-programs:

(Learning video sharing: Programming video)

1. Implementation

How to implement jumps between mini programs

How to implement jumps between mini programs##

<navigator target="miniProgram" open-type="navigate" app-id="" path="" extra-data="" version="release">打开绑定的小程序</navigator>

2. The following is an interface wx.navigateToMiniProgram(OBJECT)# that will be abandoned by WeChat officials

wx.navigateToMiniProgram({
  appId: &#39;&#39;,
  path: &#39;pages/index/index?id=123&#39;,
  extraData: {
    foo: &#39;bar&#39;
  },
  envVersion: &#39;develop&#39;,
  success(res) {
    // 打开成功
  }
})

How to implement jumps between mini programs

Related recommendations:

小program development tutorial

The above is the detailed content of How to implement jumps between mini programs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete