<template>
  <View long>
    <CarouselWithIntro :data="park" />
  </View>
</template>

<script setup>
import { ref } from 'vue'
import { getParkingList } from '@/http/api'
import View from '@/layouts/View.vue'
import CarouselWithIntro from '@/components/CarouselWithIntro/CarouselWithIntro.vue'

const park = ref({})
getParkingList().then(({ data }) => {
  park.value = data
})
</script>

<style lang="scss" scoped></style>
