固定二维码

This commit is contained in:
yerz123
2022-05-14 19:08:37 +08:00
parent 42f3cba675
commit 74c1cfad5a
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -107,7 +107,8 @@ Component({
params['scene'] = this.data.qccodeid+'_'+app.getStorageByKey("userInfo").biz_id;
params['width'] = 260;
_.apiQuery.getMaterialHomeQrcode(params).then(res => {
this.getImageInfo(res.data.url, 2)
// this.getImageInfo(res.data.url, 2)
this.getImageInfo('https://qs.haodian.cn/wechat_app/dongfeng/common/default-code.png', 2)
}).catch(res => {
//this.getImageInfo(this.data.defaultQrcode, 2)
})
+3 -3
View File
@@ -96,9 +96,9 @@ Page({
params['scene'] = app.getStorageByKey("userInfo").biz_id;
params['width'] = 260;
_.apiQuery.getMaterialHomeQrcode(params).then(res => {
this.setData({
'poster.qrcode':res.data.url,
})
// this.setData({
// 'poster.qrcode':res.data.url,
// })
this.setData({
'poster.qrcode':'https://qs.haodian.cn/wechat_app/dongfeng/common/default-code.png',
})