|
|
|
@ -1,7 +1,12 @@ |
|
|
|
<template> |
|
|
|
<div :id="shop.houseNumber" class="group-item" :class="{ isRow, isFood, isGuide, isActive }" @click="handleShop"> |
|
|
|
<div class="logo-wrapper" :class="{ hasFood: isFood && shop.foodMaterialList.length }"> |
|
|
|
<img loading="lazy" :src="'./static/offline' + (isFood && shop.foodMaterialList.length ? shop.foodMaterialList[0] : shop.logoUrl)" alt="" class="shop-logo" /> |
|
|
|
<div class="logo-wrapper" :class="{ hasFood: isFood && shop.foodMaterialList && shop.foodMaterialList.length }"> |
|
|
|
<img |
|
|
|
loading="lazy" |
|
|
|
:src="'./static/offline' + (isFood && shop.foodMaterialList && shop.foodMaterialList.length ? shop.foodMaterialList[0] : shop.logoUrl)" |
|
|
|
alt="" |
|
|
|
class="shop-logo" |
|
|
|
/> |
|
|
|
</div> |
|
|
|
<p class="name"> |
|
|
|
<span class="shop-name">{{ switchLanguage(shop, 'shopName') }}</span> |
|
|
|
|