|
|
|
@ -14,7 +14,20 @@ |
|
|
|
<SwiperSlide v-for="item of list" :key="item.shopCode"> |
|
|
|
<div class="relative overflow-hidden rounded-xl bg-white"> |
|
|
|
<div class="h-[180px] w-80"> |
|
|
|
<img v-lazy="item.doorMaterialList?.[0]" :data-code="item.shopCode" class="cover" alt="" /> |
|
|
|
<img |
|
|
|
v-show="item.doorMaterialList?.length" |
|
|
|
:src="item.doorMaterialList?.[0]" |
|
|
|
:data-code="item.shopCode" |
|
|
|
class="cover" |
|
|
|
alt="" |
|
|
|
/> |
|
|
|
<img |
|
|
|
v-show="!item.doorMaterialList?.length" |
|
|
|
:src="mapShopListByCode[item.shopCode]?.[0]?.logoUrl" |
|
|
|
:data-code="item.shopCode" |
|
|
|
class="cover" |
|
|
|
alt="" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<div class="absolute inset-x-0 bottom-0 flex h-10.5 items-center justify-between bg-black/20 px-3 backdrop-blur-xl"> |
|
|
|
<div class="font-700 text-14 text-white">{{ i18n(item, 'shopName') }}</div> |
|
|
|
|