微信小程序跳转到另一个小程序的方法 微信小程序中打开其他小程序

分类:站长 时间:2023-02-20 16:59 浏览:13874
概述
从微信小程序中跳转到另一个微信小程序的方法,我们只需要在微信小程序代码内 使用navigator 即可实现页面跳转功能 例如在 /pages/index/index.wxml 使用以下代码即可。跳转代码:
内容

从微信小程序中跳转到另一个微信小程序的方法,我们只需要在微信小程序代码内 使用navigator 即可实现页面跳转功能 例如在 /pages/index/index.wxml 使用以下代码即可。

01.png


跳转代码:

<navigator class='public_fixed' target="miniProgram" app-id="wx4a7c129385e8d736" path="pages/index/index" open-type='navigate'>打开“猎伞”小程序</navigator>

跳转代码 效果:

0.png


跳转代码+按钮

<navigator target="miniProgram" app-id="wx4a7c129385e8d736" path="/pages/redirect/index?url=/house/" open-type='navigate'>
<button style="width: 90%; height: 45px; text-align: center; font-size: 17px; display: block; margin: 0 auto; border: none; border-radius: 6px; background-color: #0555e6; color:#fff;">打开“猎伞”小程序</button>
</navigator>

跳转代码+按钮 效果:

02.png

评论
  • 猎伞底部波浪
  • 猎伞底部波浪
  • 猎伞底部波浪
  • 猎伞底部波浪

我的

足迹

投稿

反馈

客服

猎伞官方客服

客服QQ:104****84 (点击直接对话)

客服电话:400****16(查看完整电话)

客服邮箱:service@liesan.com

管理仅处理交易投诉、举报、帐号、资金等平台使用问题;
商品问题请咨询各商品详情页面中显示的商家客服QQ。

正常模式精简模式

返回顶部