wmc1125
扫码小程序后跳转页面
 
 
<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
          })
        }
      }
    })

分类:

技术点:

相关文章:

  • 2022-01-20
  • 2021-09-28
  • 2021-08-13
  • 2021-11-21
  • 2021-07-17
  • 2021-05-12
猜你喜欢
  • 2022-01-01
  • 2022-12-23
  • 2021-11-22
  • 2021-11-22
  • 2021-09-27
  • 2022-01-01
相关资源
相似解决方案