From f3f9af86f9850bc71b2e82f4f9694e4cee8df36c Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Fri, 13 Dec 2024 11:40:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=B5=B7=E6=8A=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config.js | 12 ++++++------ me/components/wm-poster/wm-posterorders.vue | 7 ++++--- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/common/config.js b/common/config.js index ef54693..4c7923a 100644 --- a/common/config.js +++ b/common/config.js @@ -1,10 +1,10 @@ -const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // -const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 -const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 +// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/sqx_fast/"; // +// const ROOTPATH = "https://dj-api.hnsiyao.cn/sqx_fast/"; //后台服务域名 +// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名 -// const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // -// const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 -// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 +const ROOTPATH1 = "https://video.hnsiyao.cn/sqx_fast/"; // +const ROOTPATH = "https://video.hnsiyao.cn/sqx_fast/"; //后台服务域名 +const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名 module.exports = { APIHOST: ROOTPATH, diff --git a/me/components/wm-poster/wm-posterorders.vue b/me/components/wm-poster/wm-posterorders.vue index f9275c8..3c31629 100644 --- a/me/components/wm-poster/wm-posterorders.vue +++ b/me/components/wm-poster/wm-posterorders.vue @@ -236,7 +236,7 @@ // _this.ctx.setFontSize(uni.upx2px(24)); // _this.ctx.fillText(_this.OriginalTxt, _strlineW, _strHeight); //商品原价 // } - // #endif + //// #endif _this.ctx.strokeStyle = _this.OriginalColor; _this.ctx.moveTo(_strlineW, _strHeight - uni.upx2px(10)); //起点 _this.ctx.lineTo(_strlineW + _this.ctx.measureText(_this.OriginalTxt).width, _strHeight - uni.upx2px( @@ -248,7 +248,7 @@ _strHeight += uni.upx2px(20); 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); + 69, 69); //添加二维码 end //添加推荐人与描述 @@ -277,7 +277,8 @@ }, fail(err) { errs(err); - _this.$queue.showToast('海报生成失败'); + // _this.$queue.showToast(imgSrc); + _this.$queue.showToast('海报生成失败1'); uni.hideLoading() } });