卖家端申请接口。人口
This commit is contained in:
@@ -23,23 +23,27 @@
|
||||
<script setup>
|
||||
import { ref, computed } from "vue"
|
||||
import { useRoute, useRouter } from "vue-router"
|
||||
import { useStore } from "vuex"
|
||||
import { ApplyStatus } from "@/store/seller/index.d"
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const list = ref([
|
||||
const store = useStore()
|
||||
const applyStatus = computed(() => store.state.seller.applyStatus)
|
||||
const list = computed(() => [
|
||||
{
|
||||
title: "Step 1: Submit Application",
|
||||
tip: "Fill out the seller information form and agree to our terms",
|
||||
active: true
|
||||
active: [ApplyStatus.Pending, ApplyStatus.Approved].includes(applyStatus.value)
|
||||
},
|
||||
{
|
||||
title: "Step 2: Review & Verification",
|
||||
tip: "Our team will review your application (typically 1-3 business days)",
|
||||
active: false
|
||||
active: applyStatus.value === ApplyStatus.Approved
|
||||
},
|
||||
{
|
||||
title: "Step 3: Start Selling",
|
||||
tip: "Once approved, access your seller dashboard and start listing products ",
|
||||
active: false
|
||||
active: applyStatus.value === ApplyStatus.Approved
|
||||
}
|
||||
])
|
||||
const onBackToHome = () => {
|
||||
|
||||
Reference in New Issue
Block a user