WeChat applet jump page

1. First create a new page that needs to be jumped (here is the home page).

 

2. Add the home path under pages in app.json.

 

3. Add a bindtab event to the module where you click to jump in index.wxml.

 

4. In the index.js file corresponding to index, add the processing function of tohome, and jump through the wx.navigateTo method.

 

In this way, a simple applet page jump can be realized.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324871182&siteId=291194637