- 1 Use the navigator label
url: the address of the page to jump
open-type: jump methodopen-type = "navigate" is equivalent to the js wx.navigateTo, paths need to jump to a page of the application of non-tabBaropen-type = "redirect" is equivalent to the js wx.redirectTo, the applications need to jump Page path of the non-tabBaropen-type = "switchTab" is equivalent to the js wx.switchTab, tabBar need to jump to the page, and close all other non-tabBar page
- 2 binding events, js trigger
binding to the click event ① wxml element
② js set the page jump address
Applet page jump micro-channel mode
Guess you like
Origin www.cnblogs.com/wsclight/p/11356547.html
Recommended
Ranking