...
|
...
|
@@ -11,7 +11,9 @@ |
|
|
:class="filterParams.brand.includes(item.itemId) && 'item-img-selected'"
|
|
|
v-for="(item,i) in filter.itemList" :style="i===0 && 'margin-left:1rem'"
|
|
|
@click="select({filterId:filter.filterId, itemId:item.itemId, row})">
|
|
|
<img class="item-img" :src="(item.itemUrl || '').replace('http://', '//').replace('{width}', 140).replace('{height}', 70)" />
|
|
|
<div class="item-img" >
|
|
|
<img :src="(item.itemUrl || '').replace('http://', '//').replace('{width}', 280).replace('{height}', 140)" />
|
|
|
</div>
|
|
|
<div class="item-img-text">{{item.itemName}}</div>
|
|
|
</div>
|
|
|
<div class="item-text item-size" v-if="filter.filterId === 'size'" :style="i===0 && 'margin-left:1rem'"
|
...
|
...
|
@@ -316,6 +318,11 @@ export default { |
|
|
width: 140px;
|
|
|
height: 70px;
|
|
|
margin-bottom: 22px;
|
|
|
|
|
|
& > img {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.item-img-selected {
|
...
|
...
|
|