79 lines
1.9 KiB
Vue
79 lines
1.9 KiB
Vue
|
|
<template>
|
||
|
|
<div class="status-wrapper flex flex-col flex-1">
|
||
|
|
<seller-header
|
||
|
|
class="edit-detail-header"
|
||
|
|
title="Edit Listing Details"
|
||
|
|
:breadcrumbs="[
|
||
|
|
{ title: 'My Listings', name: 'myListingsIndex' },
|
||
|
|
{ title: 'Select Collection', name: 'myListingsSelect' },
|
||
|
|
{ title: 'Select Sketch', name: 'myListingsSelectItem' },
|
||
|
|
{ title: 'Edit Listing Details', name: 'EditDetail' },
|
||
|
|
{ title: $t(title), name: 'Status' }
|
||
|
|
]"
|
||
|
|
/>
|
||
|
|
<div class="status-container flex flex-col flex-1 flex-center">
|
||
|
|
<img src="@/assets/images/seller/success-0.png" class="icon" alt="" />
|
||
|
|
<div class="title">{{ $t(title) }}</div>
|
||
|
|
<div class="desc">
|
||
|
|
{{ $t(desc) }}
|
||
|
|
</div>
|
||
|
|
<div class="btn">Back to My Listings</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
import { ref, computed } from "vue"
|
||
|
|
import { useRoute } from "vue-router"
|
||
|
|
import SellerHeader from "../../seller-header.vue"
|
||
|
|
const ROUTE = useRoute()
|
||
|
|
const title = computed(() => {
|
||
|
|
if (ROUTE.params.status === "publish") return "SellerListEdit.listingLive"
|
||
|
|
if (ROUTE.params.status === "draft") return "SellerListEdit.draftSaved"
|
||
|
|
})
|
||
|
|
|
||
|
|
const desc = computed(() => {
|
||
|
|
if (ROUTE.params.status === "publish") return "SellerListEdit.publishDesc"
|
||
|
|
if (ROUTE.params.status === "draft") return "SellerListEdit.draftDesc"
|
||
|
|
})
|
||
|
|
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="less" scoped>
|
||
|
|
.status-wrapper {
|
||
|
|
.status-container {
|
||
|
|
row-gap: 2.4rem;
|
||
|
|
font-weight: 400;
|
||
|
|
.title {
|
||
|
|
font-size: 2.2rem;
|
||
|
|
}
|
||
|
|
.icon {
|
||
|
|
width: 8.33rem;
|
||
|
|
height: 8.33rem;
|
||
|
|
}
|
||
|
|
.desc {
|
||
|
|
width: 58.2rem;
|
||
|
|
text-align: center;
|
||
|
|
white-space: pre-line;
|
||
|
|
color: #585858;
|
||
|
|
font-size: 1.8rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn {
|
||
|
|
margin-top: 3.6rem;
|
||
|
|
height: 6rem;
|
||
|
|
width: 30rem;
|
||
|
|
border-radius: 4rem;
|
||
|
|
text-align: center;
|
||
|
|
line-height: 6rem;
|
||
|
|
padding: 0 2rem;
|
||
|
|
font-size: 1.6rem;
|
||
|
|
column-gap: 0.8rem;
|
||
|
|
cursor: pointer;
|
||
|
|
background-color: #000;
|
||
|
|
color: #fff;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|