Home > WeChat Applet > Mini Program Development > Page jump method for WeChat applet development

Page jump method for WeChat applet development

无忌哥哥
Release: 2018-07-18 11:02:38
Original
2292 people have browsed it

Page jump navigator page link

navigate 对应 wx.navigateTo 的功能
Copy after login

wx.navigateTo retain the current page, jump to the next page (non-tabBar page)

redirect 对应 wx.redirectTo 的功能
Copy after login

wx.redirectTo close the current page, jump to the specified Page, lose the back key (non-tabBar page)

switchTab 对应 wx.switchTab 的功能
Copy after login

wx.switchTab is the only one that can jump to the tabBar page, that is to say, only wx.switchTab can be used when doing tabBar jump

reLaunch 对应 wx.reLaunch 的功能
Copy after login

wx.reLaunch is to close all pages and jump to non-tabBar pages

navigateBack 对应 wx.navigateBack 的功能
Copy after login

wx.navigateBack Jump to the previous page content

The above is the detailed content of Page jump method for WeChat applet development. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
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