|
|
@@ -12,6 +12,7 @@
|
|
|
alt=""
|
|
|
@click="searchFu"
|
|
|
/>
|
|
|
+ <div class="hotLength" v-if="dataAll.length">热点总数:{{ dataAll.length }}</div>
|
|
|
</div>
|
|
|
<div class="main">
|
|
|
<div class="txtNone" v-if="data.length === 0">暂无热点</div>
|
|
|
@@ -19,7 +20,7 @@
|
|
|
<span
|
|
|
:class="{ active: hotInd === index }"
|
|
|
@click="openHot(item, index)"
|
|
|
- v-for="(item, index) in data"
|
|
|
+ v-for="(item, index) in data"
|
|
|
:key="index"
|
|
|
>{{ item.info.title || "热点" }}</span
|
|
|
>
|
|
|
@@ -146,6 +147,13 @@ export default {
|
|
|
top: 5px;
|
|
|
height: 30px;
|
|
|
}
|
|
|
+ .hotLength{
|
|
|
+ position: absolute;
|
|
|
+ bottom: -22px;
|
|
|
+ left: 0;
|
|
|
+ color: #fff;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
}
|
|
|
.main {
|
|
|
margin-top: 40px;
|