企业认证页面修改

main
lijingyu007 6 months ago
parent adaa1bee50
commit c2082188f2
  1. 70
      pages/personal/setup/companyApply.vue

@ -3,10 +3,10 @@
<view class="contentBox">
<view class="sintitle">
<img src="/static/index/grxx.png" alt="">
<p>认证信息</p>
<p>企业认证信息</p>
</view>
<u-form :model="form" ref="form" :rules="rules" label-position='top' label-width='150'
border-bottom='false'>
<u-form v-if="form.companyStatus != 1" :model="form" ref="form" :rules="rules" label-position='top'
label-width='150' border-bottom='false'>
<u-form-item label="企业证件照全称(必填)" prop="name" border-bottom='false'>
<u-input border style="width:100%;" :disabled='form.companyStatus == 0||form.companyStatus == 1 '
v-model="form.name" placeholder='输入企业证件照全称' />
@ -23,17 +23,42 @@
@on-success="(data,index,lists) => {fielUploadSuc(data,index,lists) }"
@on-remove="(index, lists, name)=>{deleteUpfile(index)}"
@on-error="(data,index, lists)=>{errorUpfile(data,index, lists)}">
<!-- <view slot="addBtn" class="slot-btn">
<img v-if="form.businessLicenseUrl" :src="form.businessLicenseUrl" mode="aspectFill"
style="width: 200px;height: 100px;">
<div v-else class="upliacla">
<p style="font-size: 18px;">+</p>
<p>选择图片</p>
</div>
</view> -->
</u-upload>
</u-form-item>
</u-form>
<view class="applyed" v-else>
<view class="applyedit">
<view class="applyeditL">
法人姓名
</view>
<view class="applyeditR">
{{form.contactName}}
</view>
</view>
<view class="applyedit">
<view class="applyeditL">
企业名称
</view>
<view class="applyeditR">
{{form.name}}
</view>
</view>
<view class="applyedit">
<view class="applyeditL">
营业执照
</view>
<view class="applyeditR">
<u-upload ref="upload" width='200px' height='100px' :action="action" :header="headers"
:auto-upload="true" :show-progress="false" max-count="1"
:deletable="form.companyStatus == 0 || form.companyStatus == 1 ? false: true"
:file-list="form.businessLicenseUrl"
@on-success="(data,index,lists) => {fielUploadSuc(data,index,lists) }"
@on-remove="(index, lists, name)=>{deleteUpfile(index)}"
@on-error="(data,index, lists)=>{errorUpfile(data,index, lists)}">
</u-upload>
</view>
</view>
</view>
<!-- 按钮 -->
<view class="companyBtn" @click="submitApply" v-if=" !form.companyApplyId">
提交审核
@ -199,6 +224,29 @@
</script>
<style lang="scss" scoped>
.applyedit {
display: flex;
min-height: 90rpx;
align-items: center;
margin-top: 40rpx;
}
.applyeditL {
width: 130rpx;
font-weight: 500;
min-height: 90rpx;
line-height: 90rpx;
font-size: 24rpx;
color: #808080;
}
.applyeditR {
flex: 1;
height: 100%;
min-height: 90rpx;
line-height: 90rpx;
border-bottom: 1px solid #EBEBEB;
}
.contentBox ::v-deep.u-form-left__content__label {
font-weight: bold;
font-size: 30rpx;

Loading…
Cancel
Save