wx.getImageInfo({
src: "https://data025.wwson.com/uploads/20200328/1cd5ec212c7ae5e2fab20476a5d5d73a.jpg",
success: function(a) {
console.log(a)
console.log(e.data.info)
var t = a.path;
e.data.info;
new n("qrcode/getQrcode", {
openid: wx.getStorageSync("token")
}).then(function(a) {
1 == a.data.code ? wx.getImageInfo({
src: a.data.data,
success: function(a) {
var n = a.path, o = wx.createCanvasContext("trueCard");
o.drawImage(t, 0, 0, 800, 1422),
o.drawImage(e.data.logo, 312, 400, 180, 180), o.drawImage(n, 312, 1040, 180, 180),
o.draw();
var i = wx.createCanvasContext("card");
i.drawImage(t, 0, 0, 200, 356),
i.drawImage(e.data.logo, 78, 100, 45, 45),
i.drawImage(n, 78, 260, 45, 45),
i.draw(), wx.hideLoading();
}
}) : wx.showToast({
title: "网络拥挤,稍后再试",
icon: "none"
});
});
}
});