af0665de by simon

默认提交

1 parent 77cbd926
......@@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index');
const APPID = ''
/** ====每次发布版本记得修改此环境配置==== */
const ENV = 'Dev'; // Dev Prod
const ENV = 'Prod'; // Dev Prod
const NET_CONFIG = ENV_CONFIG[ENV];
const MOCKAPI = ENV_CONFIG.mockApi;
......
......@@ -60,7 +60,7 @@ Page({
// 获取海报数据
getPosterConfig() {
let qrCodeWid = 300;
let qrCodeWid = 312;
let avatarSpace = 5;
let avatarWidBlock = 300 * 0.3;
let avatarWid = avatarWidBlock - (avatarSpace * 2);
......@@ -111,24 +111,24 @@ Page({
let lines = [];
let texts = [{
x: 690 / 2,
y: 700,
width: 688,
y: 716,
width: 690,
fontSize: 26,
color: "#000000",
textAlign: "center",
zIndex: 11,
text: userInfo.nickname,
},
{
x: 690 / 2,
y: 732,
width: 690,
fontSize: 18,
color: "#666666",
textAlign: "center",
zIndex: 11,
text: userInfo.memberCode,
}
// {
// x: 690 / 2,
// y: 732,
// width: 690,
// fontSize: 18,
// color: "#666666",
// textAlign: "center",
// zIndex: 11,
// text: userInfo.memberCode,
// }
];
let posterData = {
......