From 1397624c67254af44c9e1f24862ffcd9167f4de0 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Mon, 18 May 2026 14:58:23 +0800 Subject: [PATCH] no message --- components/myMain.vue | 5 ++++- root/bind/applyForm.vue | 36 ++++++++++++++++++++---------------- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/components/myMain.vue b/components/myMain.vue index 6874a21..34fbd20 100644 --- a/components/myMain.vue +++ b/components/myMain.vue @@ -95,7 +95,7 @@ - @@ -359,6 +359,9 @@ success(res) { canvas.width = res.width; canvas.height = res.height + 250; + // 设置Canvas的CSS样式尺寸与逻辑尺寸一致,避免拉伸变形 + canvas.style.width = res.width + 'px'; + canvas.style.height = (res.height + 250) + 'px'; mycenter = canvas.width; myheight = canvas.height; const img = canvas.createImage(); diff --git a/root/bind/applyForm.vue b/root/bind/applyForm.vue index d7bb532..face299 100644 --- a/root/bind/applyForm.vue +++ b/root/bind/applyForm.vue @@ -34,17 +34,21 @@
- {{ newForm.wxname }} + {{ newForm.wxname || '微信昵称' }}
-
+
- + @@ -64,9 +68,9 @@ class="g_text_r" placeholder-style="color:#999;font-size:17px;" v-model="newForm.companyName" - v-if="foa != 1" + v-if="info.recordStatus != 1" /> -
{{ newForm.companyName }}
+
{{ newForm.companyName }}
@@ -85,16 +89,16 @@ placeholder-style="color:#999;font-size:17px;" v-model="newForm.phone" maxlength="11" - v-if="foa != 1" + v-if="info.recordStatus != 1" /> -
{{ newForm.phone }}
+
{{ newForm.phone }}
-
+
-
+
{{ newForm.remark.length }}/ 30
-
{{ newForm.remark }}
+
{{ newForm.remark }}
设置后系统将自动创建团队并关注该发单号,您作为创建人可在我的页面管理团队。 @@ -144,7 +148,7 @@ export default { data() { return { newForm:{ - wxname:'微信昵称', + wxname:'', wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg', companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyName) || '', phone: "", @@ -194,11 +198,11 @@ export default { let _datas = JSON.parse(uni.getStorageSync("applyfoemdata")); if(_datas){ that.newForm = { - wxname:_datas.nickName || '微信昵称', + wxname:_datas.nickName || '', wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg', companyName: _datas.applyFullName, phone: _datas.tel, - remark:_datas.remark, + remark:_datas.remark || '无备注', }; that.info.logo = _datas.logo; that.info.recordStatus = 1; @@ -340,7 +344,7 @@ export default { title: "提交成功", }); setTimeout(() => { - uni.navigateBack(); + that.info.recordStatus = 1; }, 1500); } );