no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent d433c903a6
commit 1397624c67

@ -95,7 +95,7 @@
</rh-fixed> </rh-fixed>
</view> </view>
<!-- #ifdef MP-WEIXIN --> <!-- #ifdef MP-WEIXIN -->
<canvas type="2d" style="position: absolute; left: -2000px; width: 425px; height: 350px; background: #fff" <canvas type="2d" style="position: absolute; left: -2000px; background: #fff"
id="canvasId" ref="canvasId"></canvas> id="canvasId" ref="canvasId"></canvas>
<!-- #endif --> <!-- #endif -->
</view> </view>
@ -359,6 +359,9 @@
success(res) { success(res) {
canvas.width = res.width; canvas.width = res.width;
canvas.height = res.height + 250; canvas.height = res.height + 250;
// CanvasCSS
canvas.style.width = res.width + 'px';
canvas.style.height = (res.height + 250) + 'px';
mycenter = canvas.width; mycenter = canvas.width;
myheight = canvas.height; myheight = canvas.height;
const img = canvas.createImage(); const img = canvas.createImage();

@ -34,17 +34,21 @@
<div class="g_flex_column_center g_flex_none" style="margin: 0 4px;"> <div class="g_flex_column_center g_flex_none" style="margin: 0 4px;">
<div style="color: #999;font-size: 17px;max-width: calc(100vw - 160px);" class="g_ell_1" <div style="color: #999;font-size: 17px;max-width: calc(100vw - 160px);" class="g_ell_1"
:style="{ :style="{
'color':foa == 1 ? '#666' : '#999' 'color':!newForm.wxname ? '#333' : '#666'
}" }"
> >
{{ newForm.wxname }} {{ newForm.wxname || '微信昵称' }}
</div> </div>
</div> </div>
<div class="g_flex_column_center g_flex_none" v-if="foa != 1"> <div class="g_flex_column_center g_flex_none" v-if="!newForm.wxname">
<i class="iconfont icon-gengduo11 g_c_c"></i> <i class="iconfont icon-gengduo11 g_c_c"></i>
</div> </div>
</div> </div>
<button open-type="getUserInfo" style="position: absolute;left: 0;top: 0;width: 100%;height: 100%;opacity: 0;" @getuserinfo="getUserInfo" v-if="foa != 1"></button> <button open-type="getUserInfo"
style="position: absolute;left: 0;top: 0;width: 100%;height: 100%;opacity: 0;"
@getuserinfo="getUserInfo"
v-if="!newForm.wxname"
></button>
</div> </div>
</div> </div>
</div> </div>
@ -64,9 +68,9 @@
class="g_text_r" class="g_text_r"
placeholder-style="color:#999;font-size:17px;" placeholder-style="color:#999;font-size:17px;"
v-model="newForm.companyName" v-model="newForm.companyName"
v-if="foa != 1" v-if="info.recordStatus != 1"
/> />
<div v-if="foa == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.companyName }}</div> <div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.companyName }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -85,16 +89,16 @@
placeholder-style="color:#999;font-size:17px;" placeholder-style="color:#999;font-size:17px;"
v-model="newForm.phone" v-model="newForm.phone"
maxlength="11" maxlength="11"
v-if="foa != 1" v-if="info.recordStatus != 1"
/> />
<div v-if="foa == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.phone }}</div> <div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.phone }}</div>
</div> </div>
</div> </div>
</div> </div>
<div style="margin: 10px auto 40px;width: calc(100% - 20px);"> <div style="margin: 10px auto 40px;width: calc(100% - 20px);">
<div style="background-color: #fff;border-radius: 8px;height: 88px;position: relative;" class="g_flex_row_center"> <div style="background-color: #fff;border-radius: 8px;height: 88px;position: relative;" class="g_flex_row_center">
<div style="width: calc(100% - 20px);margin: 0 auto;" v-if="foa != 1"> <div style="width: calc(100% - 20px);margin: 0 auto;" v-if="info.recordStatus != 1">
<u-input v-model="newForm.remark" <u-input v-model="newForm.remark"
class="g_flex_1 g_ml_10" class="g_flex_1 g_ml_10"
maxlength="30" maxlength="30"
@ -104,13 +108,13 @@
:clearable="false" :clearable="false"
:customStyle="{ fontSize: '16px' }" :customStyle="{ fontSize: '16px' }"
style="position: relative;top: -12px;" style="position: relative;top: -12px;"
v-if="foa != 1" v-if="info.recordStatus != 1"
/> />
</div> </div>
<div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;" v-if="foa != 1"> <div style="position: absolute;right: 16px;bottom: 16px;color: #333;font-size: 12px;" v-if="info.recordStatus == 1">
{{ newForm.remark.length }}/ 30 {{ newForm.remark.length }}/ 30
</div> </div>
<div v-if="foa == 1" style="color: #666;font-size: 17px;text-align: left;width: 100%;padding: 14px 10px;">{{ newForm.remark }}</div> <div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: left;width: 100%;padding: 14px 10px;">{{ newForm.remark }}</div>
</div> </div>
<div style="margin: 4px auto;width: calc(100% - 20px);color:#999;font-size: 12px;"> <div style="margin: 4px auto;width: calc(100% - 20px);color:#999;font-size: 12px;">
设置后系统将自动创建团队并关注该发单号您作为创建人可在我的页面管理团队 设置后系统将自动创建团队并关注该发单号您作为创建人可在我的页面管理团队
@ -144,7 +148,7 @@ export default {
data() { data() {
return { return {
newForm:{ newForm:{
wxname:'微信昵称', wxname:'',
wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg', wxavatar:'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyName) || '', companyName: (uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyName) || '',
phone: "", phone: "",
@ -194,11 +198,11 @@ export default {
let _datas = JSON.parse(uni.getStorageSync("applyfoemdata")); let _datas = JSON.parse(uni.getStorageSync("applyfoemdata"));
if(_datas){ if(_datas){
that.newForm = { that.newForm = {
wxname:_datas.nickName || '微信昵称', wxname:_datas.nickName || '',
wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg', wxavatar:_datas.avatar || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg',
companyName: _datas.applyFullName, companyName: _datas.applyFullName,
phone: _datas.tel, phone: _datas.tel,
remark:_datas.remark, remark:_datas.remark || '无备注',
}; };
that.info.logo = _datas.logo; that.info.logo = _datas.logo;
that.info.recordStatus = 1; that.info.recordStatus = 1;
@ -340,7 +344,7 @@ export default {
title: "提交成功", title: "提交成功",
}); });
setTimeout(() => { setTimeout(() => {
uni.navigateBack(); that.info.recordStatus = 1;
}, 1500); }, 1500);
} }
); );

Loading…
Cancel
Save