87fca6e1 by simon

默认提交

1 parent 5c310604
...@@ -60,7 +60,7 @@ Page({ ...@@ -60,7 +60,7 @@ Page({
60 60
61 // 获取海报数据 61 // 获取海报数据
62 getPosterConfig() { 62 getPosterConfig() {
63 let qrCodeWid = 320; 63 let qrCodeWid = 340;
64 let avatarWid = 56; 64 let avatarWid = 56;
65 // 合成图片需要的数据 65 // 合成图片需要的数据
66 let { 66 let {
...@@ -79,7 +79,7 @@ Page({ ...@@ -79,7 +79,7 @@ Page({
79 // 二维码 79 // 二维码
80 { 80 {
81 x: (690 - qrCodeWid) * .5, 81 x: (690 - qrCodeWid) * .5,
82 y: 350, 82 y: 340,
83 width: qrCodeWid, 83 width: qrCodeWid,
84 height: qrCodeWid, 84 height: qrCodeWid,
85 zIndex: 11, 85 zIndex: 11,
...@@ -98,15 +98,26 @@ Page({ ...@@ -98,15 +98,26 @@ Page({
98 ]; 98 ];
99 let lines = []; 99 let lines = [];
100 let texts = [{ 100 let texts = [{
101 x: 690 / 2, 101 x: 690 / 2,
102 y: 720, 102 y: 686,
103 width: 690, 103 width: 690,
104 fontSize: 18, 104 fontSize: 24,
105 color: "#666666", 105 color: "#333333",
106 textAlign: "center", 106 textAlign: "center",
107 zIndex: 11, 107 zIndex: 11,
108 text: userInfo.memberCode, 108 text: userInfo.nickname,
109 }]; 109 },
110 {
111 x: 690 / 2,
112 y: 720,
113 width: 690,
114 fontSize: 18,
115 color: "#666666",
116 textAlign: "center",
117 zIndex: 11,
118 text: userInfo.memberCode,
119 }
120 ];
110 121
111 let posterData = { 122 let posterData = {
112 width: 690, 123 width: 690,
......