Authored by 陈峰

css

@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 <header-box> 3 <header-box>
4 <template slot="right"> 4 <template slot="right">
5 <a class="right-button no-intercept" @click="like"> 5 <a class="right-button no-intercept" @click="like">
6 - <span class="count">{{likeCount ? likeCount : ''}}</span> 6 + <span class="count icon">{{likeCount ? likeCount : ''}}</span>
7 <span class="icon" :class="{ 'icon-like': !isLiked, 'icon-liked': isLiked}"> 7 <span class="icon" :class="{ 'icon-like': !isLiked, 'icon-liked': isLiked}">
8 </span> 8 </span>
9 </a> 9 </a>
@@ -37,8 +37,6 @@ @@ -37,8 +37,6 @@
37 37
38 .count { 38 .count {
39 display: inline-block; 39 display: inline-block;
40 - vertical-align: text-bottom;  
41 - margin-bottom: -8px;  
42 } 40 }
43 } 41 }
44 } 42 }
@@ -89,7 +89,7 @@ @@ -89,7 +89,7 @@
89 </p> 89 </p>
90 </div> 90 </div>
91 <div class="group-list swiper-area" v-if="floor.length > 0"> 91 <div class="group-list swiper-area" v-if="floor.length > 0">
92 - <swipe class="swipe" :style="{height: floorHeight + 'px'}"> 92 + <swipe v-if="floor.length > 0" class="swipe" :style="{height: floorHeight + 'px'}">
93 <swipe-item v-for="item in floor" :key="item.src" :style="{backgroundColor: item.bgColor}"> 93 <swipe-item v-for="item in floor" :key="item.src" :style="{backgroundColor: item.bgColor}">
94 <a v-blk-href="item.url" :title="item.title" v-if="item.url"> 94 <a v-blk-href="item.url" :title="item.title" v-if="item.url">
95 <img v-img-src="{src: item.src, width: floorImgW, height: floorImgH}"> 95 <img v-img-src="{src: item.src, width: floorImgW, height: floorImgH}">