How to open wechat applets with H5 link from browser, QQ and other scenes? In fact, simple operation can be achieved, see how xiaobian to achieve, applicable to non-personal subjects.

1. Wechat applets background → tools → wechat applets URL Scheme, fill in as needed, start query parameter can be empty;

2. Generate a link similar to the following

weixin://dl/business/? t=xxxxxxxCopy the code

3, create a local file such as index.html, put the following code into the file, and change the picture and weixin link in the code to your own

<! DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, <p style="text-align: center; center"> <img src="https://www.jiangqie.com/wp-content/uploads/2020/08/pro-300x300.jpg" align="middle" /> </p> <p Style ="text-align: center"> </p> </body> <script> location.href =" weixin://dl/business/? T =6dS3q9wOqds"; </script> </html>Copy the code

4. Upload the index. HTML file to a specific directory on your website (such as XCX) and visit www.x.com/xcx.

Note: it can be opened by mobile QQ, browser or wechat: www.jiangqie.com/xcx/