no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent 063392ce03
commit d3c0f11e9f

@ -8,7 +8,7 @@
<div class="m-info" > <div class="m-info" >
<div class="g_flex_row_center"> <div class="g_flex_row_center">
<img :src="info.logo" alt="" style="width: 64px; height: 64px;border-radius: 50%;" /> <img :src="info.logo || 'https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/default.svg'" alt="" style="width: 64px; height: 64px;border-radius: 50%;" />
</div> </div>
<div class="g_flex_row_center" style="margin:6px 0 4px;color:#333;font-size: 18px;"> <div class="g_flex_row_center" style="margin:6px 0 4px;color:#333;font-size: 18px;">
{{ info.ffullName }} {{ info.ffullName }}
@ -22,7 +22,7 @@
<div style="color:#999;font-size: 12px;padding-left: 10px;margin-bottom: 4px;">申请人基本信息</div> <div style="color:#999;font-size: 12px;padding-left: 10px;margin-bottom: 4px;">申请人基本信息</div>
<div class="apply-item g_flex_row_between" style="height: 56px;background-color: #fff;border-radius: 8px;"> <div class="apply-item g_flex_row_between" style="height: 56px;background-color: #fff;border-radius: 8px;">
<div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;width: 100%;"> <div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;width: 100%;">
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;"> <div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;position: relative;">
申请人 申请人
</div> </div>
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;"> <div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
@ -46,26 +46,26 @@
<div style="margin: 10px auto 0;width: calc(100% - 20px);"> <div style="margin: 10px auto 0;width: calc(100% - 20px);">
<div class="apply-item" style="height: 56px;background-color: #fff;border-radius: 8px 8px 0 0;padding: 0 5px;"> <div class="apply-item" style="height: 56px;background-color: #fff;border-radius: 8px 8px 0 0;padding: 0 5px;">
<div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;"> <div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;">
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;"> <div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;">
企业logo 企业logo
</div> </div>
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;"> <div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
<div class="g_flex_row_end" style="width: 100%;" v-if="info.recordStatus != 1"> <div class="g_flex_row_end" style="width: 100%;" v-if="info.recordStatus != 1">
<button class="avatar-wrapper-btn g_flex_row_end" open-type="chooseAvatar" @chooseavatar="onChooseAvatar" <button class="avatar-wrapper-btn g_flex_row_end" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"
style="width:100%;height:28px;position: relative;" style="width:100%;height:40px;position: relative;"
> >
<img :src="newForm.wxavatar" alt="" style="width: 28px; height: 28px; border-radius: 50%;position: absolute;right: 0;top:50%;transform: translateY(-50%)" /> <img :src="newForm.wxavatar" alt="" style="width: 40px; height: 40px; border-radius: 50%;position: absolute;right: 0;top:50%;transform: translateY(-50%)" />
</button> </button>
</div> </div>
<div class="g_flex_row_end" style="width: 100%;" v-if="info.recordStatus == 1"> <div class="g_flex_row_end" style="width: 100%;" v-if="info.recordStatus == 1">
<img :src="newForm.wxavatar" alt="" style="width: 28px; height: 28px; border-radius: 50%;" /> <img :src="newForm.wxavatar" alt="" style="width: 40px; height: 40px; border-radius: 50%;" />
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="apply-item" style="height: 56px;background-color: #fff;padding: 0 5px;"> <div class="apply-item" style="height: 56px;background-color: #fff;padding: 0 5px;">
<div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;"> <div class="g_flex_row_between" style="border-bottom: 1px solid #eee;height: 100%;">
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;"> <div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;">
企业简称 企业简称
</div> </div>
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;"> <div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
@ -84,7 +84,7 @@
</div> </div>
</div> </div>
<div class="apply-item g_flex_row_between" style="height: 56px;background-color: #fff;border-radius: 0 0 8px 8px;padding: 0 5px;"> <div class="apply-item g_flex_row_between" style="height: 56px;background-color: #fff;border-radius: 0 0 8px 8px;padding: 0 5px;">
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#333;font-size: 17px;padding-left: 5px;"> <div class="g_flex_none g_h_all g_flex_column_center labes" style="color:#333;font-size: 17px;padding-left: 5px;">
联系电话 联系电话
</div> </div>
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;"> <div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
@ -167,7 +167,7 @@ export default {
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").fullName) || '',
phone: "", phone: "",
remark:'' remark:''
}, },
@ -245,13 +245,13 @@ export default {
}, },
methods: { methods: {
onChooseAvatar(e) { onChooseAvatar(e) {
let that = this;
console.log("onChooseAvatar", e); console.log("onChooseAvatar", e);
if (this.chooseAvatarLoading) return; if (this.chooseAvatarLoading) return;
this.chooseAvatarLoading = true; that.chooseAvatarLoading = true;
this.newForm.wxavatar = e.detail.avatarUrl; that.newForm.wxavatar = e.detail.avatarUrl;
//
setTimeout(() => { setTimeout(() => {
this.chooseAvatarLoading = false; that.chooseAvatarLoading = false;
}, 1000); }, 1000);
}, },
init() { init() {
@ -333,7 +333,6 @@ export default {
tel: that.newForm.phone, tel: that.newForm.phone,
remark: that.newForm.remark, remark: that.newForm.remark,
}; };
console.log("提交参数:", params);
// //
that.btnSpeed = 0; that.btnSpeed = 0;
// //
@ -342,8 +341,10 @@ export default {
title: "正在发送", title: "正在发送",
}); });
that.btnloading = true; that.btnloading = true;
setTimeout(() => { that.G.uploadFile(that.newForm.wxavatar, (res) => {
uni.hideLoading(); uni.hideLoading();
params.avatar = res;
console.log("提交参数:", params);
that.G.Get( that.G.Get(
that.api.bind_subscribeSubmit + "/" + that.info.agencyId, that.api.bind_subscribeSubmit + "/" + that.info.agencyId,
params, params,
@ -360,7 +361,7 @@ export default {
}, 1500); }, 1500);
} }
) )
}, 500); });
}, },
goPage($path) { goPage($path) {
uni.navigateTo({ uni.navigateTo({
@ -409,4 +410,16 @@ export default {
line-height: 42px; line-height: 42px;
border-radius: 25px; border-radius: 25px;
} }
.labes{
position: relative;
&::after{
content: "*";
position: absolute;
top: 14px;
font-size: 14px;
color: red;
right: -6px;
}
}
</style> </style>

Loading…
Cancel
Save