Browse Source

feat: 菜品图

v1.0.1
jiannibang 3 years ago
parent
commit
92850aaa66
  1. 10931
      public/static/offline/JSON/getBrandShopListByFloor.json
  2. BIN
      public/static/offline/iotFile/2022/12/22/Wfz10WG5fi8_iOyXD9mBE.jpg
  3. 2
      src/base/ShopItem/ShopItem.vue
  4. 1
      src/views/Foods/Foods.vue

10931
public/static/offline/JSON/getBrandShopListByFloor.json

File diff suppressed because one or more lines are too long

BIN
public/static/offline/iotFile/2022/12/22/Wfz10WG5fi8_iOyXD9mBE.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

2
src/base/ShopItem/ShopItem.vue

@ -1,7 +1,7 @@
<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="config.sourceUrl + shop.logoUrl" alt="" class="shop-logo" />
<img loading="lazy" :src="config.sourceUrl + (isFood && shop.foodMaterialList.length ? shop.foodMaterialList[0] : shop.logoUrl)" alt="" class="shop-logo" />
</div>
<p class="name">
<span class="shop-name">{{ switchLanguage(shop, 'shopName') }}</span>

1
src/views/Foods/Foods.vue

@ -22,7 +22,6 @@ Promise.all([getBrandListByFloor()]).then(([_brandList]) => {
name: item.name,
shopList: item.shopList.filter(_ => _.isSpecial)
}))
selectedList.value = list
})

Loading…
Cancel
Save