|
@ -36,15 +36,16 @@ import index from '../../uni_modules/uv-ui-tools' |
|
|
title: '', |
|
|
title: '', |
|
|
baseUrl: 'https://image.hhlm1688.com/', |
|
|
baseUrl: 'https://image.hhlm1688.com/', |
|
|
canvas: {}, |
|
|
canvas: {}, |
|
|
imagePath: 'https://image.hhlm1688.com/2025-02-26/6539d2fa-558d-47db-9681-ecffec5b6c5d.png', |
|
|
|
|
|
|
|
|
imagePath: 'https://image.hhlm1688.com/2025-02-27/2fe7e417-54ad-4911-b9ba-84ac7d48e66d.png', |
|
|
|
|
|
// imagePath: 'https://image.hhlm1688.com/2025-02-26/6539d2fa-558d-47db-9681-ecffec5b6c5d.png', |
|
|
index : 0, |
|
|
index : 0, |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
// let that = this; |
|
|
|
|
|
|
|
|
let that = this; |
|
|
// that.draw() |
|
|
// that.draw() |
|
|
// if(!that.promotionUrl){ |
|
|
// if(!that.promotionUrl){ |
|
|
// // that.getQrCode() |
|
|
|
|
|
|
|
|
// that.getQrCode() |
|
|
// uni.showLoading({ |
|
|
// uni.showLoading({ |
|
|
// title: "拼命绘画中..." |
|
|
// title: "拼命绘画中..." |
|
|
// }) |
|
|
// }) |
|
@ -119,7 +120,7 @@ import index from '../../uni_modules/uv-ui-tools' |
|
|
|
|
|
|
|
|
//二维码图片 |
|
|
//二维码图片 |
|
|
const coderImage = canvas.createImage() |
|
|
const coderImage = canvas.createImage() |
|
|
coderImage.src = '../static/p.jpg' |
|
|
|
|
|
|
|
|
coderImage.src = '../static/logo.png' |
|
|
// coderImage.src = that.baseUrl + that.url |
|
|
// coderImage.src = that.baseUrl + that.url |
|
|
|
|
|
|
|
|
let size = 0; |
|
|
let size = 0; |
|
|