..."; then in the WeChat development tool, Click "Settings" - "Project Settings"; finally check "Do not verify legal domain names"."/> ..."; then in the WeChat development tool, Click "Settings" - "Project Settings"; finally check "Do not verify legal domain names".">

Home  >  Article  >  WeChat Applet  >  How to jump to h5 in a small program

How to jump to h5 in a small program

藏色散人
藏色散人Original
2020-03-20 09:37:285497browse

How to jump to h5 in a small program

How to jump to h5 in a small program?

Since the mini program officially does not provide an API for external H5 web pages to jump directly to the mini program, currently only the embedded H5 in the mini program is supported, and only the embedded H5 can jump back to the mini program

Mini program jump to H5

You need to use the web-view of the mini program,

Official link: https://developers.weixin .qq.com/miniprogram/dev/component/web-view.html

web-view is a container that hosts web pages. It will automatically fill the entire mini program page, and personal mini programs are not supported for the time being. The writing method is as follows:


    

Note: When "{"base_resp":{"ret":-1}}" is returned in the WeChat development tool, you need to click "Settings"-"Project Settings" in the upper left corner "--Check "Do not verify legal domain name, web-view (business domain name), TLS version and HTTPS certificate"

How to jump to h5 in a small program

The above is the detailed content of How to jump to h5 in a small program. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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