From 049257ab625416f5abeef5cb3347ba063a6e616e Mon Sep 17 00:00:00 2001 From: DanielRamirezGe Date: Mon, 6 Jul 2020 21:35:11 -0500 Subject: [PATCH] cambio de boton y se agrego el checkbox --- src/components/form.vue | 118 ++++++++++++++++++++++++++++++++++++++-- src/config/config.js | 4 +- 2 files changed, 116 insertions(+), 6 deletions(-) diff --git a/src/components/form.vue b/src/components/form.vue index 6b8e4b8..11d8c7a 100644 --- a/src/components/form.vue +++ b/src/components/form.vue @@ -107,6 +107,19 @@ onkeypress="return ( (event.charCode >= 32 && event.charCode <= 32) ||(event.charCode >= 65 && event.charCode <= 90) ||(event.charCode >= 97))" /> +
+
+ + +
+
Datos de los integrantes del equipo
@@ -158,15 +171,27 @@
-
+
-

Siguiente

+

Registrar

+
+
+ +
+
+ +

Registrar

+
+
+
@@ -201,10 +226,18 @@ export default { carrera: "", noIntegrantes: 1, integrantes: [], - cargando: false + cargando: false, + confirmacion: false }; }, methods: { + checkSize() { + if (window.screen.width > 500) { + return true; + } else { + return false; + } + }, updateInte(event) { this.integrantes = []; for (let i = 1; i < event.target.value; i++) { @@ -218,6 +251,7 @@ export default { } }, checkFull() { + if (!this.confirmacion) return false; if (this.nombreEquipo.trim() === "") { return false; } @@ -316,6 +350,15 @@ export default { diff --git a/src/config/config.js b/src/config/config.js index 2f1720d..11eae73 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -1,5 +1,5 @@ const config = { - //api: "http://localhost:3000" - api: "https://venus.acatlan.unam.mx/hackaton" + api: "http://localhost:3000" + //api: "https://venus.acatlan.unam.mx/hackaton" }; module.exports = config;