This commit is contained in:
@@ -38,8 +38,8 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { PickupPoint } from '#shared/yandex_pvz'
|
||||
import type { PropType } from 'vue'
|
||||
import type { PickupPoint } from '~/server/shared/types/yandex_pvz'
|
||||
import { defineEmits } from 'vue'
|
||||
|
||||
defineProps<{ filteredPoints: PickupPoint[] }>()
|
||||
@@ -59,8 +59,6 @@ const onSelectPoint = (pickupPoint: PickupPoint) => {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@use '~/assets/scss/utils' as *;
|
||||
|
||||
.pickup-point-card {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { IBspb } from '~/server/shared/types/bspb'
|
||||
import type { BsbpCreateResponse } from '#shared/bsbp_create'
|
||||
import { useMediaQuery } from '@vueuse/core'
|
||||
|
||||
defineProps({
|
||||
@@ -73,7 +73,7 @@ const isMobile = useMediaQuery('(max-width: 1280px)', {
|
||||
const { cart, cartSum } = useCart()
|
||||
|
||||
const createOrder = async () => {
|
||||
const { data } = await useFetch<IBspb>('/api/bspb', {
|
||||
const { data } = await useFetch<BsbpCreateResponse>('/api/bsbp_create', {
|
||||
method: 'POST',
|
||||
body: {
|
||||
order: {
|
||||
|
||||
@@ -93,8 +93,6 @@ function addToCartBtn() {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@use '~/assets/scss/utils' as *;
|
||||
|
||||
.product-description {
|
||||
width: 100%;
|
||||
padding: 30px 30px 0;
|
||||
|
||||
@@ -53,11 +53,11 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import type { PickupPoint } from '#shared/yandex_pvz'
|
||||
import type { LngLatBounds, YMap } from '@yandex/ymaps3-types'
|
||||
import type { YMapLocationRequest } from '@yandex/ymaps3-types/imperative/YMap'
|
||||
import type { YMapClusterer } from '@yandex/ymaps3-types/packages/clusterer'
|
||||
import type { PropType } from 'vue'
|
||||
import type { PickupPoint } from '~/server/shared/types/yandex_pvz'
|
||||
import { IPvzMapFittingTabs, IPvzMapTabs } from '#shared/types'
|
||||
import { useGeolocation, useMediaQuery } from '@vueuse/core'
|
||||
import { computed, defineEmits, shallowRef } from 'vue'
|
||||
|
||||
Reference in New Issue
Block a user