|
@@ -1,7 +1,7 @@
|
|
<template lang="pug">
|
|
<template lang="pug">
|
|
.product-card(@click="selectProduct({ data })")
|
|
.product-card(@click="selectProduct({ data })")
|
|
h2.product-title {{ data.name }}
|
|
h2.product-title {{ data.name }}
|
|
- img.product-image(src="/web/static/src/img/placeholder.png")
|
|
|
|
|
|
+ img.product-image(:src="data.image_medium ? 'data:image/png;base64,' + data.image_medium : '/web/static/src/img/placeholder.png'")
|
|
.product-price
|
|
.product-price
|
|
span Gs {{ data.list_price }}
|
|
span Gs {{ data.list_price }}
|
|
.product-qty
|
|
.product-qty
|
|
@@ -33,7 +33,7 @@
|
|
border: 1px solid #d3d3d3
|
|
border: 1px solid #d3d3d3
|
|
display: inline-block
|
|
display: inline-block
|
|
position: relative
|
|
position: relative
|
|
-
|
|
|
|
|
|
+
|
|
&:hover
|
|
&:hover
|
|
cursor: pointer
|
|
cursor: pointer
|
|
|
|
|
|
@@ -69,5 +69,3 @@
|
|
position: absolute
|
|
position: absolute
|
|
bottom: 0
|
|
bottom: 0
|
|
</style>
|
|
</style>
|
|
-
|
|
|
|
-
|
|
|