Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
2
合并请求
2
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
e14d49e9
提交
e14d49e9
authored
3月 26, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:update数据资源库
上级
d3102f1a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
28 行增加
和
21 行删除
+28
-21
index.vue
src/components/base/messageBubble/index.vue
+11
-9
index.vue
src/styles/components/GraphChart/index.vue
+1
-1
index.vue
src/views/dataLibrary/bill/countryBill/index.vue
+0
-0
index.vue
src/views/dataLibrary/components/ChartContainer/index.vue
+9
-3
index.vue
src/views/dataLibrary/decree/index.vue
+6
-7
index.vue
src/views/home/index.vue
+1
-1
没有找到文件。
src/components/base/messageBubble/index.vue
浏览文件 @
e14d49e9
...
...
@@ -10,7 +10,7 @@
</div>
<!--
<div
class=
"more"
@
click=
"handleToMoreNews"
>
{{
"更多 +"
}}
</div>
-->
</div>
<div
class=
"msg-bubble-main"
ref=
"scrollContainer"
>
<div
class=
"msg-bubble-main"
ref=
"scrollContainer"
@
mouseenter=
"stopScroll"
@
mouseleave=
"startScroll"
>
<div
class=
"message-bubble"
v-for=
"(item, index) in displayList"
:key=
"index"
@
click=
"handleClickPerson(item)"
>
<div
class=
"avatar-container"
>
<img
:src=
"item[props.imageUrl] || avatarUser"
:alt=
"item[props.name]"
class=
"avatar"
/>
...
...
@@ -110,9 +110,9 @@ const currentIndex = ref(0)
// 计算当前显示的消息列表(只显示固定数量的消息)
const
displayList
=
computed
(()
=>
{
if
(
props
.
messageList
.
length
<
4
)
{
return
props
.
messageList
}
//
if(props.messageList.length
<
4
)
{
//
return props.messageList
//
}
// 确保 messageList 存在且有数据
if
(
!
props
.
messageList
||
!
Array
.
isArray
(
props
.
messageList
)
||
props
.
messageList
.
length
===
0
)
{
return
[]
...
...
@@ -140,7 +140,7 @@ const startScroll = () => {
if
(
timer
)
clearInterval
(
timer
)
timer
=
setInterval
(()
=>
{
currentIndex
.
value
=
(
currentIndex
.
value
+
1
)
%
props
.
messageList
.
length
},
2
000
)
// 每
秒滚动一条
},
2
400
)
// 每2.4
秒滚动一条
}
// 停止滚动
...
...
@@ -152,9 +152,10 @@ const stopScroll = () => {
}
onMounted
(()
=>
{
if
(
props
.
messageList
.
length
>
3
)
{
startScroll
()
}
startScroll
()
// if (props.messageList.length > 3) {
// startScroll()
// }
})
...
...
@@ -223,12 +224,13 @@ onBeforeUnmount(() => {
}
.msg-bubble-main
{
height
:
402
px
;
height
:
395
px
;
overflow
:
hidden
;
box-sizing
:
border-box
;
padding-bottom
:
8px
;
padding-left
:
21px
;
padding-top
:
23px
;
// background: orange;
.message-bubble
{
display
:
flex
;
...
...
src/styles/components/GraphChart/index.vue
浏览文件 @
e14d49e9
...
...
@@ -11,7 +11,7 @@
`
}}
</pre>
<div
class=
"chart-box"
>
<GraphChart
:nodes=
"nodes"
:links=
"links"
layoutType=
"
forc
e"
>
<GraphChart
:nodes=
"nodes"
:links=
"links"
layoutType=
"
non
e"
>
</GraphChart>
</div>
</el-col>
...
...
src/views/dataLibrary/bill/countryBill/index.vue
浏览文件 @
e14d49e9
差异被折叠。
点击展开。
src/views/dataLibrary/components/ChartContainer/index.vue
浏览文件 @
e14d49e9
...
...
@@ -8,7 +8,7 @@
</div>
</div>
<div
class=
"header-center text-title-3-bold"
>
{{
chartTitle
}}
</div>
<div
class=
"header-right"
>
<div
class=
"header-right"
@
click=
"handleDownload"
>
<img
src=
"./assets/icons/download.svg"
alt=
""
>
</div>
</div>
...
...
@@ -17,7 +17,7 @@
<slot
name=
"chart-box"
></slot>
</div>
<div
class=
"tip-box"
>
<TipTab
/>
<TipTab
text=
"数据来源:美国各政府机构官网"
data-time=
""
/>
</div>
</div>
</div>
...
...
@@ -63,7 +63,7 @@ const defaultChartTypeList = [
]
const
emit
=
defineEmits
(
'clickChartItem'
)
const
emit
=
defineEmits
(
'clickChartItem'
,
'download'
)
const
handleClickChartItem
=
(
item
)
=>
{
chartItemList
.
value
.
forEach
(
chart
=>
{
...
...
@@ -104,6 +104,10 @@ const chartItemList = computed(() => {
return
arr
})
const
handleDownload
=
()
=>
{
emit
(
'download'
)
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -176,6 +180,8 @@ const chartItemList = computed(() => {
.tip-box
{
height
:
54px
;
box-sizing
:
border-box
;
padding
:
0
500px
;
padding-top
:
10px
;
// background: orange;
}
...
...
src/views/dataLibrary/decree/index.vue
浏览文件 @
e14d49e9
...
...
@@ -125,24 +125,23 @@
<
el
-
table
ref
=
"tableRef"
:
data
=
"tableData"
row
-
key
=
"id"
@
selection
-
change
=
"handleSelectionChange"
@
select
=
"handleSelect"
@
select
-
all
=
"handleSelectAll"
style
=
"width: 100%"
:
row
-
style
=
"{ height: '52px'
}
"
>
<
el
-
table
-
column
type
=
"selection"
width
=
"40"
/>
<
el
-
table
-
column
label
=
"
法案
名称"
width
=
"455"
>
<
el
-
table
-
column
label
=
"
政令
名称"
width
=
"455"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"title-item text-compact-bold"
@
click
=
"handleClickToDetail(scope.row)"
>
{{
scope
.
row
.
title
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
日期"
width
=
"12
0"
class
-
name
=
"date-column"
>
<
el
-
table
-
column
label
=
"
发布时间"
width
=
"18
0"
class
-
name
=
"date-column"
>
<
template
#
default
=
"scope"
>
{{
scope
.
row
.
date
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
提出人
"
width
=
"480"
>
<
el
-
table
-
column
label
=
"
发布机构
"
width
=
"480"
>
<
template
#
default
=
"scope"
>
<
span
class
=
"person-item text-compact"
@
click
=
"handlePerClick(scope.row)"
>
{{
scope
.
row
.
sponsorPersonName
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
property
=
"affiliation"
label
=
"所属党派"
width
=
"120"
/>
<
el
-
table
-
column
property
=
"originDepart"
label
=
"提出委员会"
width
=
"180"
/>
<
el
-
table
-
column
property
=
"status"
label
=
"所处阶段"
width
=
"120"
/>
<
el
-
table
-
column
property
=
"affiliation"
label
=
"涉及领域"
width
=
"120"
/>
<
el
-
table
-
column
property
=
"originDepart"
label
=
"政令类型"
width
=
"180"
/>
<
/el-table
>
<
/div
>
<
/div
>
...
...
@@ -209,7 +208,7 @@ const staticsDemensionList = ref([
}
,
yearData
:
{
}
}
,
{
...
...
src/views/home/index.vue
浏览文件 @
e14d49e9
...
...
@@ -77,7 +77,7 @@ import { useRoute } from "vue-router";
import
AiBox
from
"@/components/AiBox.vue"
;
import
{
getPersonType
}
from
"@/api/common/index"
;
// import { useDraggable } from "@vueuse/core";
import
ModuleHeader
from
'@/components/base/
m
oduleHeader/index.vue'
import
ModuleHeader
from
'@/components/base/
M
oduleHeader/index.vue'
import
Menu1
from
"@/assets/icons/overview/menu1.png"
;
import
Menu2
from
"@/assets/icons/overview/menu2.png"
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论