From e531b38fb6664653bb8e19a289da6c83f2393f93 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 06 五月 2026 09:31:00 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/gtzxinglijicun
---
small-program/pages/store-apply/store-apply.vue | 259 ++++++++++++++++++++++++++++++++++++---------------
1 files changed, 183 insertions(+), 76 deletions(-)
diff --git a/small-program/pages/store-apply/store-apply.vue b/small-program/pages/store-apply/store-apply.vue
index 6e22773..864b022 100644
--- a/small-program/pages/store-apply/store-apply.vue
+++ b/small-program/pages/store-apply/store-apply.vue
@@ -3,13 +3,19 @@
<view class="top-gradient"></view>
<view class="process-wrap">
- <view class="process-step" :class="{ active: currentStep === 1 }" @tap="currentStep = 1">
- <view class="step-dot"></view>
+ <view class="process-step" :class="{ active: currentStep === 1, done: currentStep > 1 }" @tap="currentStep = 1">
+ <view class="step-dot" :class="{ 'step-dot--done': currentStep > 1 }">
+ <view v-if="currentStep === 1" class="step-dot__inner"></view>
+ <u-icon v-else name="checkmark" color="#ffffff" size="14"></u-icon>
+ </view>
<text>闂ㄥ簵淇℃伅</text>
</view>
<view class="process-line"></view>
- <view class="process-step" :class="{ active: currentStep === 2 }" @tap="currentStep = 2">
- <view class="step-dot step-index">2</view>
+ <view class="process-step" :class="{ active: currentStep === 2, done: currentStep > 2 }" @tap="currentStep = 2">
+ <view class="step-dot" :class="{ 'step-dot--inactive': currentStep !== 2 }">
+ <view v-if="currentStep === 2" class="step-dot__inner"></view>
+ <text v-else class="step-dot__index">2</text>
+ </view>
<text>涓讳綋璧勮川</text>
</view>
</view>
@@ -61,15 +67,14 @@
<view class="form-group phone-group">
<view class="label-row"><text class="label">鑱旂郴浜虹數璇�</text><text class="required">*</text></view>
<view class="input-with-icon">
- <input class="text-input" type="number" maxlength="11" v-model="form.linkPhone" placeholder="璇疯緭鍏ヨ仈绯讳汉鐢佃瘽" placeholder-style="color: #c1c7d0;" />
- <view class="clear-icon"></view>
+ <input class="text-input" type="number" maxlength="11" :value="form.linkPhone" @input="handleLinkPhoneInput" placeholder="璇疯緭鍏ヨ仈绯讳汉鐢佃瘽" placeholder-style="color: #c1c7d0;" />
</view>
</view>
<view class="divider"></view>
<view class="form-group">
<view class="label-row"><text class="label">鑱旂郴浜鸿韩浠借瘉鍙�</text><text class="required">*</text></view>
- <input class="text-input" type="idcard" maxlength="18" v-model="form.idcard" placeholder="璇疯緭鍏ヨ仈绯讳汉韬唤璇佸彿" placeholder-style="color: #c1c7d0;" />
+ <input class="text-input" type="idcard" maxlength="18" :value="form.idcard" @input="handleIdcardInput" placeholder="璇疯緭鍏ヨ仈绯讳汉韬唤璇佸彿" placeholder-style="color: #c1c7d0;" />
</view>
<view class="divider"></view>
@@ -91,7 +96,7 @@
<view class="upload-section">
<view class="upload-title-row between-row">
- <view class="label-row"><text class="label">闂ㄥ簵鍐呴儴鎷涚墝</text><text class="required">*</text></view>
+ <view class="label-row"><text class="label">闂ㄥ簵鍐呴儴鐓х墖</text><text class="required">*</text></view>
<text class="upload-tip">鏈�澶氫笂浼�3寮犵収鐗�</text>
</view>
<view class="upload-grid">
@@ -128,12 +133,12 @@
<view class="form-group subject-first-group">
<view class="label-row"><text class="label">闂ㄥ簵绫诲瀷</text><text class="required">*</text></view>
<view class="switch-row type-switch-row">
- <view class="switch-pill" :class="{ active: qualificationType === 'personal' }" @tap="switchQualification('personal')">涓汉</view>
- <view class="switch-pill" :class="{ active: qualificationType === 'company' }" @tap="switchQualification('company')">浼佷笟</view>
+ <view class="switch-pill" :class="{ active: form.companyType ===0 }" @tap="form.companyType =0">涓汉</view>
+ <view class="switch-pill" :class="{ active: form.companyType ===1}" @tap="form.companyType =1">浼佷笟</view>
</view>
</view>
- <template v-if="qualificationType === 'personal'">
+ <template v-if="form.companyType ===0">
<view class="form-group compact-group">
<view class="label-row"><text class="label">鏀粯瀹濊处鍙�</text><text class="required">*</text></view>
<input class="text-input" v-model="form.aliAccount" placeholder="璇疯緭鍏ヤ釜浜烘敮浠樺疂璐﹀彿" placeholder-class="placeholder" />
@@ -153,12 +158,12 @@
<view class="upload-grid double-upload-grid">
<view class="upload-box id-upload-box" @click="chooseIdCardFront">
<image v-if="!form.idcardImg" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
- <image v-else class="preview-image" :src="getFullPath(form.idcardImg)" mode="aspectFill"></image>
+ <image v-else class="preview-image" :src="idcardImgUrl" mode="aspectFill"></image>
<text v-if="!form.idcardImg" class="upload-text">涓婁紶浜哄儚闈�</text>
</view>
<view class="upload-box id-upload-box" @click="chooseIdCardBack">
<image v-if="!form.idcardImgBack" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
- <image v-else class="preview-image" :src="getFullPath(form.idcardImgBack)" mode="aspectFill"></image>
+ <image v-else class="preview-image" :src="idcardImgBackUrl" mode="aspectFill"></image>
<text v-if="!form.idcardImgBack" class="upload-text">涓婁紶鍥藉窘闈�</text>
</view>
</view>
@@ -203,7 +208,11 @@
<input class="text-input" v-model="form.legalPersonName" placeholder="璇疯緭鍏ユ硶浜哄鍚�" placeholder-style="color: #c1c7d0;" />
</view>
<view class="divider"></view>
-
+ <view class="form-group compact-group">
+ <view class="label-row"><text class="label">娉曚汉鎵嬫満鍙�</text><text class="required">*</text></view>
+ <input class="text-input" v-model="form.legalPersonPhone" placeholder="璇疯緭鍏ユ硶浜哄鍚�" placeholder-style="color: #c1c7d0;" />
+ </view>
+ <view class="divider"></view>
<view class="form-group compact-group">
<view class="label-row"><text class="label">浼佷笟鏀粯瀹濊处鍙�</text><text class="required">*</text></view>
<input class="text-input" v-model="form.aliAccount" placeholder="璇疯緭鍏ヤ紒涓氭敮浠樺疂璐﹀彿" placeholder-style="color: #c1c7d0;" />
@@ -228,14 +237,14 @@
</view>
<view class="upload-grid double-upload-grid">
<view class="upload-box id-upload-box" @click="chooseLegalPersonCardFront">
- <image v-if="!form.legalPersonCard" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
- <image v-else class="preview-image" :src="getFullPath(form.legalPersonCard)" mode="aspectFill"></image>
- <text v-if="!form.legalPersonCard" class="upload-text">涓婁紶浜哄儚闈�</text>
+ <image v-if="!form.idcardImg" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
+ <image v-else class="preview-image" :src="idcardImgUrl" mode="aspectFill"></image>
+ <text v-if="!form.idcardImg" class="upload-text">涓婁紶浜哄儚闈�</text>
</view>
<view class="upload-box id-upload-box" @click="chooseLegalPersonCardBack">
- <image v-if="!form.legalPersonCardBack" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
- <image v-else class="preview-image" :src="getFullPath(form.legalPersonCardBack)" mode="aspectFill"></image>
- <text v-if="!form.legalPersonCardBack" class="upload-text">涓婁紶鍥藉窘闈�</text>
+ <image v-if="!form.idcardImgBack" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
+ <image v-else class="preview-image" :src="idcardImgBackUrl" mode="aspectFill"></image>
+ <text v-if="!form.idcardImgBack" class="upload-text">涓婁紶鍥藉窘闈�</text>
</view>
</view>
</view>
@@ -247,12 +256,23 @@
<view class="upload-grid">
<view class="upload-box license-upload-box" @click="chooseBusinessImage">
<image v-if="!form.businessImg" class="camera-icon" src="/static/icon/ic_camera@2x.png" mode="widthFix"></image>
- <image v-else class="preview-image" :src="getFullPath(form.businessImg)" mode="aspectFill"></image>
+ <image v-else class="preview-image" :src="businessImgUrl" mode="aspectFill"></image>
<text v-if="!form.businessImg" class="upload-text">鐐瑰嚮涓婁紶</text>
</view>
</view>
</view>
</template>
+ <view class="agreement-row">
+ <image class="agree-icon" :src="agreed ? '/static/icon/ic_accept_sel@2x.png' : '/static/icon/ic_accept@2x.png'" mode="aspectFit" @tap="agreed = !agreed"></image>
+ <view class="agreement-text-wrap">
+ <text class="agreement-text">鎴戝凡闃呰骞跺悓鎰�</text>
+ <text class="agreement-link" @click="goToService(6)">銆婇闄╂壙璇恒��</text>
+ <text class="agreement-text">銆�</text>
+ <text class="agreement-link" @click="goToService(7)">銆婅鏉庡瘎瀛橀』鐭ャ��</text>
+ <text class="agreement-text">鍙�</text>
+ <text class="agreement-link" @click="goToService(8)">銆婁唬鐞嗙偣鍚堜綔鍗忚銆�</text>
+ </view>
+ </view>
</view>
<view class="bottom-btn-wrap">
@@ -279,6 +299,7 @@
},
data() {
return {
+ agreed:false,
form: {
telephone: '',
companyType: 0,
@@ -301,18 +322,18 @@
laborContractImgs: [],
socialSecurityImgs: [],
legalPersonCard: '',
- legalPersonCardBack: '',
legalPersonName: '',
legalPersonPhone: '',
aliAccount: '',
aliName: '',
businessImg: ''
},
-
+ businessImgUrl:'',
+ idcardImgUrl: '',
+ idcardImgBackUrl: '',
previewMode: 'filled',
imgPrefix: '',
currentStep: 1,
- qualificationType: 'company',
showAreaPicker: false,
areaList: [],
areaColumns: [],
@@ -324,10 +345,11 @@
uploadedSocialSecurityImages: [],
storeFrontImages: [],
idCardImages: [],
- businessImages: [],
permitImages: [],
laborContractImages: [],
- socialSecurityImages: []
+ socialSecurityImages: [],
+ linkPhoneTimer: null,
+ idcardTimer: null
}
},
onLoad() {
@@ -336,6 +358,18 @@
this.getMyShopData()
},
methods: {
+ handleLinkPhoneInput(e) {
+ if (this.linkPhoneTimer) clearTimeout(this.linkPhoneTimer)
+ this.linkPhoneTimer = setTimeout(() => {
+ this.form.linkPhone = e.detail.value
+ }, 100)
+ },
+ handleIdcardInput(e) {
+ if (this.idcardTimer) clearTimeout(this.idcardTimer)
+ this.idcardTimer = setTimeout(() => {
+ this.form.idcard = e.detail.value
+ }, 100)
+ },
goToStep2() {
if (!this.form.name) {
uni.showToast({ title: '璇疯緭鍏ラ棬搴楀悕绉�', icon: 'none' })
@@ -357,8 +391,17 @@
uni.showToast({ title: '璇疯緭鍏ヨ仈绯讳汉鐢佃瘽', icon: 'none' })
return
}
+ const mobileRegex = /^1\d{10}$/
+ if (!mobileRegex.test(this.form.linkPhone)) {
+ uni.showToast({ title: '璇疯緭鍏ユ纭殑鎵嬫満鍙�', icon: 'none' })
+ return
+ }
if (!this.form.idcard) {
uni.showToast({ title: '璇疯緭鍏ヨ仈绯讳汉韬唤璇佸彿', icon: 'none' })
+ return
+ }
+ if (this.form.idcard.length !== 18) {
+ uni.showToast({ title: '璇疯緭鍏�18浣嶈韩浠借瘉鍙�', icon: 'none' })
return
}
if (!this.form.storeFrontImgs || this.form.storeFrontImgs.length === 0) {
@@ -366,15 +409,16 @@
return
}
if (!this.form.storeInteriorImgs || this.form.storeInteriorImgs.length === 0) {
- uni.showToast({ title: '璇蜂笂浼犻棬搴楀唴閮ㄦ嫑鐗�', icon: 'none' })
+ uni.showToast({ title: '璇蜂笂浼犻棬搴楀唴閮ㄧ収鐗�', icon: 'none' })
return
}
this.currentStep = 2
},
- switchQualification(type) {
- this.qualificationType = type
- this.form.companyType = type === 'personal' ? 0 : 1
- },
+ goToService(type) {
+ uni.navigateTo({
+ url: '/pages/rich-text/rich-text?type='+type
+ })
+ },
async submitApply() {
if (this.form.companyType === 0) {
if (!this.form.idcardImg) {
@@ -406,6 +450,16 @@
uni.showToast({ title: '璇疯緭鍏ユ硶浜哄鍚�', icon: 'none' })
return
}
+ if (!this.form.legalPersonPhone) {
+ uni.showToast({ title: '璇疯緭鍏ユ硶浜烘墜鏈哄彿', icon: 'none' })
+ return
+ }
+ const mobileRegex = /^1\d{10}$/
+ const landlineRegex = /^\d{3,4}-?\d{7,8}$/
+ if (!mobileRegex.test(this.form.legalPersonPhone) && !landlineRegex.test(this.form.legalPersonPhone)) {
+ uni.showToast({ title: '璇疯緭鍏ユ纭殑鎵嬫満鍙锋垨鍥哄畾鐢佃瘽', icon: 'none' })
+ return
+ }
if (!this.form.aliAccount) {
uni.showToast({ title: '璇疯緭鍏ヤ紒涓氭敮浠樺疂璐﹀彿', icon: 'none' })
return
@@ -415,10 +469,18 @@
return
}
if (!this.form.legalPersonCard) {
+ uni.showToast({ title: '璇疯緭鍏ユ硶浜鸿韩浠借瘉鍙�', icon: 'none' })
+ return
+ }
+ if (!/^\d{18}$/.test(this.form.legalPersonCard)) {
+ uni.showToast({ title: '璇疯緭鍏�18浣嶈韩浠借瘉鍙�', icon: 'none' })
+ return
+ }
+ if (!this.form.idcardImg) {
uni.showToast({ title: '璇蜂笂浼犳硶浜鸿韩浠借瘉浜哄儚闈�', icon: 'none' })
return
}
- if (!this.form.legalPersonCardBack) {
+ if (!this.form.idcardImgBack) {
uni.showToast({ title: '璇蜂笂浼犳硶浜鸿韩浠借瘉鍥藉窘闈�', icon: 'none' })
return
}
@@ -426,6 +488,10 @@
uni.showToast({ title: '璇蜂笂浼犺惀涓氭墽鐓�', icon: 'none' })
return
}
+ }
+ if (!this.agreed) {
+ uni.showToast({ title: '璇峰厛闃呰骞跺悓鎰忓崗璁�', icon: 'none' })
+ return
}
uni.showLoading({ title: '鎻愪氦涓�...', mask: true })
try {
@@ -436,7 +502,7 @@
setTimeout(() => {
uni.navigateBack()
}, 1500)
- } else {
+ }else {
uni.showToast({ title: res.msg || '鎻愪氦澶辫触', icon: 'none' })
}
} catch (error) {
@@ -468,7 +534,10 @@
this.form.telephone = data.telephone || this.userInfo.telephone || ''
this.form.legalPersonName = data.legalPersonName || ''
this.form.legalPersonPhone = data.legalPersonPhone || ''
- this.qualificationType = data.companyType === 0 ? 'personal' : 'company'
+ this.businessImgUrl=data.businessImgUrl||''
+ this.idcardImgUrl=data.idcardImgUrl||''
+ this.idcardImgBackUrl=data.idcardImgBackUrl||''
+ this.qualificationType = data.companyType === 'personal' ? 'personal' : 'company'
if (data.storeFrontImgs) {
this.storeFrontImages = data.storeFrontImgUrls
this.uploadedImagesStoreFront = data.storeFrontImgUrls.map(url => ({ url }))
@@ -497,11 +566,7 @@
this.form.socialSecurityImgs = data.socialSecurityImgs
}
this.form.legalPersonCard = data.legalPersonCard || ''
- this.form.legalPersonCardBack = data.legalPersonCardBack || ''
this.form.businessImg = data.businessImg || ''
- if (data.businessImg) {
- this.businessImages = [data.businessImgUrl]
- }
}
} catch (error) {
console.log('鑾峰彇搴楅摵淇℃伅澶辫触', error)
@@ -537,7 +602,9 @@
},
confirmArea(e) {
this.form.areaId = e.value[e.value.length - 1].id
- this.form.areaName = e.value[0].text + '/' + e.value[1].text + '/' + e.value[2].text
+ this.form.provinceName = e.value[0].text
+ this.form.cityName = e.value[1].text
+ this.form.areaName = e.value[2].text
this.showAreaPicker = false
},
chooseAddress() {
@@ -650,7 +717,7 @@
const fullPaths = uploadResults.map(item => item.url || item.path || item)
this.uploadedImagesStoreFront = [...this.uploadedImagesStoreFront, ...fullPaths.map(url => ({ url }))]
this.storeFrontImages = [...this.storeFrontImages, ...fullPaths]
- this.form.storeFrontImgs = this.storeFrontImages.map(url => this.getShortPath(url))
+ this.form.storeFrontImgs= [...this.form.storeFrontImgs, ...uploadResults.map(item => item.imgaddr)]
uni.hideLoading()
uni.showToast({
title: '涓婁紶鎴愬姛',
@@ -668,7 +735,7 @@
this.form.storeInteriorImgs = this.idCardImages.map(url => this.getShortPath(url))
},
async chooseIdCardImage() {
- const maxCount = 2
+ const maxCount = 3
const currentCount = this.idCardImages.length
const remainingCount = maxCount - currentCount
if (remainingCount <= 0) {
@@ -693,7 +760,7 @@
const fullPaths = uploadResults.map(item => item.url || item.path || item)
this.uploadedImagesIdCard = [...this.uploadedImagesIdCard, ...fullPaths.map(url => ({ url }))]
this.idCardImages = [...this.idCardImages, ...fullPaths]
- this.form.storeInteriorImgs = this.idCardImages.map(url => this.getShortPath(url))
+ this.form.storeInteriorImgs= [...this.form.storeInteriorImgs, ...uploadResults.map(item => item.imgaddr)]
uni.hideLoading()
uni.showToast({
title: '涓婁紶鎴愬姛',
@@ -711,18 +778,8 @@
this.form.businessImg = this.businessImages.map(url => this.getShortPath(url)).join(',')
},
async chooseBusinessImage() {
- const maxCount = 3
- const currentCount = this.businessImages.length
- const remainingCount = maxCount - currentCount
- if (remainingCount <= 0) {
- uni.showToast({
- title: `鏈�澶氫笂浼�${maxCount}寮犲浘鐗嘸,
- icon: 'none'
- })
- return
- }
uni.chooseImage({
- count: remainingCount,
+ count: 1,
sizeType: ['compressed'],
sourceType: ['album', 'camera'],
success: async (res) => {
@@ -732,11 +789,10 @@
mask: true
})
try {
- const uploadResults = await this.uploadFiles(tempFilePaths, maxCount)
- const fullPaths = uploadResults.map(item => item.url || item.path || item)
- this.uploadedImagesBusiness = [...this.uploadedImagesBusiness, ...fullPaths.map(url => ({ url }))]
- this.businessImages = [...this.businessImages, ...fullPaths]
- this.form.businessImg = this.businessImages.map(url => this.getShortPath(url)).join(',')
+ const uploadResults = await this.uploadFiles(tempFilePaths, 1)
+ this.form.businessImg = uploadResults[0].imgaddr
+ this.businessImgUrl = uploadResults[0].url
+ console.log("=======================",this.businessImgUrl)
uni.hideLoading()
uni.showToast({
title: '涓婁紶鎴愬姛',
@@ -779,7 +835,7 @@
const fullPaths = uploadResults.map(item => item.url || item.path || item)
this.uploadedImagesPermit = [...this.uploadedImagesPermit, ...fullPaths.map(url => ({ url }))]
this.permitImages = [...this.permitImages, ...fullPaths]
- this.form.otherMaterialImgs = this.permitImages.map(url => this.getShortPath(url))
+ this.form.otherMaterialImgs= [...this.form.otherMaterialImgs, ...uploadResults.map(item => item.imgaddr)]
uni.hideLoading()
uni.showToast({
title: '涓婁紶鎴愬姛',
@@ -801,7 +857,8 @@
uni.showLoading({ title: '涓婁紶涓�...', mask: true })
try {
const uploadResults = await this.uploadFiles(tempFilePaths, 1)
- this.form.idcardImg = this.getShortPath(uploadResults[0].url || uploadResults[0].path || uploadResults[0])
+ this.form.idcardImg = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]
+ this.idcardImgUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]
uni.hideLoading()
uni.showToast({ title: '涓婁紶鎴愬姛', icon: 'success' })
} catch (error) {
@@ -820,7 +877,8 @@
uni.showLoading({ title: '涓婁紶涓�...', mask: true })
try {
const uploadResults = await this.uploadFiles(tempFilePaths, 1)
- this.form.idcardImgBack = this.getShortPath(uploadResults[0].url || uploadResults[0].path || uploadResults[0])
+ this.form.idcardImgBack = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]
+ this.idcardImgBackUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]
uni.hideLoading()
uni.showToast({ title: '涓婁紶鎴愬姛', icon: 'success' })
} catch (error) {
@@ -839,7 +897,8 @@
uni.showLoading({ title: '涓婁紶涓�...', mask: true })
try {
const uploadResults = await this.uploadFiles(tempFilePaths, 1)
- this.form.legalPersonCard = this.getShortPath(uploadResults[0].url || uploadResults[0].path || uploadResults[0])
+ this.form.idcardImg = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]
+ this.idcardImgUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]
uni.hideLoading()
uni.showToast({ title: '涓婁紶鎴愬姛', icon: 'success' })
} catch (error) {
@@ -858,7 +917,8 @@
uni.showLoading({ title: '涓婁紶涓�...', mask: true })
try {
const uploadResults = await this.uploadFiles(tempFilePaths, 1)
- this.form.legalPersonCardBack = this.getShortPath(uploadResults[0].url || uploadResults[0].path || uploadResults[0])
+ this.form.idcardImgBack = uploadResults[0].imgaddr || uploadResults[0].path || uploadResults[0]
+ this.idcardImgBackUrl = uploadResults[0].url || uploadResults[0].path || uploadResults[0]
uni.hideLoading()
uni.showToast({ title: '涓婁紶鎴愬姛', icon: 'success' })
} catch (error) {
@@ -892,7 +952,7 @@
const fullPaths = uploadResults.map(item => item.url || item.path || item)
this.uploadedLaborContractImages = [...this.uploadedLaborContractImages, ...fullPaths.map(url => ({ url }))]
this.laborContractImages = [...this.laborContractImages, ...fullPaths]
- this.form.laborContractImgs = this.laborContractImages.map(url => this.getShortPath(url))
+ this.form.laborContractImgs= [...this.form.laborContractImgs, ...uploadResults.map(item => item.imgaddr)]
uni.hideLoading()
uni.showToast({ title: '涓婁紶鎴愬姛', icon: 'success' })
} catch (error) {
@@ -940,7 +1000,7 @@
const fullPaths = uploadResults.map(item => item.url || item.path || item)
this.uploadedSocialSecurityImages = [...this.uploadedSocialSecurityImages, ...fullPaths.map(url => ({ url }))]
this.socialSecurityImages = [...this.socialSecurityImages, ...fullPaths]
- this.form.socialSecurityImgs = this.socialSecurityImages.map(url => this.getShortPath(url))
+ this.form.socialSecurityImgs= [...this.form.socialSecurityImgs, ...uploadResults.map(item => item.imgaddr)]
uni.hideLoading()
uni.showToast({ title: '涓婁紶鎴愬姛', icon: 'success' })
} catch (error) {
@@ -995,24 +1055,46 @@
.process-step.active {
color: #222222;
+ font-weight: 600;
+ }
+
+ .process-step.done {
+ color: #10B2FA;
}
.step-dot {
- width: 26rpx;
- height: 26rpx;
+ width: 50rpx;
+ height: 50rpx;
border-radius: 50%;
- background: #16b0fa;
+ background: #afe4fe;
margin-bottom: 14rpx;
- border: 5rpx solid #a2e2ff;
- }
-
- .step-index {
- background: #b9bdc6;
- font-size: 18rpx;
- color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
+ box-sizing: border-box;
+
+ &__inner {
+ width: 26rpx;
+ height: 26rpx;
+ border-radius: 50%;
+ background: #13b2fc;
+ box-sizing: border-box;
+ }
+
+ &__index {
+ font-size: 30rpx;
+ font-weight: 400;
+ color: #ffffff;
+ line-height: 1;
+ }
+
+ &--inactive {
+ background: #8C939F;
+ }
+
+ &--done {
+ background: #10B2FA;
+ }
}
.process-line {
@@ -1100,7 +1182,6 @@
.text-input,
.select-row {
- height: 54rpx;
margin-top: 14rpx;
font-weight: 400;
font-size: 30rpx;
@@ -1285,7 +1366,33 @@
color: #666666;
margin-top: 12rpx;
}
+.agreement-row {
+ margin-top: 60rpx;
+ display: flex;
+ align-items: flex-start;
+ }
+ .agree-icon {
+ width: 34rpx;
+ height: 34rpx;
+ margin-top: 4rpx;
+ flex-shrink: 0;
+ }
+
+ .agreement-text-wrap {
+ margin-left: 14rpx;
+ flex: 1;
+ font-size: 24rpx;
+ line-height: 1.8;
+ }
+
+ .agreement-text {
+ color: #555555;
+ }
+
+ .agreement-link {
+ color: #2E68C4;
+ }
.preview-image {
width: 100%;
height: 100%;
--
Gitblit v1.9.3