diff --git a/components/PayBlock.vue b/components/PayBlock.vue index 1cd335e..d67aba9 100644 --- a/components/PayBlock.vue +++ b/components/PayBlock.vue @@ -1,6 +1,37 @@ diff --git a/pages/cart.vue b/pages/cart.vue index 0fe4f37..b8c2272 100644 --- a/pages/cart.vue +++ b/pages/cart.vue @@ -9,7 +9,7 @@ - + @@ -18,7 +18,7 @@ import { useCart } from '~/composables' import PayBlock from '../components/PayBlock.vue' const route = useRoute() -const { cart } = useCart() +const { cart, cartRemoveAllItems } = useCart() const { checkoutContacts, checkoutPickupPoint } = useCheckout() onMounted(async () => { @@ -46,6 +46,8 @@ onMounted(async () => { status: 'processing', }, }) + + cartRemoveAllItems() }) @@ -63,6 +65,7 @@ onMounted(async () => { @include mobile { margin-top: 20px; flex-direction: column; + padding-inline: 16px; } &__items { diff --git a/pages/checkout/contacts.vue b/pages/checkout/contacts.vue index d224fe9..7382e31 100644 --- a/pages/checkout/contacts.vue +++ b/pages/checkout/contacts.vue @@ -1,5 +1,5 @@ @@ -85,10 +87,18 @@ definePageMeta({ flex-direction: row; justify-content: space-between; + @include mobile { + flex-direction: column; + } + &__info { display: flex; flex-direction: column; gap: 16px; + + @include mobile { + margin-bottom: 26px; + } } &__items {