refs #6199 fix(orderCatalogView): html and css
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
7367656a35
commit
fa90132934
|
@ -8,12 +8,12 @@
|
||||||
<div class="item-color" ng-style="{'background-color': '#' + item.hex}"></div>
|
<div class="item-color" ng-style="{'background-color': '#' + item.hex}"></div>
|
||||||
</div>
|
</div>
|
||||||
<img
|
<img
|
||||||
ng-src="{{::$root.imagePath('catalog', '200x200', item.id)}}"
|
ng-src="{{::$root.imagePath('catalog', '200x200', item.id)}}"
|
||||||
zoom-image="{{::$root.imagePath('catalog', '1600x900', item.id)}}"
|
zoom-image="{{::$root.imagePath('catalog', '1600x900', item.id)}}"
|
||||||
on-error-src/>
|
on-error-src/>
|
||||||
</div>
|
</div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<h3 class="link"
|
<h3 class="link"
|
||||||
ng-click="itemDescriptor.show($event, item.id)">
|
ng-click="itemDescriptor.show($event, item.id)">
|
||||||
{{::item.name}}
|
{{::item.name}}
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -37,25 +37,28 @@
|
||||||
value="{{::item.value7}}">
|
value="{{::item.value7}}">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
</div>
|
</div>
|
||||||
<vn-horizontal
|
<vn-horizontal>
|
||||||
class="container text-right text-caption"
|
<vn-one>
|
||||||
ng-if="::item.minQuantity">
|
<vn-rating ng-if="::item.stars"
|
||||||
<div ng-class="'text-caption-reduced'">
|
ng-model="::item.stars"/>
|
||||||
<vn-icon
|
</vn-one>
|
||||||
icon="production_quantity_limits"
|
<vn-horizontal
|
||||||
translate-attr="{title: 'Minimal quantity'}"
|
class="text-right text-caption alert vn-mr-xs"
|
||||||
ng-class="'text-subtitle1'">
|
ng-if="::item.minQuantity">
|
||||||
</vn-icon>
|
<vn-one>
|
||||||
<span class="vn-ml-xs">{{::item.minQuantity}}</span>
|
<vn-icon
|
||||||
</div>
|
icon="production_quantity_limits"
|
||||||
|
translate-attr="{title: 'Minimal quantity'}"
|
||||||
|
class="text-subtitle1">
|
||||||
|
</vn-icon>
|
||||||
|
</vn-one>
|
||||||
|
{{::item.minQuantity}}
|
||||||
|
</vn-horizontal>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-rating ng-if="::item.stars"
|
|
||||||
ng-model="::item.stars">
|
|
||||||
</vn-rating>
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div class="price">
|
<div class="price">
|
||||||
<vn-one>
|
<vn-one>
|
||||||
<span>{{::item.available}}</span>
|
<span>{{::item.available}}</span>
|
||||||
<span translate>to</span>
|
<span translate>to</span>
|
||||||
<span>{{::item.price | currency:'EUR':2}}</span>
|
<span>{{::item.price | currency:'EUR':2}}</span>
|
||||||
</vn-one>
|
</vn-one>
|
||||||
|
@ -66,7 +69,7 @@
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="priceKg" ng-show="::item.priceKg">
|
<div class="priceKg" ng-show="::item.priceKg">
|
||||||
<span>Precio por kilo {{::item.priceKg | currency: 'EUR'}}</span>
|
<span>Precio por kilo {{::item.priceKg | currency: 'EUR'}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -81,4 +84,4 @@
|
||||||
<vn-item-descriptor-popover
|
<vn-item-descriptor-popover
|
||||||
vn-id="item-descriptor"
|
vn-id="item-descriptor"
|
||||||
warehouse-fk="$ctrl.vnConfig.warehouseFk">
|
warehouse-fk="$ctrl.vnConfig.warehouseFk">
|
||||||
</vn-item-descriptor-popover>
|
</vn-item-descriptor-popover>
|
||||||
|
|
|
@ -44,10 +44,7 @@ vn-order-catalog {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.text-caption-reduced {
|
.alert {
|
||||||
color: $color-alert;
|
color: $color-alert;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: flex-end;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue