import { View, Text, ScrollView, Image, StyleSheet, Pressable } from 'react-native'; import React from 'react'; import { SafeAreaView } from 'react-native-safe-area-context'; import Svg, { Path, Rect } from 'react-native-svg'; import NormalButton from './global/normal_button'; import SlideInImage from './global/slideInImage'; const BatteryLogoSvg = () => ( ); const DownArrowSvg = () => ( ); const UpArrowSvg = () => ( ); const TimeClockLogoSvg = () => ( ); const TickLogoSvg = () => ( ); const BatteryIconSvg = () => ( ); const LightingLogoSvg = () => ( ); const TemperatureIconSvg = () => ( ); const ChargingFinishPage = () => { const [isMoreInfoButtonPressed, setIsMoreInfoButtonPressed] = React.useState(false); return ( 完成充電 TESLA Model 3 已充電 95% 充電歷時 39 mins {isMoreInfoButtonPressed ? ( <> 充電功率 22.1kW 實際功率 30.0kW 溫度 36°c { setIsMoreInfoButtonPressed( !isMoreInfoButtonPressed ); }} style={{ padding: 2 }} > 收起{' '} ) : ( { setIsMoreInfoButtonPressed( !isMoreInfoButtonPressed ); }} style={{ padding: 2 }} > 更多資訊{' '} )} 收費概要 充電費用 HK$ 175 按每度電結算: 50 kWh 小計 HK$ 175 其他費用 HK$ 11 總計 HK$ 186 付款資訊 訂單編號 CXZ-16336958 付款方式 預付銀包 電郵地址 mikechan123@gmail.com 返回主頁 } onPress={() => { console.log('返回主頁'); }} /> ); }; export default ChargingFinishPage; const styles = StyleSheet.create({ grayColor: { color: '#888888' }, greenColor: { color: '#02677D' } });