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.
一只小码媛2019-06-03 18:44:52
echo "<script src='Referenced WeChat js version'></script>";
echo "<script type='text/javascript'>";
echo "wx.miniProgram.switchTab({url:'XXXX'})";
echo "</script>";