карты пвз
Some checks failed
Deploy / build (push) Failing after 7s

This commit is contained in:
alsaze
2025-11-13 16:24:10 +03:00
parent bd4edfdade
commit f857c40ca2
8 changed files with 141 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
<template>
<form class="contacts" @submit.prevent="onSubmit">
<form v-if="checkoutContacts" class="contacts" @submit.prevent="onSubmit">
<div>
<UInput
id="name"
@@ -138,7 +138,7 @@
</template>
<script lang="ts" setup>
import { useCheckout } from '../../composables/useCheckout'
import { useCheckout } from '~/composables/useCheckout'
const { checkoutContacts, setCheckoutContacts, nextStep } = useCheckout()
@@ -199,11 +199,17 @@ definePageMeta({
</script>
<style lang="scss">
@use '~/assets/scss/utils' as *;
.contacts {
margin-inline: auto;
max-width: 400px;
display: flex;
flex-direction: column;
gap: 16px;
@include mobile {
padding-inline: 10px;
}
}
</style>

View File

@@ -58,7 +58,9 @@
</div>
</div>
<PayBlock pay />
<ClientOnly>
<PayBlock pay :is-summary="true" />
</ClientOnly>
</div>
</template>
@@ -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 {