This commit is contained in:
李志鹏
2026-05-11 10:01:18 +08:00
parent b2c6c61515
commit 6fd1212298
5 changed files with 27 additions and 5 deletions

View File

@@ -318,7 +318,7 @@
</div>
</div>
<div class="homeMain_user">
<div class="homeMain_user_icon" @click="openAccount">
<div class="homeMain_user_icon">
<img :src="userDetail.avatar" alt="" />
</div>
<div class="homeMain_user_detail">
@@ -373,6 +373,10 @@
<i class="fi fi-rs-notebook"></i>
<span class="select_item_des">{{ $t('Header.ViewOrders') }}</span>
</div>
<div class="select_item" @click="openAccount">
<span class="icon"><svg-icon name="home" /></span>
<span class="select_item_des">{{ $t('Header.PersonalCenter') }}</span>
</div>
<div class="select_item" @click="onBecomeSeller" v-if="!isSeller">
<span class="icon"><svg-icon name="seller-sellerIndex" /></span>
<span class="select_item_des">{{ $t('Header.BecomeSeller') }}</span>

View File

@@ -2,7 +2,10 @@
<div class="seller-review">
<img class="success" src="@/assets/images/seller/success-1.png" />
<div class="title">{{ $t("ApplySeller.applicationSubmitted") }}</div>
<div class="tip">{{ $t("ApplySeller.applicationSubmittedTip") }}</div>
<div
class="tip"
v-html="$t('ApplySeller.applicationSubmittedTip', { click: 'onPersonalCenter' })"
></div>
<div class="step-list">
<div v-for="v in list" :key="v.title" class="step-item">
<img v-show="!v.active" src="@/assets/images/seller/success-0.png" />
@@ -13,7 +16,9 @@
</div>
</div>
</div>
<button class="home-btn" @click="onBackToHome">{{ $t("ApplySeller.backToHomepage") }}</button>
<button class="home-btn" @click="onBackToHome">
{{ $t("ApplySeller.backToHomepage") }}
</button>
<div class="tip">ID: {{ userId }}</div>
</div>
</template>
@@ -51,6 +56,9 @@
const onBackToHome = () => {
router.push({ name: "home" })
}
window.onPersonalCenter = () => {
router.push("/home/account")
}
</script>
<style scoped lang="less">
.seller-review {
@@ -80,6 +88,11 @@
line-height: 170%;
text-align: center;
color: #585858;
&:deep(span) {
cursor: pointer;
color: #1a1a1a;
text-decoration: underline;
}
}
> .step-list {
margin: 2.6rem 0;