Commit 2a5643f4 by luyt

fix:二维码位置调整

1 parent 8f057879
...@@ -229,7 +229,9 @@ Page({ ...@@ -229,7 +229,9 @@ Page({
height: _this.data.imgHeight, height: _this.data.imgHeight,
}); });
let qrcodeH = actNum==3? 68: 100 console.log('actNum',actNum)
let qrcodeH = actNum== 2 ? 100 : 100
let qrcodeY = actNum== 2 ? 20 : 0
let arr = [456, 222, 0, 496]; let arr = [456, 222, 0, 496];
let imgList = [ let imgList = [
{ {
...@@ -247,7 +249,7 @@ Page({ ...@@ -247,7 +249,7 @@ Page({
// width: 120 * 2, // width: 120 * 2,
// height: 120 * 2, // height: 120 * 2,
x: _this.data.imgWidth - qrcodeH + 20, x: _this.data.imgWidth - qrcodeH + 20,
y: _this.data.imgHeight - qrcodeH, y: _this.data.imgHeight - qrcodeH + qrcodeY,
width: qrcodeH -20, width: qrcodeH -20,
height: qrcodeH -20, height: qrcodeH -20,
url: res.data, //二维码 url: res.data, //二维码
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!