Detailed description of the page jump transmission parameters of WeChat applets

Source: Internet
Author: User
This article mainly introduces the parameters for page jump transmission in small programs. it is of reference value to all of you. if you are interested, you can refer to them. This article mainly introduces the parameters for page jump transmission in small programs. it is of reference value to all of you. if you are interested, you can refer to them.

The page jump of the applet, passing parameter notes between pages, details are as follows:
First, go to the demo diagram:

  
   
  
   
Jump to new page
    
  
   
Open on current page
   
 

The URL in index. wxml is the page path to jump to. in the code above, it is the navigator page under the navigator Directory, and the title is the parameter.

In navigator, the redirect attribute is displayed on the current page. If redirect is not added, it will jump to the new page. parameters can be included.

In navigator, the redirect attribute is displayed on the current page. If redirect is not added, it will jump to the new page. parameters can be included.

  
 
   {{title}} 
 

The title can be obtained through js code in navigatort. wxml. the code is as follows:

//navigatort.jsPage({  onLoad: function(options) {  this.setData({  title: options.title  })  } })

  
 
   {{title}} 
 

//redirect.js Page({  onLoad: function(options) {  this.setData({  title: options.title  })  } })

The last two jumps to the next graph.

1. jump to the new page

The above is all the content of this article. I hope it will help you learn and support PHP.

For more details about the small program page jump transmission parameters, please follow the PHP Chinese network!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.