From 956bb68870abc7ea6588491c67d7614fe326fe2f Mon Sep 17 00:00:00 2001 From: SamG1002 Date: Sun, 24 Mar 2024 22:19:39 -0300 Subject: [PATCH] Estilizando entrada de dados. --- CP_1/App.js | 104 ++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 76 insertions(+), 28 deletions(-) diff --git a/CP_1/App.js b/CP_1/App.js index 6fc0b3b..c57ec4f 100644 --- a/CP_1/App.js +++ b/CP_1/App.js @@ -33,70 +33,96 @@ const FinanciamentoSimulator = () => { return ( - Dados Pessoais: - Dados Pessoais: +
+ Nome + +
+
+ CPF + - - + +
+ E-mail + - + +
+ Telefone + - + +
+ Data de Nascimento + +
+ + Dados Financeiros: - Dados Financeiros: - + Valor da compra + - + +
+ Taxa de juros (%) + - + +
+ Número de parcelas + - + +
+ Valor de entrada + +
- + { }; const styles = StyleSheet.create({ + button: { + backgroundColor: '#9F3752', + borderRadius: '10px', + color: 'white', + padding: '15px' + + }, container: { flex: 1, justifyContent: 'center', alignItems: 'center', paddingHorizontal: 20, }, + campo: { + display: 'flex', + flexDirection: 'column' + }, + txtTitle: { + color: '#CE6689', + fontWeight :'Bold', + marginBottom: '1%' + }, + txtCampo:{ + color: '#CE6689', + marginBottom: '2%' + }, input: { width: '100%', // Adicionado para garantir que o input ocupe toda a largura height: 40, - borderColor: 'gray', + borderColor: '#CE6689', + borderRadius: '10px', borderWidth: 1, - marginBottom: 10, + marginBottom: 15, paddingHorizontal: 10, }, modalContainer: { @@ -150,6 +197,7 @@ const styles = StyleSheet.create({ borderRadius: 10, alignItems: 'center', }, + }); export default FinanciamentoSimulator;