Merge branch 'develop' of git.yoho.cn:fe/yohoblk-wap into develop
Showing
1 changed file
with
13 additions
and
1 deletions
1 | <template> | 1 | <template> |
2 | <div class="brand-share"> | 2 | <div class="brand-share"> |
3 | <img class="brand-top-box" v-bind:src="shopInfo.shopBg | resize 750 478"> | 3 | <img class="brand-top-box" v-bind:src="shopInfo.shopBg | resize 750 478"> |
4 | - <div class="brand-title">{{ shopInfo.shopName }}</div> | 4 | + <div v-if="shopInfo.shopLogo" class="brand-logo"><img v-bind:src="shopInfo.shopLogo | resize 120 80"></div> |
5 | + <div v-else class="brand-title">{{ shopInfo.shopName }}</div> | ||
5 | <div class="brand-intro">{{ shopInfo.shopIntro }}</div> | 6 | <div class="brand-intro">{{ shopInfo.shopIntro }}</div> |
6 | <div class="tip">进入 BLK 选购潮品</div> | 7 | <div class="tip">进入 BLK 选购潮品</div> |
7 | <div class="icon arrow"></div> | 8 | <div class="icon arrow"></div> |
@@ -15,6 +16,17 @@ | @@ -15,6 +16,17 @@ | ||
15 | width: 100%; | 16 | width: 100%; |
16 | } | 17 | } |
17 | 18 | ||
19 | + .brand-logo { | ||
20 | + width: 120px; | ||
21 | + height: 80px; | ||
22 | + margin: 30px; | ||
23 | + | ||
24 | + img { | ||
25 | + width: 120px; | ||
26 | + height: 80px; | ||
27 | + } | ||
28 | + } | ||
29 | + | ||
18 | .brand-title { | 30 | .brand-title { |
19 | margin: 30px; | 31 | margin: 30px; |
20 | font-weight: 700; | 32 | font-weight: 700; |
-
Please register or login to post a comment