Commit 841076904d9dc99aafe24a1d5ed6e07dd8f10831
1 parent
da1fa303aa
Exists in
develop
indicaciones pago tarjeta
Showing
4 changed files
with
32 additions
and
19 deletions
 
Show diff stats
src/app/modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.component.html
| ... | ... | @@ -12,10 +12,10 @@ | 
| 12 | 12 | <div class="h-85"> | 
| 13 | 13 | <div class="row h-auto mt-6 mx-0 justify-content-center text-center"> | 
| 14 | 14 | <div | 
| 15 | - class="col-12 col-sm-10 col-md-7 p-5 m-5 h-auto align-self-center | |
| 16 | - btn-effect border border-primary rounded reduce-card-2"> | |
| 15 | + class="col-12 col-sm-10 col-md-4 p-5 ml-auto h-auto align-self-center | |
| 16 | + btn-effect border border-primary rounded reduce-card-1"> | |
| 17 | 17 | <div class="row h-auto"> | 
| 18 | - <div class="col-12 col-md-4"> | |
| 18 | + <div class="col-12 col-md-12"> | |
| 19 | 19 | <img | 
| 20 | 20 | draggable="false" | 
| 21 | 21 | ondragstart="return false;" | 
| ... | ... | @@ -23,13 +23,13 @@ | 
| 23 | 23 | class="w-100 h-auto bg-white" | 
| 24 | 24 | src="assets/img/tarjeta-banda.jpg"/> | 
| 25 | 25 | </div> | 
| 26 | - <div class="col-12 col-md-8 h-auto"> | |
| 26 | + <div class="col-12 col-md-12 h-auto"> | |
| 27 | 27 | <p class="h2 m-0 text-primary">Banda Magnética</p> | 
| 28 | 28 | <small class=" m-0"> | 
| 29 | 29 | DESLIZÁ LA TARJETA POR LA RANURA<br> | 
| 30 | 30 | CUANDO LA PANTALLA LO INDIQUE | 
| 31 | 31 | </small> | 
| 32 | - <div class="btn-effect col-10 px-0 bg-white mt-4 mx-auto"> | |
| 32 | + <div class="btn-effect col-12 px-0 bg-white mt-4 mx-auto"> | |
| 33 | 33 | <div class="row mx-0 bg-primary badge-pill h-auto"> | 
| 34 | 34 | <div class="col-10 align-self-center text-center text-white"> | 
| 35 | 35 | Continuar | 
| ... | ... | @@ -48,10 +48,10 @@ | 
| 48 | 48 | </div> | 
| 49 | 49 | </div> | 
| 50 | 50 | <div | 
| 51 | - class="col-12 col-sm-10 col-md-7 p-5 m-5 h-auto align-self-center | |
| 52 | - btn-effect border border-primary rounded reduce-card-2"> | |
| 51 | + class="col-12 col-sm-10 col-md-4 p-5 my-auto mx-3 h-auto align-self-center | |
| 52 | + btn-effect border border-primary rounded reduce-card-1"> | |
| 53 | 53 | <div class="row h-auto"> | 
| 54 | - <div class="col-12 col-md-4"> | |
| 54 | + <div class="col-12 col-md-12"> | |
| 55 | 55 | <img | 
| 56 | 56 | draggable="false" | 
| 57 | 57 | ondragstart="return false;" | 
| ... | ... | @@ -59,14 +59,14 @@ | 
| 59 | 59 | class="w-100 h-auto bg-white" | 
| 60 | 60 | src="assets/img/tarjeta-chip.jpg"/> | 
| 61 | 61 | </div> | 
| 62 | - <div class="col-12 col-md-8 h-auto"> | |
| 62 | + <div class="col-12 col-md-12 h-auto"> | |
| 63 | 63 | <p class="h2 m-0 text-primary">Chip</p> | 
| 64 | 64 | <small class=" m-0"> | 
| 65 | 65 | INTRODUCÍ TU TARJETA POR LA<br> | 
| 66 | 66 | PARTE INFERIOR DE LECTOR <br> | 
| 67 | 67 | CUANDO LA PANTALLA LO INDIQUE | 
| 68 | 68 | </small> | 
| 69 | - <div class="btn-effect col-10 px-0 bg-white mt-4 mx-auto"> | |
| 69 | + <div class="btn-effect col-12 px-0 bg-white mt-4 mx-auto"> | |
| 70 | 70 | <div class="row mx-0 bg-primary badge-pill h-auto"> | 
| 71 | 71 | <div class="col-10 align-self-center text-center text-white"> | 
| 72 | 72 | Continuar | 
| ... | ... | @@ -85,10 +85,10 @@ | 
| 85 | 85 | </div> | 
| 86 | 86 | </div> | 
| 87 | 87 | <div | 
| 88 | - class="col-12 col-sm-10 col-md-7 p-5 m-5 h-auto align-self-center | |
| 89 | - btn-effect border border-primary rounded reduce-card-2"> | |
| 88 | + class="col-12 col-sm-10 col-md-4 p-5 mr-auto h-auto align-self-center | |
| 89 | + btn-effect border border-primary rounded reduce-card-1"> | |
| 90 | 90 | <div class="row h-auto"> | 
| 91 | - <div class="col-12 col-md-4"> | |
| 91 | + <div class="col-12 col-md-12"> | |
| 92 | 92 | <img | 
| 93 | 93 | draggable="false" | 
| 94 | 94 | ondragstart="return false;" | 
| ... | ... | @@ -96,16 +96,16 @@ | 
| 96 | 96 | class="w-100 h-auto bg-white" | 
| 97 | 97 | src="assets/img/tarjeta-contact-less.jpg"/> | 
| 98 | 98 | </div> | 
| 99 | - <div class="col-12 col-md-8 h-auto"> | |
| 99 | + <div class="col-12 col-md-12 h-auto"> | |
| 100 | 100 | <p class="h2 m-0 text-primary">Contact-less</p> | 
| 101 | 101 | <small class=" m-0"> | 
| 102 | 102 | ACERCÁ LA TARJETA AL POSNET<br> | 
| 103 | 103 | CUANDO LA PANTALLA LO INDIQUE | 
| 104 | 104 | </small> | 
| 105 | - <div class="btn-effect col-10 px-0 bg-white mt-4 mx-auto"> | |
| 105 | + <div class="btn-effect col-12 px-0 bg-white mt-4 mx-auto"> | |
| 106 | 106 | <div class="row mx-0 bg-primary badge-pill h-auto"> | 
| 107 | 107 | <div class="col-10 align-self-center text-center text-white"> | 
| 108 | - Continuar | |
| 108 | + <small>Continuar</small> | |
| 109 | 109 | </div> | 
| 110 | 110 | <div class="col-2 align-self-center p-0"> | 
| 111 | 111 | <img | 
src/app/modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.component.scss
src/app/modules/indicaciones-pago-tarjeta/indicaciones-pago-tarjeta.component.ts
| ... | ... | @@ -6,8 +6,15 @@ import { Component, OnInit, OnChanges } from '@angular/core'; | 
| 6 | 6 | styleUrls: ['./indicaciones-pago-tarjeta.component.scss'] | 
| 7 | 7 | }) | 
| 8 | 8 | export class IndicacionesPagoTarjetaComponent implements OnInit { | 
| 9 | - mediaPantalla: boolean; | |
| 10 | 9 | constructor() { } | 
| 11 | 10 | |
| 12 | - ngOnInit() {} | |
| 11 | + ngOnInit() { | |
| 12 | + this.mediaPantalla(); | |
| 13 | + } | |
| 14 | + | |
| 15 | + mediaPantalla() { | |
| 16 | + if ($('body').hasClass('media-pantalla')) { | |
| 17 | + $('.reduce-card').addClass('media-pantalla') | |
| 18 | + } | |
| 19 | + } | |
| 13 | 20 | } | 
src/app/modules/seleccion-articulos/filtro-categorias/filtro-categorias.component.ts
| ... | ... | @@ -22,7 +22,7 @@ export class FiltroCategoriasComponent implements OnInit { | 
| 22 | 22 | |
| 23 | 23 | constructor( | 
| 24 | 24 | private categoriaService: CategoriaService, | 
| 25 | - private inactiveScreen: InactiveScreenService, | |
| 25 | + private inactiveScreen: InactiveScreenService | |
| 26 | 26 | ) { } | 
| 27 | 27 | |
| 28 | 28 | ngOnInit() { | 
| ... | ... | @@ -67,6 +67,7 @@ export class FiltroCategoriasComponent implements OnInit { | 
| 67 | 67 | categoria.selected = index === i ? true : false; | 
| 68 | 68 | }); | 
| 69 | 69 | this.filterItems.emit(); | 
| 70 | + | |
| 70 | 71 | } | 
| 71 | 72 | |
| 72 | 73 | @HostListener('scroll', ['$event']) |