Files
2023-11-14 17:21:03 +08:00

48 lines
873 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
@name: 新品首发
@author: kahu4
@date: 2023-10-27 14:42
@descriptionindex
@update: 2023-10-27 14:42
-->
<script setup>
import ThreeGoodRow from "@/pages/index/components/public/ThreeGoodRow.vue"
import { useRouter } from "@/hooks/useRouter";
const props = defineProps({
products: {
type: Array
}
})
const {push} = useRouter()
</script>
<template>
<blank size="15"></blank>
<activity
title="限时秒杀"
more="查看更多"
@moreClick="push({ url: '/pages/newGoods/newGoods' })"
>
<template #subTitle>限时秒杀</template>
<card class="goods-row">
<ThreeGoodRow :products="props.products"></ThreeGoodRow>
</card>
</activity>
</template>
<style
scoped
lang="scss"
>
@import "@/style/main.scss";
.goods-row {
@include usePadding(30, 20);
border-radius: 15rpx;
}
</style>