How to edit the jump applet in the HTML of the web page to jump to the WeChat applet after clicking the button on the web page?
生活小助手
生活小助手 2019-04-06 16:31:22
0
1
1470

Dear teachers, I know how to jump from the mini program to the web page. Just use the direct URL. But how to jump to the mini program homepage on the web page?

For example:

<td id="fix_footer_menu" onClick="window.location=XXXXXXX

align=center><img src ="index5/icon64_wx_logo.png" width="20" height="20" align="absmiddle">Follow us</td>

Click on the picture to jump to the link, but the jump size is How to write the program?

I really don’t know this, please enlighten me.

生活小助手
生活小助手

reply all(1)
微簇

echo "<script src='Referenced WeChat js version'></script>";

echo "<script type='text/javascript'>";

echo "wx.miniProgram.switchTab({url:'XXXX'})";

echo "</script>";


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!