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() } });