|
@@ -12,10 +12,11 @@
|
|
|
<span class="scroll-item-empty">{{ index }}</span>
|
|
|
<span class="scroll-item-area">{{ item.areaName }}</span>
|
|
|
<TextTooltip :content="item.title" className="scroll-item-title"></TextTooltip>
|
|
|
- <el-tooltip placement="top">
|
|
|
- <template #content> {{ item.title }}</template>
|
|
|
- <span class="scroll-item-hotspot">{{ item.hotspotName }}</span>
|
|
|
- </el-tooltip>
|
|
|
+ <TextTooltip :content="item.hotspotName" className="scroll-item-hotspot"></TextTooltip>
|
|
|
+ <!-- <el-tooltip placement="top">
|
|
|
+ <template #content> {{ item.hotspotName }}</template>
|
|
|
+ <span class="scroll-item-hotspot">{{ item.hotspotName }}</span>
|
|
|
+ </el-tooltip>-->
|
|
|
<span class="scroll-item-num"> <CountUp :endVal="item.sumCount " :duration="2"/>次</span>
|
|
|
</div>
|
|
|
</vue3-seamless-scroll>
|
|
@@ -121,7 +122,7 @@ onMounted(() => {
|
|
|
}
|
|
|
|
|
|
&-title {
|
|
|
- width: 50%;
|
|
|
+ width: 40%;
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
white-space: nowrap;
|
|
@@ -146,7 +147,7 @@ onMounted(() => {
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
|
.scroll-item-title {
|
|
|
- width: 50%;
|
|
|
+ width: 40%;
|
|
|
margin-left: 10px;
|
|
|
line-height: initial;
|
|
|
}
|