提交 54f74478 authored 作者: coderBryanFu's avatar coderBryanFu

update

...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div style="width: 672px; height: 486px; padding-top: 50px" id="char"></div> <div style="width: 672px; height: 486px; padding-top: 50px" id="char"></div>
</div> </div>
<div style="width: 50%; height: 620px;overflow: auto;"> <div style="width: 778px; height: 620px;overflow: auto;">
<el-table :data="tableData" style="width: 100%; margin-bottom: 20px" row-key="targetCode" border <el-table :data="tableData" style="width: 100%; margin-bottom: 20px" row-key="targetCode" border
:tree-props="{ children: 'children' }" default-expand-all :header-cell-style="{ 'border-right': 'none' }" :tree-props="{ children: 'children' }" default-expand-all :header-cell-style="{ 'border-right': 'none' }"
:cell-style="{ 'border-right': 'none' }"> :cell-style="{ 'border-right': 'none' }">
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<template #default="scope"> <template #default="scope">
<div style="display: flex;"> <div style="display: flex;">
<div class="progress-text"> <div class="progress-text">
{{ scope.row.usScore }} {{ 'NO.' + scope.row.usRank + ' ' + scope.row.usScore }}
</div> </div>
<div class="progress-wrapper left" :style="{ '--i': '40px', '--j': '-20px', marginLeft: '20px' }"> <div class="progress-wrapper left" :style="{ '--i': '40px', '--j': '-20px', marginLeft: '20px' }">
<el-progress :percentage="scope.row.chinaScore" :stroke-width="20" class="left-progress" <el-progress :percentage="scope.row.chinaScore" :stroke-width="20" class="left-progress"
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
:show-text="false" /> :show-text="false" />
</div> </div>
<div class="progress-text" style="color:rgba(206, 79, 81, 1);"> <div class="progress-text" style="color:rgba(206, 79, 81, 1);">
{{ scope.row.chinaScore }} {{ 'NO.' + scope.row.chinaRank + ' ' + scope.row.chinaScore }}
</div> </div>
</div> </div>
...@@ -621,9 +621,9 @@ const btnList = ref([ ...@@ -621,9 +621,9 @@ const btnList = ref([
} }
/* 自定义展开图标 */ /* 自定义展开图标 */
:deep(.el-table__expand-icon.is-expanded) { :deep(.el-table__expand-icon--expanded) {
background-image: url('./icon/arrowDown.png'); background-image: url('./icon/arrowDown.png');
transform: rotate(-90deg); transform: rotate(270deg) !important;
} }
/* 自定义表头背景颜色 */ /* 自定义表头背景颜色 */
......
...@@ -72,14 +72,14 @@ ...@@ -72,14 +72,14 @@
<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">
{{ News.hotspotTitle }} {{ News.hotspotTitle }}
</div> </div>
<div class="title-tag"> <div class="title-tag">
{{ News.hotspotType }} {{ News.hotspotTag }}
</div> </div>
</div> </div>
<img :src="News.hotspotPicture" style="width: 96px; height: 96px" /> <img :src="News.hotspotPicture" style="width: 96px; height: 96px" />
...@@ -455,6 +455,8 @@ const filteredHotNewsList = computed(() => { ...@@ -455,6 +455,8 @@ const filteredHotNewsList = computed(() => {
const handleToRiskManage = () => { const handleToRiskManage = () => {
// 这里的路由路径请根据实际情况修改 // 这里的路由路径请根据实际情况修改
// router.push('/riskSignalManage'); // router.push('/riskSignalManage');
const route = router.resolve("/riskSignal");
window.open(route.href, "_blank");
console.log('跳转到风险信号管理'); console.log('跳转到风险信号管理');
}; };
...@@ -469,6 +471,7 @@ const highLight = (title) => { ...@@ -469,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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论