Browse Source

feat: 商务推荐品牌

dev
jiannibang 4 years ago
parent
commit
c25e91d39a
  1. BIN
      src/themes/business/recBg.png
  2. BIN
      src/themes/fashion/recBg.png
  3. BIN
      src/themes/highend/recBg.png
  4. BIN
      src/themes/luxury/recBg.png
  5. BIN
      src/themes/main/recBg.png
  6. 4
      src/views/Index/Index.vue

BIN
src/themes/business/recBg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 KiB

BIN
src/themes/fashion/recBg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

BIN
src/themes/highend/recBg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

BIN
src/themes/luxury/recBg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

BIN
src/themes/main/recBg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 KiB

4
src/views/Index/Index.vue

@ -43,7 +43,7 @@
<img class="item" v-for="shop of foodList" :key="shop.id" :src="config.sourceUrl + shop.logoUrl" alt="" /> <img class="item" v-for="shop of foodList" :key="shop.id" :src="config.sourceUrl + shop.logoUrl" alt="" />
</div> </div>
</div> </div>
<div v-else class="rec" @click="goPage({ title: '品牌列表', path: '/brand' })">
<div v-else class="rec" :style="{ backgroundImage: `url(${theme.images.recBg})` }" @click="goPage({ title: '品牌列表', path: '/brand' })">
<div class="title"> <div class="title">
<h1>推荐品牌</h1> <h1>推荐品牌</h1>
<h2>心动之选拥抱美好生活</h2> <h2>心动之选拥抱美好生活</h2>
@ -336,7 +336,7 @@ getActivityList(3).then(({ data }) => {
.title { .title {
margin-top: 8px; margin-top: 8px;
width: 549px; width: 549px;
background: center / cover no-repeat url(./recBg.png);
background: center / cover no-repeat;
height: 160px; height: 160px;
flex: 0 0 160px; flex: 0 0 160px;
box-shadow: 0px 15px 26px rgba(230, 201, 148, 0.3); box-shadow: 0px 15px 26px rgba(230, 201, 148, 0.3);

Loading…
Cancel
Save