Initial commit

This commit is contained in:
2025-08-04 16:33:07 +03:30
commit f798e8e35c
9595 changed files with 1208683 additions and 0 deletions

View File

@@ -0,0 +1,290 @@
<script setup>
const props = defineProps({
currentStep: {
type: Number,
required: false,
},
checkoutData: {
type: null,
required: true,
},
})
const emit = defineEmits([
'update:currentStep',
'update:checkout-data',
])
const checkoutAddressDataLocal = ref(JSON.parse(JSON.stringify(props.checkoutData)))
const isEditAddressDialogVisible = ref(false)
watch(() => props.checkoutData, value => {
checkoutAddressDataLocal.value = JSON.parse(JSON.stringify(value))
})
const deliveryOptions = [
{
icon: { icon: 'tabler-user' },
title: 'Standard',
desc: 'Get your product in 1 Week.',
value: 'free',
},
{
icon: { icon: 'tabler-star' },
title: 'Express',
desc: 'Get your product in 4 days.',
value: 'express',
},
{
icon: { icon: 'tabler-crown' },
title: 'Overnight',
desc: 'Get your product in 1 day.',
value: 'overnight',
},
]
const resolveAddressBadgeColor = {
home: 'primary',
office: 'success',
}
const resolveDeliveryBadgeData = {
free: {
color: 'success',
price: 0,
text: 'Free',
},
express: {
color: 'secondary',
price: 10,
text: '$10',
},
overnight: {
color: 'secondary',
price: 15,
text: '$15',
},
}
const totalPriceWithDeliveryCharges = computed(() => {
let deliveryCharges = 0
if (checkoutAddressDataLocal.value.deliverySpeed !== 'free')
deliveryCharges = resolveDeliveryBadgeData[checkoutAddressDataLocal.value.deliverySpeed].price
return checkoutAddressDataLocal.value.orderAmount + deliveryCharges
})
const updateAddressData = () => {
checkoutAddressDataLocal.value.deliveryCharges = resolveDeliveryBadgeData[checkoutAddressDataLocal.value.deliverySpeed].price
emit('update:checkout-data', checkoutAddressDataLocal.value)
}
const nextStep = () => {
updateAddressData()
emit('update:currentStep', props.currentStep ? props.currentStep + 1 : 1)
}
watch(() => props.currentStep, updateAddressData)
</script>
<template>
<VRow>
<VCol
cols="12"
md="8"
>
<!-- 👉 Address options -->
<h6 class="text-h6 mb-4">
Select your preferable address
</h6>
<!-- 👉 Address custom input -->
<CustomRadios
v-model:selected-radio="checkoutAddressDataLocal.deliveryAddress"
:radio-content="checkoutAddressDataLocal.addresses"
:grid-column="{ cols: '12', sm: '6' }"
>
<template #default="{ item }">
<div class="w-100">
<div class="d-flex justify-space-between mb-3">
<h6 class="text-base font-weight-medium">
{{ item.title }}
</h6>
<VChip
:color="resolveAddressBadgeColor[item.value]"
label
size="small"
class="text-capitalize"
>
{{ item.value }}
</VChip>
</div>
<p class="mb-0 text-sm">
{{ item.desc }}
</p>
<p class="text-sm mb-3">
Mobile: {{ item.subtitle }}
</p>
<VDivider />
<div class="pt-2">
<a
href="#"
class="me-4"
>Edit</a>
<a href="#">Remove</a>
</div>
</div>
</template>
</CustomRadios>
<!-- 👉 Add New Address -->
<VBtn
variant="tonal"
class="mt-4 mb-6"
@click="isEditAddressDialogVisible = !isEditAddressDialogVisible"
>
Add New Address
</VBtn>
<!-- 👉 Delivery options -->
<h6 class="text-h6 mb-4">
Choose Delivery Speed
</h6>
<!-- 👉 Delivery options custom input -->
<CustomRadiosWithIcon
v-model:selected-radio="checkoutAddressDataLocal.deliverySpeed"
:radio-content="deliveryOptions"
:grid-column="{ cols: '12', sm: '4' }"
>
<template #default="{ item }">
<div class="d-flex flex-column align-center gap-2 w-100">
<div class="d-flex justify-end w-100 mb-n3">
<VChip
:color="resolveDeliveryBadgeData[item.value].color"
size="small"
label
>
{{ resolveDeliveryBadgeData[item.value].text }}
</VChip>
</div>
<VIcon
v-bind="item.icon"
size="28"
/>
<h6 class="text-h6">
{{ item.title }}
</h6>
<p class="text-sm text-center mb-0">
{{ item.desc }}
</p>
</div>
</template>
</CustomRadiosWithIcon>
</VCol>
<VCol
cols="12"
md="4"
>
<VCard
flat
variant="outlined"
>
<!-- 👉 Delivery estimate date -->
<VCardText>
<h6 class="text-h6 mb-4">
Estimated Delivery Date
</h6>
<VList class="card-list">
<VListItem
v-for="product in checkoutAddressDataLocal.cartItems"
:key="product.name"
>
<template #prepend>
<img
height="70"
width="60"
:src="product.image"
class="me-4"
>
</template>
<div class="text-body-1">
{{ product.name }}
</div>
<h6 class="text-h6 text-medium-emphasis">
{{ product.estimatedDelivery }}
</h6>
</VListItem>
</VList>
</VCardText>
<VDivider />
<!-- 👉 Price details -->
<VCardText>
<h6 class="text-h6 mb-4">
Price Details
</h6>
<div class="d-flex align-center justify-space-between mb-2">
<span class="text-high-emphasis">Order Total</span>
<span>${{ checkoutAddressDataLocal.orderAmount }}</span>
</div>
<div class="d-flex align-center justify-space-between">
<span class="text-high-emphasis">Delivery Charges</span>
<div class="text-end">
<div
v-if="checkoutAddressDataLocal.deliverySpeed === 'free'"
class="d-flex align-center"
>
<div class="text-decoration-line-through text-disabled me-2">
$5.00
</div>
<VChip
size="small"
color="success"
>
FREE
</VChip>
</div>
<span v-else>${{ resolveDeliveryBadgeData[checkoutAddressDataLocal.deliverySpeed ].price }}.00</span>
</div>
</div>
</VCardText>
<VDivider />
<VCardText class="d-flex align-center justify-space-between text-high-emphasis">
<span class="text-base font-weight-medium">Total</span>
<span class="text-base font-weight-medium">
${{ totalPriceWithDeliveryCharges }}
</span>
</VCardText>
</VCard>
<VBtn
block
class="mt-4"
@click="nextStep"
>
Place Order
</VBtn>
</VCol>
</VRow>
<AddEditAddressDialog v-model:is-dialog-visible="isEditAddressDialogVisible" />
</template>
<style lang="scss" scoped>
.card-list {
--v-card-list-gap: 1rem;
}
</style>

View File

@@ -0,0 +1,304 @@
<script setup>
import emptyCartImg from '@images/pages/empty-cart.png'
const props = defineProps({
currentStep: {
type: Number,
required: false,
},
checkoutData: {
type: null,
required: true,
},
})
const emit = defineEmits([
'update:currentStep',
'update:checkout-data',
])
const checkoutCartDataLocal = ref(props.checkoutData)
const removeItem = item => {
checkoutCartDataLocal.value.cartItems = checkoutCartDataLocal.value.cartItems.filter(i => i.id !== item.id)
}
const totalCost = computed(() => {
return checkoutCartDataLocal.value.cartItems.reduce((acc, item) => {
return acc + item.price * item.quantity
}, 0)
})
const updateCartData = () => {
checkoutCartDataLocal.value.orderAmount = totalCost.value
emit('update:checkout-data', checkoutCartDataLocal.value)
}
const nextStep = () => {
updateCartData()
emit('update:currentStep', props.currentStep ? props.currentStep + 1 : 1)
}
watch(() => props.currentStep, updateCartData)
</script>
<template>
<VRow v-if="checkoutCartDataLocal">
<VCol
cols="12"
lg="8"
>
<!-- 👉 Offers alert -->
<VAlert
type="success"
variant="tonal"
icon="tabler-percentage"
title="Available Offer"
closable
>
<template #text>
<p class="mb-0">
- 0% Instant Discount on Bank of America Corp Bank Debit and Credit cards
<br>
- 50% Cashback Voucher of up to $60 on first ever PayPal transaction. TCA
</p>
</template>
</VAlert>
<h5 class="text-h5 my-4">
My Shopping Bag ({{ checkoutCartDataLocal.cartItems.length }} Items)
</h5>
<!-- 👉 Cart items -->
<div
v-if="checkoutCartDataLocal.cartItems.length"
class="border rounded"
>
<template
v-for="(item, index) in checkoutCartDataLocal.cartItems"
:key="item.name"
>
<div
class="d-flex align-center gap-4 pa-6 position-relative flex-column flex-sm-row"
:class="index ? 'border-t' : ''"
>
<IconBtn
class="checkout-item-remove-btn"
@click="removeItem(item)"
>
<VIcon
size="18"
icon="tabler-x"
class="text-disabled"
/>
</IconBtn>
<div>
<VImg
width="140"
:src="item.image"
/>
</div>
<div class="d-flex w-100 flex-column flex-md-row">
<div class="d-flex flex-column gap-y-2">
<h6 class="text-h6">
{{ item.name }}
</h6>
<div class="d-flex align-center text-no-wrap gap-4 text-body-1">
<div class="text-disabled">
Sold by:
<span class="d-inline-block text-primary"> {{ item.seller }}</span>
</div>
<VChip
:color="item.inStock ? 'success' : 'error'"
label
size="small"
>
{{ item.inStock ? 'In Stock' : 'Out of Stock' }}
</VChip>
</div>
<VRating
density="compact"
:model-value="item.rating"
size="24"
readonly
/>
<AppTextField
v-model="item.quantity"
type="number"
style="inline-size: 9.375rem;"
density="compact"
/>
</div>
<VSpacer />
<div
class="d-flex flex-column mt-5 text-start text-md-end"
:class="$vuetify.display.mdAndDown ? 'gap-2' : 'gap-4'"
>
<div class="d-flex text-base align-self-md-end">
<div class="text-primary">
${{ item.price }}
</div>
<div>/</div>
<div class="text-decoration-line-through">
${{ item.discountPrice }}
</div>
</div>
<div>
<VBtn
variant="tonal"
size="small"
>
move to wishlist
</VBtn>
</div>
</div>
</div>
</div>
</template>
</div>
<!-- 👉 Empty Cart -->
<div v-else>
<VImg :src="emptyCartImg" />
</div>
<!-- 👉 Add more from wishlist -->
<div
class="d-flex align-center justify-space-between rounded py-2 px-5 text-base mt-4"
style="border: 1px solid rgb(var(--v-theme-primary));"
>
<a
href="#"
class="font-weight-medium"
>Add more products from wishlist</a>
<VIcon
icon="tabler-arrow-right"
size="16"
class="flip-in-rtl text-primary"
/>
</div>
</VCol>
<VCol
cols="12"
lg="4"
>
<VCard
flat
variant="outlined"
>
<!-- 👉 payment offer -->
<VCardText>
<h6 class="text-h6 mb-4">
Offer
</h6>
<div class="d-flex align-center gap-4 flex-wrap">
<AppTextField
v-model="checkoutCartDataLocal.promoCode"
placeholder="Enter Promo Code"
style="min-inline-size: 200px;"
/>
<VBtn
variant="tonal"
@click="updateCartData"
>
Apply
</VBtn>
</div>
<!-- 👉 Gift wrap banner -->
<div class="bg-var-theme-background rounded pa-6 mt-4">
<h6 class="text-h6 mb-2">
Buying gift for a loved one?
</h6>
<p class="mb-2">
Gift wrap and personalized message on card, Only for $2.
</p>
<h6 class="text-h6">
<a href="#">Add a gift wrap</a>
</h6>
</div>
</VCardText>
<VDivider />
<!-- 👉 Price details -->
<VCardText>
<h6 class="text-h6 mb-4">
Price Details
</h6>
<div class="text-high-emphasis">
<div class="d-flex justify-space-between mb-2">
<span>Bag Total</span>
<span class="text-medium-emphasis">${{ totalCost }}.00</span>
</div>
<div class="d-flex justify-space-between mb-2">
<span>Coupon Discount</span>
<a href="#">Apply Coupon</a>
</div>
<div class="d-flex justify-space-between mb-2">
<span>Order Total</span>
<span class="text-medium-emphasis">${{ totalCost }}.00</span>
</div>
<div class="d-flex justify-space-between">
<span>Delivery Charges</span>
<div class="d-flex align-center">
<div class="text-decoration-line-through text-disabled me-2">
$5.00
</div>
<VChip
size="small"
color="success"
>
FREE
</VChip>
</div>
</div>
</div>
</VCardText>
<VDivider />
<VCardText class="d-flex justify-space-between pa-6">
<h6 class="text-h6">
Total
</h6>
<h6 class="text-h6">
${{ totalCost }}.00
</h6>
</VCardText>
</VCard>
<VBtn
block
class="mt-4"
@click="nextStep"
>
Place Order
</VBtn>
</VCol>
</VRow>
</template>
<style lang="scss" scoped>
.checkout-item-remove-btn {
position: absolute;
inset-block-start: 14px;
inset-inline-end: 14px;
}
</style>

View File

@@ -0,0 +1,269 @@
<script setup>
const props = defineProps({
currentStep: {
type: Number,
required: false,
},
checkoutData: {
type: null,
required: true,
},
})
const emit = defineEmits([
'update:currentStep',
'update:checkout-data',
])
const selectedDeliveryAddress = computed(() => {
return props.checkoutData.addresses.filter(address => {
return address.value === props.checkoutData.deliveryAddress
})
})
const resolveDeliveryMethod = computed(() => {
if (props.checkoutData.deliverySpeed === 'overnight')
return {
method: 'Overnight Delivery',
desc: 'In 1 business day.',
}
else if (props.checkoutData.deliverySpeed === 'express')
return {
method: 'Express Delivery',
desc: 'Normally in 3-4 business days',
}
else
return {
method: 'Standard Delivery',
desc: 'Normally in 1 Week',
}
})
</script>
<template>
<section class="text-base">
<div class="text-center">
<h4 class="text-h4 mb-4">
Thank You! 😇
</h4>
<p>
Your order <span class="text-body-1 font-weight-medium text-high-emphasis">#1536548131</span> has been placed!
</p>
<p class="mb-0">
We sent an email to <span class="text-body-1 font-weight-medium text-high-emphasis">john.doe@example.com</span> with your order confirmation and receipt.
</p>
<p>If the email hasn't arrived within two minutes, please check your spam folder to see if the email was routed there.</p>
<div class="d-flex align-center gap-2 justify-center">
<VIcon
size="20"
icon="tabler-clock"
class="text-high-emphasis"
/>
<span>Time placed: 25/05/2020 13:35pm</span>
</div>
</div>
<VRow class="border rounded ma-0 mt-6">
<VCol
cols="12"
md="4"
class="pa-6"
:class="$vuetify.display.mdAndUp ? 'border-e' : 'border-b'"
>
<div class="d-flex align-center gap-2 text-high-emphasis mb-4">
<VIcon
icon="tabler-map-pin"
size="20"
/>
<span class="text-base font-weight-medium">
Shipping
</span>
</div>
<template
v-for="item in selectedDeliveryAddress"
:key="item.value"
>
<p class="mb-0">
{{ item.title }}
</p>
<p class="mb-4">
{{ item.desc }}
</p>
<div class="text-base">
+{{ item.subtitle }}
</div>
</template>
</VCol>
<VCol
cols="12"
md="4"
class="pa-6"
:class="$vuetify.display.mdAndUp ? 'border-e' : 'border-b'"
>
<div class="d-flex align-center gap-2 text-high-emphasis mb-4">
<VIcon
icon="tabler-credit-card"
size="20"
/>
<span class="text-base font-weight-medium">
Billing Address
</span>
</div>
<template
v-for="item in selectedDeliveryAddress"
:key="item.value"
>
<p class="mb-0">
{{ item.title }}
</p>
<p class="mb-4">
{{ item.desc }}
</p>
<div class="text-base">
+{{ item.subtitle }}
</div>
</template>
</VCol>
<VCol
cols="12"
md="4"
class="pa-6"
>
<div class="d-flex align-center gap-2 text-high-emphasis mb-4">
<VIcon
icon="tabler-ship"
size="20"
/>
<span class="text-base font-weight-medium">
Shipping Method
</span>
</div>
<p class="font-weight-medium">
Preferred Method:
</p>
<p class="mb-0">
{{ resolveDeliveryMethod.method }}
</p>
<p class="mb-0">
( {{ resolveDeliveryMethod.desc }} )
</p>
</VCol>
</VRow>
<VRow>
<VCol
cols="12"
md="9"
>
<!-- 👉 cart items -->
<div class="border rounded">
<template
v-for="(item, index) in props.checkoutData.cartItems"
:key="item.name"
>
<div
class="d-flex align-start gap-4 pa-6 position-relative flex-column flex-sm-row"
:class="index ? 'border-t' : ''"
>
<div>
<VImg
width="80"
:src="item.image"
/>
</div>
<div
class="d-flex w-100 justify-space-between gap-4"
:class="$vuetify.display.width <= 700 ? 'flex-column' : 'flex-row'"
>
<div>
<h6 class="text-h6 mb-2">
{{ item.name }}
</h6>
<div class="text-body-1 mb-2">
Sold by:
<span class="d-inline-block text-primary"> {{ item.seller }}</span>
</div>
<VChip
:color="item.inStock ? 'success' : 'error'"
label
size="small"
>
{{ item.inStock ? 'In Stock' : 'Out of Stock' }}
</VChip>
</div>
<!-- <VSpacer /> -->
<div
class="d-flex text-base"
:class="$vuetify.display.width <= 700 ? 'align-self-start' : 'align-self-center'"
>
<div class="text-primary">
${{ item.price }}
</div>
<div>/</div>
<div class="text-decoration-line-through text-disabled">
${{ item.discountPrice }}
</div>
</div>
</div>
</div>
</template>
</div>
</VCol>
<VCol
cols="12"
md="3"
>
<div class="border rounded">
<div class="border-b pa-6">
<h6 class="text-base font-weight-medium mb-4">
Price Details
</h6>
<div class="d-flex align-center justify-space-between text-base mb-4">
<span class="text-high-emphasis">Order Total</span>
<span>${{ props.checkoutData.orderAmount }}.00</span>
</div>
<div class="d-flex justify-space-between text-base">
<div class="text-high-emphasis">
Charges
</div>
<div
v-if="props.checkoutData.deliverySpeed === 'free'"
class="d-flex align-center"
>
<div class="text-decoration-line-through text-disabled me-2">
$5.00
</div>
<VChip
size="small"
color="success"
>
FREE
</VChip>
</div>
<div v-else>
<span>${{ props.checkoutData.deliveryCharges }}</span>
</div>
</div>
</div>
<div class="d-flex align-center justify-space-between text-high-emphasis font-weight-medium pa-6">
<span>Total</span>
<span>${{ props.checkoutData.orderAmount + props.checkoutData.deliveryCharges }}.00</span>
</div>
</div>
</VCol>
</VRow>
</section>
</template>

View File

@@ -0,0 +1,315 @@
<script setup>
const props = defineProps({
currentStep: {
type: Number,
required: false,
},
checkoutData: {
type: null,
required: true,
},
})
const emit = defineEmits([
'update:currentStep',
'update:checkout-data',
])
const prop = __props
const checkoutPaymentDataLocal = ref(prop.checkoutData)
const selectedPaymentMethod = ref('card')
const cardFormData = ref({
cardNumber: null,
cardName: '',
cardExpiry: '',
cardCvv: null,
isCardSave: true,
})
const giftCardFormData = ref({
giftCardNumber: null,
giftCardPin: null,
})
const selectedDeliveryAddress = computed(() => {
return checkoutPaymentDataLocal.value.addresses.filter(address => {
return address.value === checkoutPaymentDataLocal.value.deliveryAddress
})
})
const updateCartData = () => {
emit('update:checkout-data', checkoutPaymentDataLocal.value)
}
const nextStep = () => {
updateCartData()
emit('update:currentStep', prop.currentStep ? prop.currentStep + 1 : 1)
}
watch(() => prop.currentStep, updateCartData)
</script>
<template>
<VRow>
<VCol
cols="12"
md="8"
>
<!-- 👉 Offers alert -->
<VAlert
type="success"
class="mb-6"
variant="tonal"
icon="tabler-percentage"
title="Available Offer"
closable
>
<template #text>
<p class="mb-0">
- 0% Instant Discount on Bank of America Corp Bank Debit and Credit cards
<br>
- 50% Cashback Voucher of up to $60 on first ever PayPal transaction. TCA
</p>
</template>
</VAlert>
<VTabs
v-model="selectedPaymentMethod"
class="v-tabs-pill"
density="comfortable"
>
<VTab value="card">
Card
</VTab>
<VTab value="cash-on-delivery">
Cash on Delivery
</VTab>
<VTab value="gift-card">
Gift Card
</VTab>
</VTabs>
<VWindow
v-model="selectedPaymentMethod"
style="max-inline-size: 600px;"
:touch="false"
>
<VWindowItem
value="card"
class="ms-n3"
>
<VForm class="mt-3">
<VRow class="ma-0 pa-n2">
<VCol cols="12">
<AppTextField
v-model="cardFormData.cardNumber"
type="number"
label="Card Number"
placeholder="1356 3215 6548 7898"
/>
</VCol>
<VCol
cols="12"
md="4"
>
<AppTextField
v-model="cardFormData.cardName"
label="Name"
placeholder="John Doe"
/>
</VCol>
<VCol
cols="6"
md="4"
>
<AppTextField
v-model="cardFormData.cardExpiry"
label="Expiry"
placeholder="MM/YY"
/>
</VCol>
<VCol
cols="6"
md="4"
>
<AppTextField
v-model="cardFormData.cardCvv"
label="CVV"
placeholder="123"
type="number"
>
<template #append-inner>
<VTooltip
text="Card Verification Value"
location="bottom"
>
<template #activator="{ props: tooltipProps }">
<VIcon
v-bind="tooltipProps"
size="20"
icon="tabler-help"
/>
</template>
</VTooltip>
</template>
</AppTextField>
</VCol>
<VCol
cols="12"
class="pt-1"
>
<VSwitch
v-model="cardFormData.isCardSave"
label="Save Card for future billing?"
/>
<div class="mt-4">
<VBtn
class="me-4"
@click="nextStep"
>
Save Changes
</VBtn>
<VBtn
variant="tonal"
color="secondary"
>
Reset
</VBtn>
</div>
</VCol>
</VRow>
</VForm>
</VWindowItem>
<VWindowItem value="cash-on-delivery">
<p class="text-base text-high-emphasis my-6">
Cash on Delivery is a type of payment method where the recipient make payment for the order at the time of delivery rather than in advance.
</p>
<VBtn @click="nextStep">
Pay on delivery
</VBtn>
</VWindowItem>
<VWindowItem value="gift-card">
<h6 class="text-base font-weight-medium mt-6">
Enter Gift Card Details
</h6>
<VForm class="ms-n3">
<VRow class="ma-0">
<VCol cols="12">
<AppTextField
v-model="giftCardFormData.giftCardNumber"
label="Gift Card Number"
placeholder="1234 5678 9012 3456"
/>
</VCol>
<VCol cols="12">
<AppTextField
v-model="giftCardFormData.giftCardPin"
label="Gift Card Pin"
placeholder="1234"
/>
</VCol>
<VCol cols="12">
<VBtn @click="nextStep">
Redeem Gift Card
</VBtn>
</VCol>
</VRow>
</VForm>
</VWindowItem>
</VWindow>
</VCol>
<VCol
cols="12"
md="4"
>
<VCard
flat
variant="outlined"
>
<VCardText>
<h6 class="text-h6 mb-4">
Price Details
</h6>
<div class="d-flex justify-space-between text-base mb-2">
<span class="text-high-emphasis">Order Total</span>
<span>${{ checkoutPaymentDataLocal.orderAmount }}.00</span>
</div>
<div class="d-flex justify-space-between text-base">
<span class="text-high-emphasis">Delivery Charges</span>
<div
v-if="checkoutPaymentDataLocal.deliverySpeed === 'free'"
class="d-flex align-center"
>
<div class="text-decoration-line-through text-disabled me-2">
$5.00
</div>
<VChip
size="small"
color="success"
>
FREE
</VChip>
</div>
<div v-else>
<span>${{ checkoutPaymentDataLocal.deliveryCharges }}</span>
</div>
</div>
</VCardText>
<VDivider />
<VCardText>
<div class="d-flex justify-space-between text-base mb-2">
<span class="text-high-emphasis font-weight-medium">Total</span>
<span class="font-weight-medium">${{ checkoutPaymentDataLocal.orderAmount + checkoutPaymentDataLocal.deliveryCharges }}.00</span>
</div>
<div class="d-flex justify-space-between text-base mb-4">
<span class="text-high-emphasis font-weight-medium">Deliver to:</span>
<VChip
color="primary"
class="text-capitalize"
label
size="small"
>
{{ checkoutPaymentDataLocal.deliveryAddress }}
</VChip>
</div>
<template
v-for="item in selectedDeliveryAddress"
:key="item.value"
>
<h6 class="text-base font-weight-medium">
{{ item.title }}
</h6>
<p class="text-base text-wrap mb-0">
{{ item.desc }}
</p>
<p class="text-base mb-4">
Mobile : {{ item.subtitle }}
</p>
</template>
<h6 class="text-h6">
<a href="#">Change address</a>
</h6>
</VCardText>
</VCard>
</VCol>
</VRow>
</template>

View File

@@ -0,0 +1 @@
export {}