87fca6e1 by simon

默认提交

1 parent 5c310604
......@@ -60,7 +60,7 @@ Page({
// 获取海报数据
getPosterConfig() {
let qrCodeWid = 320;
let qrCodeWid = 340;
let avatarWid = 56;
// 合成图片需要的数据
let {
......@@ -79,7 +79,7 @@ Page({
// 二维码
{
x: (690 - qrCodeWid) * .5,
y: 350,
y: 340,
width: qrCodeWid,
height: qrCodeWid,
zIndex: 11,
......@@ -99,6 +99,16 @@ Page({
let lines = [];
let texts = [{
x: 690 / 2,
y: 686,
width: 690,
fontSize: 24,
color: "#333333",
textAlign: "center",
zIndex: 11,
text: userInfo.nickname,
},
{
x: 690 / 2,
y: 720,
width: 690,
fontSize: 18,
......@@ -106,7 +116,8 @@ Page({
textAlign: "center",
zIndex: 11,
text: userInfo.memberCode,
}];
}
];
let posterData = {
width: 690,
......