Files
web/src/app/(home)/product/page.tsx

26 lines
614 B
TypeScript
Raw Normal View History

2025-03-14 12:40:51 +08:00
import BreadCrumb from '@/components/bread-crumb'
import Wrap from '@/components/wrap'
import Purchase, {TabType} from '@/components/composites/purchase'
2025-12-11 14:10:52 +08:00
import {Suspense} from 'react'
2025-03-14 12:40:51 +08:00
export type ProductPageProps = {
searchParams?: Promise<{
type?: TabType
}>
}
2025-03-14 12:40:51 +08:00
2025-12-11 14:10:52 +08:00
export default function ProductPage(props: ProductPageProps) {
2025-03-14 12:40:51 +08:00
return (
<main className="mt-20">
<Wrap className="flex flex-col py-8 gap-4">
2025-03-14 12:40:51 +08:00
<BreadCrumb items={[
{label: '产品中心', href: '/product'},
]}/>
2025-12-11 14:10:52 +08:00
<Suspense>
<Purchase/>
</Suspense>
2025-03-14 12:40:51 +08:00
</Wrap>
</main>
)
}