<!--
    @name: index
    @author: kahu4
    @date: 2023-11-01 15:38
    @description：index
    @update: 2023-11-01 15:38
-->
<script setup>
import { useRouter } from "@/hooks/useRouter";
import ScrollGoodRow from "@/pages/index/components/public/ScrollGoodRow.vue"

const props = defineProps({
  products: {
    type: Array
  }
})
const {push} = useRouter()

</script>

<template>
  <blank size="15"></blank>

  <activity
      title="超值拼团"
      subtitle="拼着买更划算"
      more="查看更多"
      @moreClick="push({ url: '/pages/newGoods/newGoods' })"
  >
    <ScrollGoodRow :products="props.products" />
  </activity>
</template>

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