业务定制页面与跳转完善

This commit is contained in:
2025-12-18 11:52:33 +08:00
parent 69fdcabcac
commit dc331b63a5
12 changed files with 380 additions and 267 deletions

View File

@@ -5,6 +5,7 @@ import {Tabs, TabsContent, TabsList, TabsTrigger} from '@/components/ui/tabs'
import LongForm from '@/components/composites/purchase/long/form'
import ShortForm from '@/components/composites/purchase/short/form'
import {usePathname, useRouter, useSearchParams} from 'next/navigation'
import SelfDesc from '@/components/features/self-desc'
export type TabType = 'short' | 'long' | 'fixed' | 'custom'
export default function Purchase() {
@@ -35,6 +36,13 @@ export default function Purchase() {
<TabsContent value="long">
<LongForm/>
</TabsContent>
<TabsContent value="fixed">
</TabsContent>
<TabsContent value="custom">
<SelfDesc onInquiry={() => {
router.push('/custom')
}}/>
</TabsContent>
</Tabs>
</div>
)