Commit 8c28c26d96fc0fa8dc4239e8b2592f690bbf7ce4

Authored by Marcelo Puebla
1 parent d8b3b8cee5
Exists in master and in 1 other branch validar_pve

Arreglos de vistas.

src/app/components/busqueda-productos/busqueda-productos.component.html
... ... @@ -92,9 +92,11 @@
92 92 </div>
93 93  
94 94 <!-- SPINNER -->
95   - <div *ngIf="productos.length === 0 && showSpinner" class="col-sm-10 align-self-center">
96   - <div class="spinner-border spinner-lg text-secondary" role="status"></div>
97   - <span class="text-secondary m-2 h5">Cargando información.</span>
  95 + <div
  96 + *ngIf="productos.length === 0 && showSpinner"
  97 + class="col-sm-10 p-0 align-self-center text-center">
  98 + <div class="spinner-border spinner-lg text-secondary" role="status"></div>
  99 + <span class="text-secondary m-2 h5">Cargando información.</span>
98 100 </div>
99 101  
100 102 </div>
src/app/components/inicio/inicio.component.html
... ... @@ -109,8 +109,8 @@
109 109 <!-- PRODUCTO A CARGAR -->
110 110 <div class="fade-in m-0" *ngIf="productoAcargar && !promoAcargar">
111 111 <img
112   - class="card-img-top d-block w-100 mx-auto rounded-sm"
113   - src="{{apiUrl}}/imagenes/testImg3.jpg">
  112 + class="card-img-top d-block w-75 mx-auto rounded-sm"
  113 + src="{{apiUrl}}/imagenes/testImg.jpg">
114 114  
115 115 <div class="row justify-content-between m-3">
116 116 <div class="col-12 text-left px-1">
... ... @@ -126,7 +126,7 @@
126 126 <div class="fade-in m-0" *ngIf="promoAcargar">
127 127 <img
128 128 class="card-img-top d-block w-100 mx-auto rounded-sm"
129   - src="{{apiUrl}}/imagenes/testImg3.jpg">
  129 + src="{{apiUrl}}/imagenes/testImg.jpg">
130 130  
131 131 <div class="row justify-content-between m-3">
132 132 <div class="col-12 text-left px-1">
src/app/components/sidebar/sidebar.component.html
... ... @@ -7,8 +7,10 @@
7 7  
8 8 <div class="overflow-auto overflow-scroll mb-2 w-100">
9 9 <!-- PRODUCTOS CARRITO -->
10   - <div class="fade-left my-2 bg-white border-0 rounded-sm" *ngFor="let producto of productosCarrito; let i = index">
11   - <img class="m-auto pt-2" src="{{apiUrl}}/imagenes/{{producto.imagenes[0].imagen}}">
  10 + <div
  11 + class="fade-left my-2 bg-white border-0 rounded-sm"
  12 + *ngFor="let producto of productosCarrito.slice().reverse(); let i = index">
  13 + <img class="w-100 m-auto rounded-sm shadow" src="{{apiUrl}}/imagenes/{{producto.imagenes[0].imagen}}">
12 14 <div class="row m-0 p-0 px-1 py-1 shadow rounded-sm">
13 15 <div class="col-12 p-0 pt-2 text-left my-auto">
14 16 <p class="m-0 h6"><small>{{producto.DetArt}}</small></p>