|
|
<template>
|
|
|
<div class="product-wrapper">
|
|
|
<ImageFormat :src="data.goodImg" width="120" height="120"></ImageFormat>
|
|
|
|
|
|
<div class="good-image">
|
|
|
<ImageFormat :src="data.goodImg" :width="240" :height="240"></ImageFormat>
|
|
|
</div>
|
|
|
<div class="product-price">
|
|
|
<div class="product-price-wrapper">
|
|
|
<div class="price">{{data.colorName}},{{data.sizeName}}</div>
|
...
|
...
|
@@ -33,6 +34,16 @@ export default { |
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.good-image {
|
|
|
width: 240px;
|
|
|
height: 240px;
|
|
|
overflow: hidden;
|
|
|
img {
|
|
|
width: 100%;
|
|
|
display: block;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.product-price {
|
|
|
display: flex;
|
|
|
height: 100%;
|
...
|
...
|
|