init
Some checks failed
Deploy / build (push) Failing after 14s

This commit is contained in:
alsaze
2025-12-02 15:38:28 +03:00
parent 861e3c37d2
commit ed0ab55677
18 changed files with 253 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ const services = [
]
const { cartByCategory } = useMock()
const previewItems = computed(() => cartByCategory('transport'))
const previewItems = computed(() => cartByCategory('nedvizhimost'))
</script>
<style lang="scss">

View File

@@ -28,6 +28,8 @@
<p>{{ cart?.description }}</p>
</div>
<MapView v-if="cart?.coordinates" :marker="marker" />
<Contacts />
</div>
</template>
@@ -42,9 +44,13 @@
<Gallery :preview-image="cart?.previewImage" :images="cart?.images" />
<div>
Описание
Описание:
<p>{{ cart?.description }}</p>
</div>
<MapView v-if="cart?.coordinates" :marker="marker" />
<Contacts />
</div>
</UContainer>
</template>
@@ -66,6 +72,10 @@ const route = useRoute()
const { cartById } = useMock()
const cart = cartById(route.params.id)
const marker = computed(() => ({
coordinates: cart?.coordinates ?? [0, 0],
subtitle: cart?.address,
}))
const { lengthY } = useSwipe(
target,