diff --git a/me/components/wm-poster/wm-posterorders.vue b/me/components/wm-poster/wm-posterorders.vue
index 9381db2..bd75f8b 100644
--- a/me/components/wm-poster/wm-posterorders.vue
+++ b/me/components/wm-poster/wm-posterorders.vue
@@ -163,7 +163,7 @@
q[0] = C_Q;
}
_this.canvasW = C_W;
- _this.canvasH = r[1] + q[1] + 25;
+ _this.canvasH = r[1];
_this.ctx.setFillStyle(_this.CanvasBg); //canvas背景颜色
_this.ctx.fillRect(0, 0, C_W, _this.canvasH); //canvas画布大小
@@ -182,7 +182,7 @@
_this.ctx.setFontSize(uni.upx2px(36)); //设置标题字体大小
_this.Title = _this.Title.substring(0, 20)
//#endif
- _this.ctx.setFillStyle(_this.TitleColor); //设置标题文本颜色
+ // _this.ctx.setFillStyle(_this.TitleColor); //设置标题文本颜色
let _strLastIndex = 0; //每次开始截取的字符串的索引
let _strHeight = r[1] + C_P * 2 + 10; //绘制字体距离canvas顶部的初始高度
let _num = 1;
@@ -239,22 +239,17 @@
//添加二维码
_strHeight += uni.upx2px(20);
- let toTop = uni.upx2px(20);
- // _this.ctx.drawImage(_QrCode.path, r[0] - q[0] + C_P, _strHeight, q[0], q[1]);
- _this.ctx.drawImage(_QrCode.path, r[0] - q[0] + C_P - uni.upx2px(20), _this.canvasH - q[1] - toTop, q[
- 0], q[1]);
+ let toTop = uni.upx2px(103);
+ _this.ctx.drawImage(_QrCode.path, r[0] - q[0] + C_P - uni.upx2px(201), _this.canvasH - q[1] - toTop, 71, 71);
//添加二维码 end
//添加推荐人与描述
- _this.ctx.setFillStyle(_this.TitleColor);
- _this.ctx.setFontSize(uni.upx2px(30));
- // _this.ctx.fillText(_this.Referrer, C_P, _strHeight + q[1] / 2);
- _this.ctx.fillText(_this.Referrer, C_P + uni.upx2px(20), _this.canvasH - q[1] - toTop + q[1] / 2);
- _this.ctx.setFillStyle(_this.OriginalColor);
- _this.ctx.setFontSize(uni.upx2px(24));
- // _this.ctx.fillText(_this.ViewDetails, C_P, _strHeight + q[1] / 2 + 20);
- _this.ctx.fillText(_this.ViewDetails, C_P + uni.upx2px(20), _this.canvasH - q[1] - toTop + q[1] / 2 +
- 20);
+ // _this.ctx.setFillStyle(_this.TitleColor);
+ // _this.ctx.setFontSize(uni.upx2px(30));
+ // _this.ctx.fillText(_this.Referrer, C_P + uni.upx2px(20), _this.canvasH - q[1] - toTop + q[1] / 2);
+ // _this.ctx.setFillStyle(_this.OriginalColor);
+ // _this.ctx.setFontSize(uni.upx2px(24));
+ // _this.ctx.fillText(_this.ViewDetails, C_P + uni.upx2px(20), _this.canvasH - q[1] - toTop + q[1] / 2 + 20);
//添加推荐人与描述 end
//延迟后渲染至canvas上
setTimeout(function() {
diff --git a/me/invite/index - 副本.vue b/me/invite/index - 副本.vue
new file mode 100644
index 0000000..38a9518
--- /dev/null
+++ b/me/invite/index - 副本.vue
@@ -0,0 +1,768 @@
+
+
+
+
+
+
+
+
+ {{invitationCode}}
+
+
+ 一键分享
+
+
+
+ 一键分享
+
+
+
+ 一键分享
+
+
+
+ 一键分享
+
+
+ 保存海报
+
+
+
+
+
+
+
+
+
+ {{item.userName}}
+
+
+ 获得
+ {{item.money}}
+
+
+
+
+
+
+
+
+ 已邀请
+ {{inviterNumber}}人
+
+
+ 累计收益
+ {{cumulativeRevenue}}元
+
+
+ 已提现
+ ¥{{withdrawn}}
+
+
+
+
+
+
+
+
+
+
+
+ 邀请好友可得开通会员及消费金额 {{price}}%的佣金奖励
+
+
+
+
+
+ 可得一级好友开通会员及消费金额 {{price}}%的佣金奖励
+
+
+
+ 可得二级好友开通会员及消费金额 {{price2}}%的佣金奖励
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/me/invite/index.vue b/me/invite/index.vue
index 38a9518..a7b95e7 100644
--- a/me/invite/index.vue
+++ b/me/invite/index.vue
@@ -543,10 +543,9 @@
let textTop = 0;
ctx.setFontSize(19);
ctx.setFillStyle('#333');
- ctx.fillText("长按识别图中二维码", 17, textTop + 590);
+ // ctx.fillText("长按识别图中二维码", 17, textTop + 590);
// 二维码
- ctx.drawImage(res2.tempFilePath, 238, textTop +
- 526, 120, 120);
+ // ctx.drawImage(res2.tempFilePath, 238, textTop + 526, 120, 120);
ctx.draw(true, () => {
// canvas画布转成图片并返回图片地址
uni.canvasToTempFilePath({
diff --git a/pages/login/register.vue b/pages/login/register.vue
index 8804cfc..28676f1 100644
--- a/pages/login/register.vue
+++ b/pages/login/register.vue
@@ -420,7 +420,10 @@
}
.input{
width: 100%;
+ height: 84rpx;
+ line-height: 84rpx;
background-color: #fff;
+ align-items: center;
padding: 22rpx 32rpx 22rpx 24rpx;
}
}
diff --git a/pages/login/registerApp.vue b/pages/login/registerApp.vue
index 815f994..61961cf 100644
--- a/pages/login/registerApp.vue
+++ b/pages/login/registerApp.vue
@@ -416,7 +416,10 @@
}
.input{
width: 100%;
+ height: 84rpx;
+ line-height: 84rpx;
background-color: #fff;
+ align-items: center;
padding: 22rpx 32rpx 22rpx 24rpx;
}
}
diff --git a/static/images/share_bg1.png b/static/images/share_bg1.png
new file mode 100644
index 0000000..cd4a520
Binary files /dev/null and b/static/images/share_bg1.png differ
diff --git a/static/images/share_bg2.png b/static/images/share_bg2.png
new file mode 100644
index 0000000..706277b
Binary files /dev/null and b/static/images/share_bg2.png differ