This commit is contained in:
parent
2e13ec14aa
commit
ce03c0de2b
|
|
@ -4,7 +4,7 @@
|
|||
<custom-navbar :title="navTitle" :showBack="true"></custom-navbar>
|
||||
|
||||
<!-- 步骤切换 -->
|
||||
<step-tab v-if="currentStep !== 2" :mappedStep="mappedStep"></step-tab>
|
||||
<step-tab v-if="currentStep !== 2 && currentStep !== 4" :mappedStep="mappedStep"></step-tab>
|
||||
|
||||
<!-- 内容区域根据身份和步骤显示不同内容 -->
|
||||
<view class="content">
|
||||
|
|
@ -23,6 +23,10 @@
|
|||
<view v-else-if="currentStep === 3">
|
||||
<store-info ref="storeInfo"></store-info>
|
||||
</view>
|
||||
|
||||
<view v-else-if="currentStep === 4">
|
||||
<successruzhu :data="successData"></successruzhu>
|
||||
</view>
|
||||
</view>
|
||||
<view class="kong"></view>
|
||||
|
||||
|
|
@ -77,6 +81,15 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 步骤4: 资质认证成功 -->
|
||||
<view v-else-if="currentStep === 4" class="step-2-buttons">
|
||||
<view class="button-row">
|
||||
<view class="showziliao" @click="topt">
|
||||
<text class="showziliaotext">进入平台</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -97,7 +110,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
currentStep: 3, // 当前步骤索引
|
||||
currentStep: 4, // 当前步骤索引
|
||||
isAgree: false,
|
||||
identity: null,
|
||||
textData: {},
|
||||
|
|
@ -119,6 +132,7 @@ export default {
|
|||
if (this.currentStep === 0) return 0;
|
||||
if (this.currentStep === 1) return 1;
|
||||
if (this.currentStep === 3) return 2;
|
||||
if (this.currentStep === 4) return 2;
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
|
|
@ -542,13 +556,14 @@ export default {
|
|||
const res = await request.post('/sj/userSjAuth/apply', formData);
|
||||
uni.hideLoading();
|
||||
if (res.state == 1 || res.code == 200) {
|
||||
this.successData = res.data ? (res.data.customer_service || {}) : {};
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
icon: 'none'
|
||||
});
|
||||
uni.navigateTo({
|
||||
url: '/pages/shop/qualification_sj_change'
|
||||
})
|
||||
setTimeout(() => {
|
||||
this.currentStep = 4;
|
||||
}, 1500);
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.msg || '提交失败了',
|
||||
|
|
@ -770,5 +785,22 @@ export default {
|
|||
color: #ffffff;
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
}
|
||||
.showziliao{
|
||||
width: 690rpx;
|
||||
height: 98rpx;
|
||||
background: #FF4767;
|
||||
border-radius: 49rpx;
|
||||
}
|
||||
.showziliaotext{
|
||||
height: 40rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 500;
|
||||
font-size: 32rpx;
|
||||
color: #FFFFFF;
|
||||
line-height: 80rpx;
|
||||
font-style: normal;
|
||||
margin: 0 0 0 281rpx;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<view class="pages">
|
||||
<custom-navbar :title="infoData.notice" :showBack="true"></custom-navbar>
|
||||
<view class="title-icon">{{infoData.top}}</view>
|
||||
<view class="title-content">{{infoData.title}}</view>
|
||||
<custom-navbar :title="infoData.top" :showBack="true"></custom-navbar>
|
||||
<view class="title-icon">{{infoData.title}}</view>
|
||||
<view class="title-content">{{infoData.notice}}</view>
|
||||
<view class="erweimabox">
|
||||
<view class="erweimab">
|
||||
<image :src="infoData.photo" mode="widthFix"
|
||||
|
|
|
|||
Loading…
Reference in New Issue