提交 7412752b authored 作者: huhuiqing's avatar huhuiqing

风险类别详情跳转

上级 3c0c1aa3
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<el-carousel ref="carouselRef" style="height: 443px; width: 664px" :autoplay="true" :interval="30000" <el-carousel ref="carouselRef" style="height: 443px; width: 664px" :autoplay="true" :interval="30000"
arrow="never" indicator-position="none" @change="handleCarouselChange"> arrow="never" indicator-position="none" @change="handleCarouselChange">
<el-carousel-item v-for="(News, NewsIndex) in filteredHotNewsList" :key="NewsIndex"> <el-carousel-item v-for="(News, NewsIndex) in filteredHotNewsList" :key="NewsIndex">
<div class="carousel-item" @click="toDetaile(News.id, News.HotspotType)"> <div class="carousel-item" @click="toDetaile(News.hotspotID, News.hotspotType)">
<div class="carousel-title"> <div class="carousel-title">
<div> <div>
<div class="title-text"> <div class="title-text">
...@@ -471,6 +471,7 @@ const highLight = (title) => { ...@@ -471,6 +471,7 @@ const highLight = (title) => {
} }
}; };
const toDetaile = (id, type) => { const toDetaile = (id, type) => {
console.log(id, type)
if (type === '法案') { if (type === '法案') {
let path = "/billLayout/bill/introduction"; let path = "/billLayout/bill/introduction";
let query = { billId: id }; let query = { billId: id };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论