no message

cyl/job_im
jscyl13849007907 3 weeks ago
parent 9d927b8860
commit af7d9e5da3

@ -24,7 +24,7 @@
<div class="g_flex_none g_h_all g_flex_column_center" style="color:#000;font-size: 17px;padding-left: 10px;"> <div class="g_flex_none g_h_all g_flex_column_center" style="color:#000;font-size: 17px;padding-left: 10px;">
申请人 申请人
</div> </div>
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;position: relative;"> <!-- <div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;position: relative;">
<div class="g_flex_row_end"> <div class="g_flex_row_end">
<div class="g_flex_column_center g_flex_1"> <div class="g_flex_column_center g_flex_1">
<div class="g_flex_row_end"> <div class="g_flex_row_end">
@ -44,10 +44,23 @@
<i class="iconfont icon-gengduo11 g_c_c"></i> <i class="iconfont icon-gengduo11 g_c_c"></i>
</div> </div>
</div> </div>
<!-- 使用新的getUserProfile方式 -->
<view v-if="!newForm.wxname" <view v-if="!newForm.wxname"
@click="getUserProfile" @click="getUserProfile"
style="position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: 10;"></view> style="position: absolute;left: 0;top: 0;width: 100%;height: 100%;z-index: 10;"></view>
</div> -->
<div class="g_flex_1 g_h_all g_flex_column_center" style="margin-left: 12px;padding-right: 10px;">
<u-input :custom-style="{ fontSize: '17px' }"
:clearable="false"
:password-icon="false"
placeholder="请输入申请人昵称"
input-align="right"
class="g_text_r"
placeholder-style="color:#999;font-size:17px;"
v-model="newForm.wxname"
v-if="info.recordStatus != 1"
maxlength='30'
/>
<div v-if="info.recordStatus == 1" style="color: #666;font-size: 17px;text-align: right;">{{ newForm.wxname }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -298,16 +311,10 @@ export default {
if (that.info.recordStatus == 1 || that.info.recordStatus == 2) { if (that.info.recordStatus == 1 || that.info.recordStatus == 2) {
return false; return false;
} }
if(!that.newForm.wxavatar){
uni.showToast({
title: '请授权获取用户头像',
icon: 'none'
});
return false;
}
if(!that.newForm.wxname){ if(!that.newForm.wxname){
uni.showToast({ uni.showToast({
title: '请输入微信昵称', title: '请输入申请人昵称',
icon: 'none' icon: 'none'
}); });
return false; return false;

Loading…
Cancel
Save