Showing
1 changed file
with
12 additions
and
1 deletions
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <div class="topic-name">{{data.topicName}}</div> | 4 | <div class="topic-name">{{data.topicName}}</div> |
5 | <p class="topic-desc">{{data.topicDesc}}</p> | 5 | <p class="topic-desc">{{data.topicDesc}}</p> |
6 | <div class="topic-extra"> | 6 | <div class="topic-extra"> |
7 | - <label v-show="+data.articleAmount" class="att-amount">{{data.articleAmount}}人参与讨论</label> | 7 | + <label class="att-amount" :class="{invisible: !data.articleAmount}">{{data.articleAmount}}人参与讨论</label> |
8 | <WidgetFollow v-if="+data.allowAttention" class="att-click-wrap" :topic-id="data.topicId" :follow="data.hasAttention" :share="share" @on-follow="onFollow"></WidgetFollow> | 8 | <WidgetFollow v-if="+data.allowAttention" class="att-click-wrap" :topic-id="data.topicId" :follow="data.hasAttention" :share="share" @on-follow="onFollow"></WidgetFollow> |
9 | </div> | 9 | </div> |
10 | </div> | 10 | </div> |
@@ -55,6 +55,17 @@ export default { | @@ -55,6 +55,17 @@ export default { | ||
55 | color: #fff; | 55 | color: #fff; |
56 | position: relative; | 56 | position: relative; |
57 | 57 | ||
58 | + &:before { | ||
59 | + content: ""; | ||
60 | + height: 1px; | ||
61 | + position: absolute; | ||
62 | + top: -1px; | ||
63 | + left: -10px; | ||
64 | + right: -10px; | ||
65 | + z-index: 1; | ||
66 | + box-shadow: 0 0 160px 10px #000; | ||
67 | + } | ||
68 | + | ||
58 | .banner-main { | 69 | .banner-main { |
59 | height: 240px; | 70 | height: 240px; |
60 | } | 71 | } |
-
Please register or login to post a comment