assistancePageComponent.tsx 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import { View, Text, ScrollView, Pressable, Linking, Alert } from 'react-native';
  2. import React, { useContext } from 'react';
  3. import { SafeAreaView } from 'react-native-safe-area-context';
  4. import { router } from 'expo-router';
  5. import { CrossLogoSvg, RightArrowIconSvg } from '../global/SVG';
  6. import { handleGoWhatsApp } from '../../util/index';
  7. const AssistancePageComponent = () => {
  8. return (
  9. <SafeAreaView className="flex-1 bg-white" edges={['top', 'right', 'left']}>
  10. <ScrollView className="flex-1 mx-[5%]" showsVerticalScrollIndicator={false}>
  11. <View style={{ marginTop: 25 }}>
  12. <Pressable
  13. onPress={() => {
  14. router.replace('/accountMainPage');
  15. }}
  16. >
  17. <CrossLogoSvg />
  18. </Pressable>
  19. <Text style={{ fontSize: 45, marginVertical: 25 }}>排除解難</Text>
  20. </View>
  21. <View>
  22. <Text className="text-lg">
  23. 如果您在使用該應用程式時遇到任何問題,請透過WhatsApp聯絡我們的客戶服務人員:
  24. </Text>
  25. <Pressable onPress={handleGoWhatsApp}>
  26. <Text className="text-3xl font-semibold underline text-[#02677D] pt-2">+852 9138 2139</Text>
  27. </Pressable>
  28. </View>
  29. </ScrollView>
  30. </SafeAreaView>
  31. );
  32. };
  33. export default AssistancePageComponent;