默认提交
Showing
4 changed files
with
7 additions
and
7 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 | ... | ... |
... | @@ -64,7 +64,7 @@ Page({ | ... | @@ -64,7 +64,7 @@ Page({ |
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); |
67 | let qrTop = 360; | 67 | let qrTop = 268; |
68 | // 合成图片需要的数据 | 68 | // 合成图片需要的数据 |
69 | let { | 69 | let { |
70 | userInfo | 70 | userInfo |
... | @@ -84,7 +84,7 @@ Page({ | ... | @@ -84,7 +84,7 @@ Page({ |
84 | x: 0, | 84 | x: 0, |
85 | y: 0, | 85 | y: 0, |
86 | width: 690, | 86 | width: 690, |
87 | height: 945, | 87 | height: 849, |
88 | url: "../../image/my-qrcode/qr-bg.png", | 88 | url: "../../image/my-qrcode/qr-bg.png", |
89 | }, | 89 | }, |
90 | // 二维码 | 90 | // 二维码 |
... | @@ -111,7 +111,7 @@ Page({ | ... | @@ -111,7 +111,7 @@ Page({ |
111 | let lines = []; | 111 | let lines = []; |
112 | let texts = [{ | 112 | let texts = [{ |
113 | x: 690 / 2, | 113 | x: 690 / 2, |
114 | y: 716, | 114 | y: 626, |
115 | width: 690, | 115 | width: 690, |
116 | fontSize: 26, | 116 | fontSize: 26, |
117 | color: "#000000", | 117 | color: "#000000", |
... | @@ -133,7 +133,7 @@ Page({ | ... | @@ -133,7 +133,7 @@ Page({ |
133 | 133 | ||
134 | let posterData = { | 134 | let posterData = { |
135 | width: 690, | 135 | width: 690, |
136 | height: 945, | 136 | height: 849, |
137 | debug: false, | 137 | debug: false, |
138 | blocks: blocks, | 138 | blocks: blocks, |
139 | images: images, | 139 | images: images, |
... | @@ -192,7 +192,7 @@ Page({ | ... | @@ -192,7 +192,7 @@ Page({ |
192 | return; | 192 | return; |
193 | } | 193 | } |
194 | wx.setClipboardData({ | 194 | wx.setClipboardData({ |
195 | data: '「深士照明」50万电工奖\n分享二维码:邀请好友就获奖\n好友购买:再获105返现奖金', | 195 | data: '「深士照明」50万电工奖\n分享二维码:邀请好友就获奖\n好友购买:再获10%返现奖金', |
196 | success(res) { | 196 | success(res) { |
197 | wx.saveImageToPhotosAlbum({ | 197 | wx.saveImageToPhotosAlbum({ |
198 | filePath: _this.data.imageUrl, | 198 | filePath: _this.data.imageUrl, | ... | ... |
... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
9 | <image bindtap="onPreviewImageHandler" class="my-card" mode="widthFix" src="{{imageUrl}}" /> | 9 | <image bindtap="onPreviewImageHandler" class="my-card" mode="widthFix" src="{{imageUrl}}" /> |
10 | </view> | 10 | </view> |
11 | <view class="tips"> | 11 | <view class="tips"> |
12 | <text>「深士照明」50万电工奖\n分享二维码:邀请好友就获奖\n好友购买:再获105返现奖金</text> | 12 | <text>「深士照明」50万电工奖\n分享二维码:邀请好友就获奖\n好友购买:再获10%返现奖金</text> |
13 | </view> | 13 | </view> |
14 | <view class="btn-wrap"> | 14 | <view class="btn-wrap"> |
15 | <view bindtap="saveImageToPhotosAlbum" class="btn">保存照片|复制文字</view> | 15 | <view bindtap="saveImageToPhotosAlbum" class="btn">保存照片|复制文字</view> | ... | ... |
-
Please register or sign in to post a comment