import * as React from 'react'; import { useState } from 'react'; import { Alert, Button, Image, StyleSheet, Dimensions, SafeAreaView, ScrollView, TouchableOpacity, ImageBackground, Modal, Pressable } from 'react-native'; import { LinearGradient } from 'expo-linear-gradient'; import { Ionicons, FontAwesome } from '@expo/vector-icons'; import EditScreenInfo from '../components/EditScreenInfo'; import { Text, View } from '../components/Themed'; import { TextInput } from 'react-native-gesture-handler'; import { useNavigation } from '@react-navigation/native'; export default function CartPayInstallment() { return ( ); } const HeaderCart = () => { const navigation = useNavigation(); return ( navigation.navigate('Cart')}> Mua trả góp ) } const CartItemPayInstall = () => { return( ĐIỀU HÒA 1 CHIỀU 9000 BTU/H NAGAKAWA NS-C09R1M05 - MADE IN MALAYSIA - BẢO HÀNH 2 NĂM() 10.000.000đ ĐIỀU HÒA 1 CHIỀU 9000 BTU/H NAGAKAWA NS-C09R1M05 - MADE IN MALAYSIA - BẢO HÀNH 2 NĂM() 10.000.000đ ) } const BoxPayInstallForm = () => { return( Trả góp 0% bằng thẻ tín dụng Giá trị sản phẩm (*) Số tiền trả góp (*) Tiền tệ (*) Họ tên (*) Địa chỉ (*) Số tiền trả trước (*) Số lượng (*) Email (*) Số điện thoại (*) Thành phố (*) Thanh toán trả góp ) } const winWidth = Dimensions.get('window').width; //full width const winHeight = Dimensions.get('window').height; //full height const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', }, headerCartStep: { flexDirection: 'row', alignItems: 'center', padding: 10, }, goBack: { width: 50, height: 40, flexDirection: 'row', alignItems: 'center', }, goBackIcon: { fontSize: 24, }, headerCartStepTitle: { fontWeight: '700', width: winWidth - 70, textAlign: 'center' }, boxItemCartPayInstall: { marginBottom: 10, backgroundColor: '#f2f2f2', }, boxItemCartPayInstallItem: { width: '100%', padding: 10, backgroundColor: '#fff', flexDirection: 'row', }, boxItemCartPayInstallItemLeft: { width: 65, paddingRight: 15, flexDirection: 'column', alignItems: 'center' }, boxItemCartPayInstallItemImg: { width: '100%', height: 50, marginBottom: 10, }, boxItemCartPayInstallItemDelete: { padding: 5, borderColor: '#e1e1e1', borderWidth: 1, borderRadius: 3, }, boxItemCartPayInstallItemDeleteIcon: { fontSize: 16, color: '#999' }, boxItemCartPayInstallItemInfo: { width: winWidth - 85, }, boxItemCartPayInstallItemName: { marginBottom: 10, fontWeight: '700' }, boxItemCartPayInstallItemPrice: { fontSize: 18, fontWeight: '700', color: '#D8262F', }, boxPayForm: { width: winWidth, padding: 10, }, boxPayFormHeader: { marginBottom: 10, padding: 10, borderRadius: 5, borderWidth: 1, borderColor: '#008445', backgroundColor: '#DBF1E6', flexDirection: 'column', alignItems: 'center', }, boxPayFormHeaderText: { marginBottom: 10, fontWeight: '700', fontSize: 16, }, boxPayFormHeaderImg: { width: 149, height: 24, }, boxPayFormItem: { marginBottom: 15, }, boxPayFormItemText: { fontSize: 16, marginBottom: 5, }, boxPayFormItemInput: { width: '100%', height: 40, paddingHorizontal: 10, borderColor: '#ABABAB', borderWidth: 1, borderRadius: 3, }, boxPayFormItemSend: { width: '100%', height: 40, backgroundColor: '#D8262F', flexDirection: 'row', alignItems: 'center', justifyContent: 'center', borderRadius: 5, }, boxPayFormItemSendText: { fontSize: 14, color: '#fff', textTransform: 'uppercase', fontWeight: 'bold', }, });