默认提交
Showing
2 changed files
with
14 additions
and
14 deletions
... | @@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index'); | ... | @@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index'); |
2 | 2 | ||
3 | const APPID = '' | 3 | const APPID = '' |
4 | /** ====每次发布版本记得修改此环境配置==== */ | 4 | /** ====每次发布版本记得修改此环境配置==== */ |
5 | const ENV = 'Dev'; // Dev Prod | 5 | const ENV = 'Prod'; // Dev Prod |
6 | const NET_CONFIG = ENV_CONFIG[ENV]; | 6 | const NET_CONFIG = ENV_CONFIG[ENV]; |
7 | const MOCKAPI = ENV_CONFIG.mockApi; | 7 | const MOCKAPI = ENV_CONFIG.mockApi; |
8 | 8 | ... | ... |
... | @@ -60,7 +60,7 @@ Page({ | ... | @@ -60,7 +60,7 @@ Page({ |
60 | 60 | ||
61 | // 获取海报数据 | 61 | // 获取海报数据 |
62 | getPosterConfig() { | 62 | getPosterConfig() { |
63 | let qrCodeWid = 300; | 63 | let qrCodeWid = 312; |
64 | let avatarSpace = 5; | 64 | let avatarSpace = 5; |
65 | let avatarWidBlock = 300 * 0.3; | 65 | let avatarWidBlock = 300 * 0.3; |
66 | let avatarWid = avatarWidBlock - (avatarSpace * 2); | 66 | let avatarWid = avatarWidBlock - (avatarSpace * 2); |
... | @@ -111,24 +111,24 @@ Page({ | ... | @@ -111,24 +111,24 @@ Page({ |
111 | let lines = []; | 111 | let lines = []; |
112 | let texts = [{ | 112 | let texts = [{ |
113 | x: 690 / 2, | 113 | x: 690 / 2, |
114 | y: 700, | 114 | y: 716, |
115 | width: 688, | 115 | width: 690, |
116 | fontSize: 26, | 116 | fontSize: 26, |
117 | color: "#000000", | 117 | color: "#000000", |
118 | textAlign: "center", | 118 | textAlign: "center", |
119 | zIndex: 11, | 119 | zIndex: 11, |
120 | text: userInfo.nickname, | 120 | text: userInfo.nickname, |
121 | }, | 121 | }, |
122 | { | 122 | // { |
123 | x: 690 / 2, | 123 | // x: 690 / 2, |
124 | y: 732, | 124 | // y: 732, |
125 | width: 690, | 125 | // width: 690, |
126 | fontSize: 18, | 126 | // fontSize: 18, |
127 | color: "#666666", | 127 | // color: "#666666", |
128 | textAlign: "center", | 128 | // textAlign: "center", |
129 | zIndex: 11, | 129 | // zIndex: 11, |
130 | text: userInfo.memberCode, | 130 | // text: userInfo.memberCode, |
131 | } | 131 | // } |
132 | ]; | 132 | ]; |
133 | 133 | ||
134 | let posterData = { | 134 | let posterData = { | ... | ... |
-
Please register or sign in to post a comment