扫描二维码

This commit is contained in:
limqhz
2020-08-30 16:44:35 +08:00
parent 94528774aa
commit 311055815a
9 changed files with 256 additions and 24 deletions

View File

@@ -6,6 +6,7 @@ let endM = 0;
let address = [];
let zoom = 6;
let mapCtx;
let scanVenue;
Page({
/**
* 页面的初始数据
@@ -207,13 +208,17 @@ Page({
sacnQRCode() {
wx.scanCode({
success (res) {
wx.showToast({
title: res.result,
icon: 'none',
duration: 5000
})
// wx.showToast({
// title: res.result,
// icon: 'none',
// duration: 5000
// })qr
scanVenue = res.result;
wx.navigateTo({
url: '/pages/scanCode/index?venueId=' + scanVenue,
})
}
})
});
},
// 跳转个人中心