微信环境内可以通过url,拉起小程序并打开小程序的某个页面吗?

小程序 文章 2021-03-22 11:21 465 0 全屏看文

AI助手支持GPT4.0

微信环境内可以通过url,拉起小程序并打开小程序的某个页面吗?Can I pull up the applet and open a page of the applet through the url in the WeChat environment?

微信环境内可以通过url,拉起小程序并打开小程序的某个页面吗?

微信环境内可以通过url,拉起小程序并打开小程序的某个页面吗?

Can I pull up the app and open a page of the app through URL in wechat environment?

回答:

ipeng:
可以的,注意微信外部使用h5跳转和微信内部使用h5跳转稍有不同。通过短信,邮件等微信外部环境跳转需要用到url-scheme;微信内部使用到jssdk提供的wx-open-launch-weapp开放标签完成跳转。官方有具体案例https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/staticstorage/jump-miniprogram.html


shmily:

可以的,只要能那倒微信小程序的id,和跳转的页面路径就可以了。

-EOF-

AI助手支持GPT4.0