|
|
@@ -11,6 +11,8 @@ import { Button } from '@/components/ui/button'
|
|
|
import { Card, CardContent, CardHeader } from '@/components/ui/card'
|
|
|
import { Form, FormField, FormItem, FormLabel, FormControl, FormMessage } from '@/components/ui/form'
|
|
|
import { cn } from '@/utils/cn'
|
|
|
+import { Navbar } from '@/components/ui/navbar'
|
|
|
+import { TabBarLayout } from '@/layouts/tab-bar-layout'
|
|
|
|
|
|
// 兑换码验证schema
|
|
|
const redeemSchema = z.object({
|
|
|
@@ -169,7 +171,9 @@ export default function DuihuanPage() {
|
|
|
}
|
|
|
|
|
|
return (
|
|
|
- <View className="min-h-screen bg-gray-50">
|
|
|
+ <TabBarLayout activeKey="duihuan">
|
|
|
+ <Navbar title="兑换中心" />
|
|
|
+
|
|
|
{/* 标签切换 */}
|
|
|
<View className="bg-white border-b">
|
|
|
<View className="flex">
|
|
|
@@ -306,6 +310,6 @@ export default function DuihuanPage() {
|
|
|
</View>
|
|
|
)}
|
|
|
</ScrollView>
|
|
|
- </View>
|
|
|
+ </TabBarLayout>
|
|
|
)
|
|
|
}
|