/** * 新充电流程:充电前的模块 * @邠心vbe on 2023/06/20 */ import React from 'react'; import { View, Text, Image, StyleSheet, ScrollView } from 'react-native'; import Button, { ElevationObject } from '../../components/Button'; import TextView from '../../components/TextView'; import { ChargeStyle } from '../chargeV2/Charging'; import { PaymentList } from '../chargeV2/Payment'; export default StepStart = ({ connectorInfo={}, currentPayment, curerntPerUse, onPaymentMethodChanged, onAuthenticate }) => { return ( {$t('charging.stepInsertConnector')} {$t('charging.stepInsertConnectorDesc')} {$t('charging.labelType')} {connectorInfo.chargeType}{connectorInfo.wattage || "AC22"} {$t('charging.labelPower')} {connectorInfo.wattage || "0"} kW{/*connectorInfo.rateType*/} {$t('charging.labelRate')} {/* {connectorInfo.rate || "0.00"}/{connectorInfo.rateType || "kWh"} */} {connectorInfo.rates || "S$0.00/kWh"} ({connectorInfo.userRates || "S$0.00/kWh"}) {$t('charging.labelStatus')} {$t('charging.statusAvailable')} {$t('charging.paymentMethod')}