业务定制页面与跳转完善
This commit is contained in:
@@ -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>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user