|
@@ -40,11 +40,12 @@ Page({
|
|
|
let data = await this.getBrandDetail(id, type)
|
|
|
this.sceneUrl = data.sceneUrl
|
|
|
this.shareCodeImg = data.shareWxQrCode
|
|
|
-
|
|
|
+
|
|
|
this.setData({
|
|
|
shared_img: data.appListPicUrl || 'https://plaza.4dkankan.com/statics/img/pic_bg@2x.png',
|
|
|
layoutHeight: wx.getSystemInfoSync().windowHeight - 170
|
|
|
})
|
|
|
+ console.log('分享QRCODE', this.shareCodeImg);
|
|
|
const query = wx.createSelectorQuery()
|
|
|
query.select('.canvas').boundingClientRect().exec(res => {
|
|
|
this.canvas_width = res[0].width
|