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

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

const mall = ref({})
getMallInfoList().then(({ data }) => {
  if (!data.title) data.title = '商场介绍'
  mall.value = data
})
</script>

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