This commit is contained in:
duanliang
2025-05-08 20:29:03 +08:00
parent 3081fee3b6
commit 3763508fab

View File

@@ -20,7 +20,7 @@
</div>
</div>
</div>
<div class="box-2 mr-8">
<div class="box-2 mr-8" :class="homeStore.amplify?'':'coll-box'">
<div class="flex justify-center">
<div class="top flex justify-evenly">
<count-item label="今日舆情总数" :count="total" suffix="条" color="#ffffff" />
@@ -41,7 +41,7 @@
</div>
</div>
<div class="flex mt-8">
<div class="box-2 mr-8 rela">
<div class="box-2 mr-8 rela" :class="homeStore.amplify?'':'coll-box'">
<Title1 title="舆情指数" />
<div class="select-box">
<Select
@@ -51,6 +51,7 @@
@on-change="getLineChart"
/>
</div>
<div class="coll-box-3">
<Line
:width="1500"
:height="400"
@@ -59,6 +60,8 @@
:seriesConfig="{ smooth: false, symbol: 'circle' }"
/>
</div>
</div>
<div class="box-4 mr-8 rela">
<Title1 title="地域分析" />
<Area />
@@ -82,7 +85,8 @@
getTotalApi,
getSpotApi
} from '@/api/sentiment.js'
import { useHomeStore } from '@/stores/home'
const homeStore = useHomeStore()
let seriesData = ref([])
let xAxisData = ref([])
let hotNewList = ref([])
@@ -134,6 +138,7 @@
</script>
<style scoped lang="scss">
.select-box {
position: absolute;
z-index: 99;
@@ -248,4 +253,11 @@
}
}
}
.container .coll-box{
width:100%;
.coll-box-3{
display:flex;
justify-content: center;
}
}
</style>