Tarea #278 Refactor descriptor item CR Carlos
This commit is contained in:
parent
e11c0936bc
commit
709b06e4ea
|
@ -9,7 +9,7 @@
|
|||
</a>
|
||||
</vn-horizontal>
|
||||
<vn-vertical>
|
||||
<vn-auto style="position: relative" pad-medium text-center>
|
||||
<vn-auto style="position: relative" text-center>
|
||||
<img
|
||||
ng-src="http://verdnatura.es/vn-image-data/catalog/200x200/{{::$ctrl.item.image}}"
|
||||
zoom-image="http://verdnatura.es/vn-image-data/catalog/900x900/{{::$ctrl.item.image}}"
|
||||
|
@ -23,10 +23,10 @@
|
|||
</a>
|
||||
</vn-auto>
|
||||
<vn-auto pad-medium>
|
||||
<h6>{{$ctrl.item.name}}</h6>
|
||||
<vn-label-value label="Id"
|
||||
value="{{$ctrl.item.id}}">
|
||||
</vn-label-value>
|
||||
<h6>{{$ctrl.item.id}}</h6>
|
||||
<vn-label-value label="Name"
|
||||
value="{{$ctrl.item.name}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Buyer"
|
||||
value="{{$ctrl.item.itemType.worker.firstName}} {{$ctrl.item.itemType.worker.name}}">
|
||||
</vn-label-value>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import ngModule from '../module';
|
||||
import './style.scss';
|
||||
|
||||
ngModule.component('vnItemDescriptor', {
|
||||
template: require('./descriptor.html'),
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
img[ng-src] {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
Loading…
Reference in New Issue