|
@@ -3,6 +3,7 @@ import { View, Text, Swiper, SwiperItem, Image, Button, Picker } from '@tarojs/c
|
|
|
import { navigateTo } from '@tarojs/taro'
|
|
import { navigateTo } from '@tarojs/taro'
|
|
|
import { TabBarLayout } from '@/layouts/tab-bar-layout'
|
|
import { TabBarLayout } from '@/layouts/tab-bar-layout'
|
|
|
import { AreaPicker } from '../../components/AreaPicker'
|
|
import { AreaPicker } from '../../components/AreaPicker'
|
|
|
|
|
+import { Navbar } from '@/components/ui/navbar'
|
|
|
import banner1 from '../../../images/banner1.jpg'
|
|
import banner1 from '../../../images/banner1.jpg'
|
|
|
|
|
|
|
|
|
|
|
|
@@ -193,6 +194,15 @@ const HomePage: React.FC = () => {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<TabBarLayout activeKey="home" className="bg-gradient-to-b from-primary to-primary-dark">
|
|
<TabBarLayout activeKey="home" className="bg-gradient-to-b from-primary to-primary-dark">
|
|
|
|
|
+ {/* 导航栏 */}
|
|
|
|
|
+ <Navbar
|
|
|
|
|
+ title="去看出行"
|
|
|
|
|
+ backgroundColor="bg-primary"
|
|
|
|
|
+ textColor="text-white"
|
|
|
|
|
+ leftIcon=""
|
|
|
|
|
+ border={false}
|
|
|
|
|
+ />
|
|
|
|
|
+
|
|
|
{/* 顶部轮播图 */}
|
|
{/* 顶部轮播图 */}
|
|
|
<View className="h-64 w-full">
|
|
<View className="h-64 w-full">
|
|
|
<Swiper
|
|
<Swiper
|