小程序扫码
扫码小程序后跳转页面
<view class="ss" bindtap='saoma'>
<image src='../../img/my_con1.png'></image>
扫一扫
</view>
wx.scanCode({
success(res) {
console.log(res)
return false
if (res.errMsg =='scanCode:ok'){
wx.navigateTo({
url: '/'+res.path
})
}
}
})