小程序扫描普通链接二维码跳转小程序指定页面的方法

①微信小程序官方网址:https://developers.weixin.qq.com/miniprogram/introduction/qrcode.html

 

 步骤开始啦

首先在util.js封装一个获取二维码网址的方法

获取url参数

 

第②部 引入方法 

 

 

第③部 扫码成功之后要跳的详情页面中这样做

}

 

 

posted @ 2020-05-27 18:31  smileAran  阅读(1983)  评论(0编辑  收藏  举报