Home > WeChat Applet > Mini Program Development > How to implement jumps between mini programs

How to implement jumps between mini programs

王林
Release: 2021-01-12 09:22:00
forward
2238 people have browsed it

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>
Copy after login

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) {
    // 打开成功
  }
})
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template