入驻提示
This commit is contained in:
parent
2ecd26d609
commit
fa17e04f30
|
|
@ -9,6 +9,9 @@
|
|||
<view class="form-item-one box-cont">
|
||||
<view class="label-wrapper">
|
||||
<text class="label required">店铺名称</text>
|
||||
<image class="label-icon"
|
||||
src="https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/25bd7f38-1a3e-4282-84ea-190d7f820108"
|
||||
mode="aspectFit" @click="showTipPopup('name')"></image>
|
||||
</view>
|
||||
<input type="text" v-model="formData.name" placeholder="请输入营业执照的店铺名称" placeholder-class="placeholder"
|
||||
class="input" @input="saveFormDataToLocalDebounce" />
|
||||
|
|
@ -181,7 +184,7 @@
|
|||
<view class="tip-popup-body">
|
||||
<view class="tip-title">{{ tipTitle }}</view>
|
||||
<view class="tip-image-container">
|
||||
<image class="tip-image" :src="tipImage" mode="widthFix"></image>
|
||||
<image class="tip-image" :class="currentTipType" :src="tipImage" mode="widthFix"></image>
|
||||
</view>
|
||||
<view class="tip-buttons">
|
||||
<view class="tip-btn cancel" @click="hideTipPopup">
|
||||
|
|
@ -229,6 +232,7 @@ export default {
|
|||
indicatorStyle: 'height: 68rpx;',
|
||||
tipTitle: '',
|
||||
tipImage: '',
|
||||
currentTipType: '',
|
||||
isSubmit: false,
|
||||
identity: 2,
|
||||
|
||||
|
|
@ -586,7 +590,7 @@ export default {
|
|||
try {
|
||||
// 调用接口验证邀请码
|
||||
const response = await request.post('/user/user/getInvite', {
|
||||
invite_code: code
|
||||
invite_code_other: code
|
||||
});
|
||||
|
||||
console.log('邀请码验证响应:', response);
|
||||
|
|
@ -758,7 +762,7 @@ export default {
|
|||
});
|
||||
return false;
|
||||
}
|
||||
if (!this.formData.invite_code) {
|
||||
if (!this.formData.invite_code_other) {
|
||||
uni.showToast({
|
||||
title: '请输入邀请码',
|
||||
icon: 'none'
|
||||
|
|
@ -777,12 +781,13 @@ export default {
|
|||
showTipPopup(field) {
|
||||
const tipConfig = {
|
||||
'name': {
|
||||
title: '如何找到店铺名称',
|
||||
image: 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/4fb3e0a2-4c1a-4433-a181-b7a1dfefd030'
|
||||
title: '如何查看店铺名称',
|
||||
image: 'https://mrrplus.oss-cn-beijing.aliyuncs.com/photo/system/4a2dc8c2-98d4-4465-ae31-b2ea2d13aa23'
|
||||
}
|
||||
};
|
||||
|
||||
if (tipConfig[field]) {
|
||||
this.currentTipType = field;
|
||||
this.tipTitle = tipConfig[field].title;
|
||||
this.tipImage = tipConfig[field].image;
|
||||
this.showTipPopupFlag = true;
|
||||
|
|
|
|||
|
|
@ -416,8 +416,8 @@
|
|||
if (qualificationData.contact_type) {
|
||||
formData.contact_type = qualificationData.contact_type;
|
||||
}
|
||||
if (qualificationData.invite_code) {
|
||||
formData.invite_code_other = qualificationData.invite_code;
|
||||
if (qualificationData.invite_code_other) {
|
||||
formData.invite_code_other = qualificationData.invite_code_other;
|
||||
}
|
||||
if (qualificationData.contact_name) {
|
||||
formData.contact_name = qualificationData.contact_name;
|
||||
|
|
|
|||
Loading…
Reference in New Issue