Commit dbc526ecc0e1f36b2057ab8fad3a6b5fae199c2c
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master(mpuebla) See merge request !51
Showing
3 changed files
Show diff stats
src/app/components/home/home.component.html
| ... | ... | @@ -16,25 +16,25 @@ |
| 16 | 16 | </div> |
| 17 | 17 | |
| 18 | 18 | <!-- INFO DE BIENVENIDA --> |
| 19 | - <div class="row w-100"> | |
| 20 | - <div class="col-4 offset-2"> | |
| 19 | + <div class="row h-50 w-100"> | |
| 20 | + <div class="col-4 offset-2 my-auto"> | |
| 21 | 21 | |
| 22 | 22 | <div id="carouselExampleSlidesOnly" class="carousel slide" data-ride="carousel"> |
| 23 | 23 | <div class="carousel-inner"> |
| 24 | 24 | <div class="carousel-item active"> |
| 25 | 25 | <img |
| 26 | 26 | src="{{apiUrl}}/imagenes/coca1.jpg" |
| 27 | - class="d-block rounded-sm shadow w-75"> | |
| 27 | + class="d-block rounded-sm shadow w-75 mx-auto"> | |
| 28 | 28 | </div> |
| 29 | 29 | <div class="carousel-item"> |
| 30 | 30 | <img |
| 31 | 31 | src="{{apiUrl}}/imagenes/coca2.jpg" |
| 32 | - class="d-block rounded-sm shadow w-75"> | |
| 32 | + class="d-block rounded-sm shadow w-75 mx-auto"> | |
| 33 | 33 | </div> |
| 34 | 34 | <div class="carousel-item"> |
| 35 | 35 | <img |
| 36 | 36 | src="{{apiUrl}}/imagenes/coca3.jpg" |
| 37 | - class="d-block rounded-sm shadow w-75"> | |
| 37 | + class="d-block rounded-sm shadow w-75 mx-auto"> | |
| 38 | 38 | </div> |
| 39 | 39 | </div> |
| 40 | 40 | </div> |
src/app/components/inicio/inicio.component.ts
src/app/components/pago/pago.component.ts
| ... | ... | @@ -27,6 +27,7 @@ export class PagoComponent implements OnInit { |
| 27 | 27 | ) { } |
| 28 | 28 | |
| 29 | 29 | ngOnInit() { |
| 30 | + | |
| 30 | 31 | this.productos = this.productoService.productos; |
| 31 | 32 | } |
| 32 | 33 | |
| ... | ... | @@ -37,12 +38,13 @@ export class PagoComponent implements OnInit { |
| 37 | 38 | |
| 38 | 39 | this.productoService.pagar() |
| 39 | 40 | .subscribe(() => { |
| 41 | + | |
| 40 | 42 | // alert('Compra finalizada'); |
| 41 | 43 | this.compraConQRfinalizada = true; |
| 42 | 44 | setTimeout(() => { |
| 43 | 45 | |
| 44 | 46 | this.router.navigate(['mensaje-final']); |
| 45 | - }, 1000); | |
| 47 | + }, 3000); | |
| 46 | 48 | }, err => { |
| 47 | 49 | console.log(err); |
| 48 | 50 | alert('algo salió mal'); |