Browse Source

修改bug

master
岳鹏龙 6 months ago
parent
commit
a2e544f757
  1. 105
      src/pages/memberCenter/inpart.vue
  2. 2
      src/pages/mine/associatedDetail.vue
  3. 16
      src/pages/mine/porsonalinfo.vue
  4. BIN
      src/static/img/Bitmap.png

105
src/pages/memberCenter/inpart.vue

@ -18,72 +18,21 @@
prop="tel">
<u-input v-model="form.tel" placeholder="请输入" placeholder-style="color: #D3D3D3;" />
</u-form-item>
<!-- <u-form-item label="单位名称" prop="title" v-if="form.identity!==5">
<u-input v-if="form.identity===3" v-model="form.title" placeholder="请选择"
placeholderStyle="color: #D3D3D3;" disabled disabled-color="#ffffff" suffixIcon="arrow-down"
@tap="dwshow = true" />
<u-picker v-if="form.identity===3" :show="dwshow" :columns="dwcolumns" @confirm="dwconfirm"
@cancel="dwshow = false"></u-picker>
<u-input v-if="form.identity!==3" v-model="form.title" placeholder="请输入"
placeholder-style="color: #D3D3D3;" />
</u-form-item>
<u-form-item label="行业" prop="industry" v-if="form.identity===1||form.identity===2">
<u-input v-model="form.industry" placeholder="请输入" placeholder-style="color: #D3D3D3;" />
</u-form-item>
<u-form-item label="地址" prop="address" v-if="form.identity===4">
<u-input v-model="form.address" placeholder="请选择" placeholderStyle="color: #D3D3D3;" disabled
disabled-color="#ffffff" suffixIcon="arrow-down" @tap="dzshow = true" />
<u-cascader :show="dzshow" v-model="dzvalue" :data="dzcolumns" @confirm="dzconfirm"
@close="dzshow = false"></u-cascader>
</u-form-item> -->
<!-- <view class="cardbox" v-if="ishowcommany">
<view v-for="(group, index) in inputGroups" :key="index" class="input-group">
<view class="inputs" @click="beforeRead(index)">
公司性质
<input class="inputclass" placeholder-class="inputplacla" disabled disabledColor="#ffffff"
:value="group.type == 1 ? '其他(自由职业者等)' : group.type === 2 ? '个体工商户' : group.type === 3 ? '民营企业' : ''"
placeholder="民营企业、个体工商户、其它(自由职业者等)" @tap="qyshow = true" />
<u-action-sheet :actions="qylist" title="请选择关联企业类型" :show="qyshow" @select="qyClick"
@close="qyshow = false"></u-action-sheet>
公司名称
<input class="inputclass" placeholder-class="inputplacla" v-model="group.title"
placeholder="请输入真实公司名称" />
营业执照
<u-upload class="uploadbox" @afterRead="afterRead" :maxCount="1" :imageMode="'heightFix'"
:width="auto" :height="144">
<view class="yyzz" v-if="group.license === ''">
<image style="width: 40rpx; height: 40rpx" src="@/static/img/yyzz.png" mode="">
</image>
上传营业执照
</view>
<image v-else @click="beforeRead(index)"
style="width: 100%; height: 288rpx; margin-top: 12rpx"
:src="baseurl + '/' + group.license" mode="scaleToFill"></image>
</u-upload>
</view>
<view v-if="index > 0" class="remove-btn" @click="removeGroup(index)">-</view>
</view>
<button @click="addGroup" class="add-btn">+ 添加一组</button>
</view> -->
<!-- <u-form-item label="个人介绍" prop="introduce">
<u-textarea v-model="form.introduce" autoHeight placeholder="请输入个人介绍" placeholderStyle="color: #D3D3D3;"></u-textarea>
</u-form-item> -->
<!-- <u-form-item label="营业执照" prop="business_license" v-if="form.identity===1||form.identity===2">
<u-upload class="uploadbox" @afterRead="afterRead1" :maxCount="1" :imageMode="'heightFix'"
:width="auto" :height="144">
<view class="yyzz" v-if="form.business_license === ''">
<image style="width: 40rpx; height: 40rpx" src="@/static/img/yyzz.png" mode=""></image>
请上传营业执照
</view>
<image v-else style="width: 100%; height: 600rpx; margin-top: 12rpx"
:src="baseurl + '/' + form.business_license" mode="scaleToFill"></image>
</u-upload>
</u-form-item> -->
</u-form>
</view>
<view class="sumitbotton">
<view class="button" @click="submit">确认提交</view>
</view>
<u-popup :show="showtit" @close="showtit = false" mode="center" :safeAreaInsetTop="true" :overlayOpacity="0.8" :closeOnClickOverlay="false">
<view class="titbox">
<view class="wxts">
温馨提示
</view>
<view class="zccg">
注册成功请完善信息
</view>
</view>
</u-popup>
</view>
</template>
@ -107,6 +56,7 @@
const uPickerRef = ref(null)
const showtit = ref(false)
//
const form = ref({
mobile: '',
@ -350,17 +300,14 @@
// data.push(obj)
// }
// })
uni.$u.toast('校验通过')
// uni.$u.toast('')
// delete form.value.member_tag_name
console.log(form.value);
xh_memberRegister(form.value).then((res) => {
if (res.code === 1) {
uni.showToast({
title: '请完善信息',
icon: 'success',
duration: 2000
})
showtit.value = true
setTimeout(()=>{
showtit.value = false
uni.navigateTo({
url: '/pages/memberCenter/makemessage?number='+form.value.mobile+'&type='+form.value.identity
})
@ -535,6 +482,30 @@
color: #ffffff;
}
}
.titbox {
display: grid;
justify-items: center;
width: 100%;
height: 100%;
box-shadow: 0px 54px 82px -22px rgba(0, 95, 155, 0.16);
padding: 50px 72px;
border-radius: 24px;
.wxts {
margin-top: -50px;
font-family: Source Han Sans;
font-size: 26px;
font-weight: bold;
text-align: center;
color: rgba(29, 29, 29, 0.95);
}
.zccg {
font-family: Source Han Sans;
font-size: 14px;
font-weight: normal;
color: #828282;
}
}
}
.yyzz {

2
src/pages/mine/associatedDetail.vue

@ -5,7 +5,7 @@
<view class="icon"></view>
<text class="title">公司简介</text>
</view>
<image style="width: 100%; height: 400rpx; margin-top: 40rpx" src="@/static/img/Bitmap.png" mode=""></image>
<image style="width: 100%; height: 400rpx; margin-top: 40rpx" src="http://172.16.96.67:8080/upload/attachment/image/202510/15/176050700275967b7de10e4dc0437f4d899177b77d_local.png" mode=""></image>
<text class="message">
说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明说明
</text>

16
src/pages/mine/porsonalinfo.vue

@ -7,8 +7,9 @@
<text class="txt">头像</text>
</view>
<view class="right">
<u-upload :file-list="form.fileList" @afterRead="afterRead" :max-count="1">
<image :src="url + `/` + userStore.userInfo.head_pic" mode="" style="width: 80rpx; height: 80rpx; border-radius: 50%"></image>
<u-upload :file-list="form.fileList" @afterRead="afterRead" :max-count="1">
<image v-if="userStore.userInfo.head_pic === null" src="@/static/img/tx.png" mode="" style="width: 60rpx; height: 60rpx; border-radius: 50%"></image>
<image v-else :src="url + `/` + userStore.userInfo.head_pic" mode="" style="width: 80rpx; height: 80rpx; border-radius: 50%"></image>
</u-upload>
<!-- <image style="width: 18rpx;height: 18rpx;margin-left: 16rpx;" src="@/static/img/Group13.png"
mode=""></image> -->
@ -40,7 +41,7 @@
<text class="txt">性别</text>
</view>
<view class="right" @click="sexshow = true">
<text class="value">{{ userStore.userInfo.sex_name }}</text>
<text class="value">{{ userStore.userInfo.sex===1?'男':'女' }}</text>
<u-action-sheet
:actions="sexlist"
title="请选择性别"
@ -57,7 +58,7 @@
<text class="txt">绑定手机号</text>
</view>
<view class="right" @click="openpopup('手机号')">
<text class="value">{{ userStore.userInfo.moblie }}</text>
<text class="value">{{ userStore.userInfo.mobile }}</text>
<image style="width: 18rpx; height: 18rpx; margin-left: 16rpx" src="@/static/img/Group13.png" mode=""></image>
</view>
</view>
@ -76,8 +77,9 @@
<image style="width: 32rpx; height: 32rpx" src="@/static/img/szqy.png" mode=""></image>
<text class="txt">关联企业</text>
</view>
<view class="right" @click="qyshow = true">
<text class="value">{{ userStore.userInfo.identity_name }}</text>
<!-- <view class="right" @click="qyshow = true"> -->
<view class="right">
<text class="value">{{ userStore.userInfo.title }}</text>
<u-action-sheet
:actions="qylist"
title="请选择关联企业类型"
@ -85,7 +87,7 @@
@select="qyClick"
@close="qyshow = false"
></u-action-sheet>
<image style="width: 18rpx; height: 18rpx; margin-left: 16rpx" src="@/static/img/Group13.png" mode=""></image>
<!-- <image style="width: 18rpx; height: 18rpx; margin-left: 16rpx" src="@/static/img/Group13.png" mode=""></image> -->
</view>
</view>
</view>

BIN
src/static/img/Bitmap.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 KiB

Loading…
Cancel
Save