|
|
@@ -365,7 +365,7 @@ const HomePage: React.FC<HomePageProps> = () => {
|
|
|
</View>
|
|
|
</View>
|
|
|
<View className=" flex-1 justify-center ">
|
|
|
- <Pressable onPress={() => router.push('searchPage')}>
|
|
|
+ {/* <Pressable onPress={() => router.push('searchPage')}>
|
|
|
<View
|
|
|
style={{
|
|
|
borderWidth: 1,
|
|
|
@@ -377,7 +377,7 @@ const HomePage: React.FC<HomePageProps> = () => {
|
|
|
>
|
|
|
<Text style={{ color: '#888888', fontSize: 16 }}>搜尋充電站或地區..</Text>
|
|
|
</View>
|
|
|
- </Pressable>
|
|
|
+ </Pressable> */}
|
|
|
</View>
|
|
|
</View>
|
|
|
<View className="flex-1">
|
|
|
@@ -398,7 +398,7 @@ const HomePage: React.FC<HomePageProps> = () => {
|
|
|
/>
|
|
|
</View>
|
|
|
<View className="flex-1 flex-row justify-between gap-6">
|
|
|
- <View className="flex-1">
|
|
|
+ {/* <View className="flex-1">
|
|
|
<NormalButton
|
|
|
// onPress={() => router.push('bookingMenuPage')}
|
|
|
onPress={() => Alert.alert('即將推出', '此功能即將推出,敬請期待!')}
|
|
|
@@ -414,6 +414,22 @@ const HomePage: React.FC<HomePageProps> = () => {
|
|
|
padding: 24
|
|
|
}}
|
|
|
/>
|
|
|
+ </View> */}
|
|
|
+ <View className="flex-1">
|
|
|
+ <NormalButton
|
|
|
+ // onPress={() => console.log('掃瞄及充電')}
|
|
|
+ onPress={() => router.push('vipQrPage')}
|
|
|
+ title={
|
|
|
+ <View className="flex flex-row items-center space-x-2">
|
|
|
+ <VipCodeIconSvg />
|
|
|
+ <Text className="text-white font-bold text-lg ml-2">專屬會員二維碼</Text>
|
|
|
+ </View>
|
|
|
+ }
|
|
|
+ extendedStyle={{
|
|
|
+ alignItems: 'flex-start',
|
|
|
+ padding: 24
|
|
|
+ }}
|
|
|
+ />
|
|
|
</View>
|
|
|
<View className="flex-1">
|
|
|
<NormalButton
|
|
|
@@ -431,7 +447,7 @@ const HomePage: React.FC<HomePageProps> = () => {
|
|
|
/>
|
|
|
</View>
|
|
|
</View>
|
|
|
- <View className="mt-4">
|
|
|
+ {/* <View className="mt-4">
|
|
|
<NormalButton
|
|
|
// onPress={() => console.log('掃瞄及充電')}
|
|
|
onPress={() => router.push('vipQrPage')}
|
|
|
@@ -446,7 +462,7 @@ const HomePage: React.FC<HomePageProps> = () => {
|
|
|
padding: 24
|
|
|
}}
|
|
|
/>
|
|
|
- </View>
|
|
|
+ </View> */}
|
|
|
</View>
|
|
|
</ScrollView>
|
|
|
</SafeAreaView>
|