forked from nathalie/pedi2
Mostrar íconos de econ. solidaria y nacional en listado de productos
This commit is contained in:
parent
c27e47bb2d
commit
4223c524f5
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
|
@ -0,0 +1,4 @@
|
||||||
|
figure.image.icono {
|
||||||
|
float: right;
|
||||||
|
margin: 4px;
|
||||||
|
}
|
|
@ -49,6 +49,12 @@ Vue.component('productos-container', {
|
||||||
<figure class="image is-4by3">
|
<figure class="image is-4by3">
|
||||||
<img v-bind:src="producto.imagen ? producto.imagen : 'https://bulma.io/images/placeholders/1280x960.png'">
|
<img v-bind:src="producto.imagen ? producto.imagen : 'https://bulma.io/images/placeholders/1280x960.png'">
|
||||||
</figure>
|
</figure>
|
||||||
|
<figure v-show="producto.nacional" class="image icono is-32x32">
|
||||||
|
<img src="/assets/uruguay.png">
|
||||||
|
</figure>
|
||||||
|
<figure v-show="producto.economia_solidaria" class="image icono is-32x32">
|
||||||
|
<img src="/assets/solidaria.png">
|
||||||
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<div class="media">
|
<div class="media">
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
|
||||||
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
|
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
|
||||||
|
@yield('stylesheets')
|
||||||
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
@extends('layouts.app')
|
@extends('layouts.app')
|
||||||
|
|
||||||
|
@section('stylesheets')
|
||||||
|
<link rel="stylesheet" href="{{ asset('css/productos.css') }}">
|
||||||
|
@endsection
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<categorias-container></categorias-container>
|
<categorias-container></categorias-container>
|
||||||
<productos-container></productos-container>
|
<productos-container></productos-container>
|
||||||
|
|
Loading…
Reference in New Issue