Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
afe87dfb
提交
afe87dfb
authored
1月 28, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
944692dd
全部展开
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
134 行增加
和
42 行删除
+134
-42
App.vue
src/App.vue
+1
-1
index.vue
...ew/components/fourSuppress/components/addDomain/index.vue
+80
-14
index.vue
...w/components/fourSuppress/components/allElement/index.vue
+25
-11
index.vue
...omponents/fourSuppress/components/allGovernment/index.vue
+1
-1
left-icon.png
...nts/fourSuppress/components/allUnion/assets/left-icon.png
+0
-0
right-icon.png
...ts/fourSuppress/components/allUnion/assets/right-icon.png
+0
-0
index.vue
...iew/components/fourSuppress/components/allUnion/index.vue
+0
-0
index.vue
src/views/ZMOverView/index.vue
+4
-3
index.vue
src/views/bill/deepDig/processAnalysis/index.vue
+10
-3
index.vue
src/views/bill/introdoction/index.vue
+4
-4
piechart.js
src/views/bill/template/utils/piechart.js
+3
-3
index.vue
src/views/thinkTank/reportOriginal/index.vue
+6
-2
没有找到文件。
src/App.vue
浏览文件 @
afe87dfb
...
...
@@ -522,7 +522,7 @@ body {
z-index
:
999999
;
width
:
713px
;
height
:
413px
;
top
:
6
5
px
;
top
:
6
4
px
;
left
:
140px
;
box-sizing
:
border-box
;
border
:
1px
solid
rgba
(
255
,
255
,
255
,
1
);
...
...
src/views/ZMOverView/components/fourSuppress/components/addDomain/index.vue
浏览文件 @
afe87dfb
...
...
@@ -132,7 +132,7 @@
<template
v-if=
"rankType === 'institution'"
>
<div
v-for=
"(item, index) in rankList"
:key=
"index"
class=
"rank-item"
>
<div
class=
"rank-num"
:class=
"'rank-' + (index + 1)"
>
{{
index
+
1
}}
</div>
<img
:src=
"defaultImg"
alt=
""
class=
"rank-icon"
/>
<img
:src=
"
item.orgPicture ? item.orgPicture :
defaultImg"
alt=
""
class=
"rank-icon"
/>
<div
class=
"rank-name"
:title=
"item.name"
>
{{
item
.
name
}}
</div>
<div
class=
"rank-progress-container"
>
<div
class=
"rank-progress-bar"
:style=
"
{ width: getProgressWidth(item.count) }">
</div>
...
...
@@ -157,7 +157,7 @@
<div
v-for=
"(item, index) in rankList"
:key=
"index"
class=
"table-row"
>
<div
class=
"col-rank rank-num"
:class=
"'rank-' + (index + 1)"
>
{{
index
+
1
}}
</div>
<div
class=
"col-name flex-align"
>
<img
:src=
"defaultImg"
class=
"rank-icon"
/>
<img
:src=
"
item.orgPicture ? item.orgPicture :
defaultImg"
class=
"rank-icon"
/>
<span
class=
"text-ellipsis"
:title=
"item.name"
>
{{
item
.
name
}}
</span>
</div>
<div
class=
"col-domain"
>
...
...
@@ -258,6 +258,12 @@
</svg>
</div>
</div>
<div
class=
"left-btn"
@
click=
"handleLeft"
>
<img
src=
"@/assets/icons/card-btn-left.png"
alt=
""
>
</div>
<div
class=
"right-btn"
@
click=
"handleRight"
>
<img
src=
"@/assets/icons/card-btn-right.png"
alt=
""
>
</div>
</div>
</div>
</template>
...
...
@@ -282,6 +288,7 @@ import {
getDomainContainmentTimeline
}
from
"@/api/zmOverview/allDomains"
;
import
{
getUSGovernmentLatestDynamic
,
getDepartmentList
,
getSanTypeList
}
from
"@/api/allGovernment.js"
;
import
{
ElMessage
}
from
"element-plus"
;
const
router
=
useRouter
();
...
...
@@ -452,6 +459,8 @@ const handleGetDomainContainmentTimeline = async () => {
// 处理返回的数据结构
const
processedData
=
processTimelineData
(
res
.
data
);
timelineList
.
value
=
processedData
;
console
.
log
(
'timelineList'
,
timelineList
.
value
);
}
}
catch
(
error
)
{
console
.
error
(
"获取美对我领域打压遏制时间线失败:"
,
error
);
...
...
@@ -466,7 +475,10 @@ const rowHeight = 230;
const
startX
=
250
;
const
startY
=
45
;
const
timeLineActiveIndex
=
ref
(
0
)
const
axisDates
=
computed
(()
=>
{
const
dates
=
[];
if
(
timelineList
.
value
.
length
>
0
)
{
dates
.
push
({
...
...
@@ -486,11 +498,40 @@ const axisDates = computed(() => {
y
:
lastNode
.
y
-
25
});
}
return
dates
;
return
dates
});
const
handleLeft
=
()
=>
{
if
(
timeLineActiveIndex
.
value
===
0
)
{
ElMessage
.
warning
(
'当前已经是第一组数据!'
)
}
else
{
timeLineActiveIndex
.
value
--
}
}
const
handleRight
=
()
=>
{
if
(
timeLineActiveIndex
.
value
===
(
timelineList
.
value
.
length
%
9
))
{
ElMessage
.
warning
(
'当前已经是最后一组数据!'
)
}
else
{
timeLineActiveIndex
.
value
++
}
console
.
log
(
'axisDates'
,
axisDates
.
value
);
console
.
log
(
'timelineNodes'
,
timelineNodes
.
value
);
}
const
timelineNodes
=
computed
(()
=>
{
return
timelineList
.
value
.
map
((
item
,
index
)
=>
{
// 计算起始索引:activeIndex * 9
const
startIndex
=
timeLineActiveIndex
.
value
*
9
;
// 计算结束索引:起始索引 + 9(因为slice的第二个参数是结束索引,不包含)
const
endIndex
=
timeLineActiveIndex
.
value
+
9
;
const
showTimeLineList
=
timelineList
.
value
.
slice
(
startIndex
,
endIndex
);
return
showTimeLineList
.
map
((
item
,
index
)
=>
{
const
row
=
Math
.
floor
(
index
/
maxPerRow
);
const
col
=
index
%
maxPerRow
;
...
...
@@ -517,7 +558,7 @@ const timelineNodes = computed(() => {
contentWidth
:
320
,
contentHeight
:
180
};
})
;
})
});
const
getColorName
=
tag
=>
{
...
...
@@ -1251,7 +1292,7 @@ watch(activeDate, () => {
.bottom-content
{
display
:
flex
;
gap
:
17px
;
background
:
rgba
(
255
,
255
,
255
,
0
.65
);
.news-section
{
width
:
792px
;
height
:
700px
;
...
...
@@ -1343,7 +1384,7 @@ watch(activeDate, () => {
.select-box
{
width
:
691px
;
height
:
32px
;
margin
:
1
7px
auto
36
px
auto
;
margin
:
1
0px
auto
5
px
auto
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
...
...
@@ -1398,12 +1439,12 @@ watch(activeDate, () => {
}
.main-box
{
width
:
100%
;
height
:
5
6
7px
;
padding
:
24px
51px
51
px
27px
;
height
:
5
7
7px
;
padding
:
24px
30px
0
px
27px
;
box-sizing
:
border-box
;
display
:
flex
;
flex-direction
:
column
;
gap
:
2
1
px
;
gap
:
2
8
px
;
overflow-y
:
auto
;
.rank-item
{
display
:
flex
;
...
...
@@ -1664,7 +1705,7 @@ watch(activeDate, () => {
box-sizing
:
border-box
;
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
background
:
rgba
(
255
,
255
,
255
,
0
.65
)
;
background
:
transparent
;
.news-item-title
{
display
:
flex
;
...
...
@@ -1738,6 +1779,33 @@ watch(activeDate, () => {
border-radius
:
10px
;
background-color
:
rgba
(
255
,
255
,
255
,
0
.65
);
box-shadow
:
0
0
20px
rgba
(
25
,
69
,
130
,
0
.1
);
position
:
relative
;
.left-btn
{
position
:
absolute
;
z-index
:
9999
;
left
:
0
;
top
:
345px
;
width
:
24px
;
height
:
48px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.right-btn
{
position
:
absolute
;
z-index
:
9999
;
right
:
0
;
top
:
345px
;
width
:
24px
;
height
:
48px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.bottom-item
{
width
:
100%
;
...
...
@@ -1794,7 +1862,6 @@ watch(activeDate, () => {
width
:
100%
;
height
:
652px
;
position
:
relative
;
.nav-btn
{
position
:
absolute
;
top
:
50%
;
...
...
@@ -1816,8 +1883,7 @@ watch(activeDate, () => {
.svg-container
{
width
:
100%
;
height
:
100%
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
overflow
:
hidden
;
display
:
block
;
padding
:
0
;
box-sizing
:
border-box
;
...
...
src/views/ZMOverView/components/fourSuppress/components/allElement/index.vue
浏览文件 @
afe87dfb
...
...
@@ -717,10 +717,10 @@ onUnmounted(() => {
.
box1
-
main
{
height
:
836
px
;
overflow
:
hidden
;
overflow
-
y
:
auto
;
background
:
rgba
(
255
,
255
,
255
,
0.65
);
.
box1
-
item
{
width
:
430
px
;
height
:
167
px
;
padding
:
12
px
0
;
box
-
sizing
:
border
-
box
;
border
-
bottom
:
1
px
solid
rgba
(
234
,
236
,
238
,
1
);
...
...
@@ -747,7 +747,7 @@ onUnmounted(() => {
width
:
388
px
;
margin
-
left
:
12
px
;
.
title
{
//
height: 30px;
height
:
30
px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font
-
family
:
Microsoft
YaHei
;
font
-
style
:
Bold
;
...
...
@@ -756,20 +756,29 @@ onUnmounted(() => {
line
-
height
:
30
px
;
letter
-
spacing
:
0
px
;
text
-
align
:
left
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
}
.
content
{
height
:
48
px
;
color
:
rgba
(
95
,
101
,
108
,
1
);
font
-
family
:
Microsoft
YaHei
;
font
-
style
:
Regular
;
font
-
size
:
16
px
;
font
-
weight
:
400
;
line
-
height
:
30
px
;
line
-
height
:
24
px
;
letter
-
spacing
:
0
px
;
text
-
align
:
justify
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
display
:
-
webkit
-
box
;
-
webkit
-
box
-
orient
:
vertical
;
-
webkit
-
line
-
clamp
:
2
;
}
.
tag
-
box
{
margin
-
top
:
4
px
;
//
height: 28px;
height
:
28
px
;
display
:
flex
;
flex
-
wrap
:
wrap
;
gap
:
8
px
;
...
...
@@ -998,7 +1007,7 @@ onUnmounted(() => {
margin
:
0
auto
;
margin
-
top
:
8
px
;
width
:
283
px
;
max
-
height
:
172
px
;
height
:
150
px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font
-
family
:
Microsoft
YaHei
;
font
-
style
:
Regular
;
...
...
@@ -1008,13 +1017,15 @@ onUnmounted(() => {
letter
-
spacing
:
0
px
;
text
-
align
:
justify
;
overflow
:
hidden
;
// overflow-y: auto;
text
-
overflow
:
ellipsis
;
display
:
-
webkit
-
box
;
-
webkit
-
box
-
orient
:
vertical
;
-
webkit
-
line
-
clamp
:
5
;
}
.
area
-
box
{
width
:
283
px
;
margin
:
0
auto
;
margin
-
top
:
8
px
;
margin
-
top
:
2
8
px
;
// height: 24px;
display
:
flex
;
flex
-
wrap
:
wrap
;
...
...
@@ -1245,7 +1256,7 @@ onUnmounted(() => {
margin
:
0
auto
;
margin
-
top
:
8
px
;
width
:
283
px
;
max
-
height
:
172
px
;
height
:
150
px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
font
-
family
:
Microsoft
YaHei
;
font
-
style
:
Regular
;
...
...
@@ -1255,12 +1266,15 @@ onUnmounted(() => {
letter
-
spacing
:
0
px
;
text
-
align
:
justify
;
overflow
:
hidden
;
// overflow-y: auto;
text
-
overflow
:
ellipsis
;
display
:
-
webkit
-
box
;
-
webkit
-
box
-
orient
:
vertical
;
-
webkit
-
line
-
clamp
:
5
;
}
.
area
-
box
{
width
:
283
px
;
margin
:
0
auto
;
margin
-
top
:
8
px
;
margin
-
top
:
2
8
px
;
// height: 24px;
display
:
flex
;
flex
-
wrap
:
wrap
;
...
...
src/views/ZMOverView/components/fourSuppress/components/allGovernment/index.vue
浏览文件 @
afe87dfb
...
...
@@ -326,7 +326,7 @@ const getUSGovernmentSanctionHistoryData = async () => {
else
if
(
item
.
status
===
4
)
level
=
"white"
;
grouped
[
deptName
].
events
.
push
({
date
:
item
.
postDate
?
item
.
post
Date
.
replace
(
/^
(\d{4})
-
(\d{2})
-
(\d{2})
$/
,
"$1年$2月$3日"
)
:
""
,
date
:
item
.
endDate
?
item
.
end
Date
.
replace
(
/^
(\d{4})
-
(\d{2})
-
(\d{2})
$/
,
"$1年$2月$3日"
)
:
""
,
content
:
item
.
name
||
item
.
summary
,
tags
:
item
.
techDomainList
?
item
.
techDomainList
.
slice
(
0
,
2
)
:
[],
level
:
level
,
...
...
src/views/ZMOverView/components/fourSuppress/components/allUnion/assets/left-icon.png
0 → 100644
浏览文件 @
afe87dfb
1.2 KB
src/views/ZMOverView/components/fourSuppress/components/allUnion/assets/right-icon.png
0 → 100644
浏览文件 @
afe87dfb
1.2 KB
src/views/ZMOverView/components/fourSuppress/components/allUnion/index.vue
浏览文件 @
afe87dfb
差异被折叠。
点击展开。
src/views/ZMOverView/index.vue
浏览文件 @
afe87dfb
...
...
@@ -81,7 +81,7 @@
</
template
>
<
script
setup
>
import
{
onMounted
,
ref
,
computed
,
provide
}
from
"vue"
;
import
{
onMounted
,
onUnmounted
,
ref
,
computed
,
provide
}
from
"vue"
;
import
{
useRouter
}
from
"vue-router"
;
import
{
ElMessage
}
from
"element-plus"
;
import
background
from
"./assets/images/backgroundBT.png"
;
...
...
@@ -159,6 +159,8 @@ provide("activeDate", activeDate);
const
handleDateClick
=
type
=>
{
activeDate
.
value
=
type
;
};
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
@@ -295,12 +297,11 @@ const handleDateClick = type => {
cursor
:
pointer
;
border-top-right-radius
:
10px
;
border-bottom-right-radius
:
10px
;
&
:hover
{
&
:hover
{
background
:
var
(
--
color-bg-hover
);
// span{
// color: var(--color-main-active);
// }
}
img
{
...
...
src/views/bill/deepDig/processAnalysis/index.vue
浏览文件 @
afe87dfb
...
...
@@ -21,7 +21,7 @@
<div
class=
"box1-main-center"
id=
"chart1"
></div>
<div
class=
"box1-main-footer"
>
<div
class=
"box-footer-left"
>
<img
src=
"
../assets/icons/right-icon1
.png"
alt=
""
/>
<img
src=
"
@/assets/icons/box-footer-left-icon
.png"
alt=
""
/>
</div>
<div
class=
"box-footer-center"
>
从立法耗时角度分析,大而美法案从提交到签署仅39天,远快于历史同类法案(通常需6个月以上),立法速度极快。
...
...
@@ -52,7 +52,7 @@
<div
class=
"box2-main-center"
id=
"chart2"
></div>
<div
class=
"box2-main-footer"
>
<div
class=
"box-footer-left"
>
<img
src=
"
../assets/icons/right-icon1
.png"
alt=
""
/>
<img
src=
"
@/assets/icons/box-footer-left-icon
.png"
alt=
""
/>
</div>
<div
class=
"box-footer-center"
>
法案本质是共和党与资本集团的深度联盟,共和党获超
...
...
@@ -403,7 +403,7 @@
<
/div
>
<
div
class
=
"box3-main-footer"
>
<
div
class
=
"box-footer-left"
>
<
img
src
=
"
../assets/icons/right-icon1
.png"
alt
=
""
/>
<
img
src
=
"
@/assets/icons/box-footer-left-icon
.png"
alt
=
""
/>
<
/div
>
<
div
class
=
"box-footer-center"
>
法案以
218
:
214
(众议院)和
51
:
50
(副总统决胜票)微弱优势强行通过,暴露两党极端对立、党内倒戈频发的特点。
...
...
@@ -1219,6 +1219,7 @@ onMounted(async () => {
width
:
130
px
;
display
:
flex
;
justify
-
content
:
flex
-
end
;
align
-
items
:
center
;
.
icon
{
width
:
16
px
;
height
:
16
px
;
...
...
@@ -1254,6 +1255,9 @@ onMounted(async () => {
// border-right: 1px solid rgba(243, 243, 244, 1);
width
:
215
px
;
.
box1
-
right
-
top
{
height
:
20
px
;
box
-
sizing
:
border
-
box
;
padding
-
top
:
8
px
;
:
deep
(.
el
-
progress
-
bar__inner
)
{
background
:
rgba
(
22
,
119
,
255
,
1
);
border
-
radius
:
0
;
...
...
@@ -1264,6 +1268,9 @@ onMounted(async () => {
}
}
.
box1
-
right
-
bottom
{
height
:
20
px
;
box
-
sizing
:
border
-
box
;
padding
-
top
:
8
px
;
:
deep
(.
el
-
progress
-
bar__inner
)
{
background
:
rgba
(
255
,
172
,
77
,
1
);
border
-
radius
:
0
;
...
...
src/views/bill/introdoction/index.vue
浏览文件 @
afe87dfb
...
...
@@ -899,7 +899,7 @@ onMounted(() => {
position
:
relative
;
.
usr
-
icon1
{
position
:
absolute
;
bottom
:
0
px
;
bottom
:
0
;
left
:
18
px
;
width
:
48
px
;
height
:
48
px
;
...
...
@@ -1076,7 +1076,7 @@ onMounted(() => {
}
.
usr
-
icon1
{
position
:
absolute
;
//
bottom: -15px;
bottom
:
-
15
px
;
left
:
55
px
;
width
:
48
px
;
height
:
48
px
;
...
...
@@ -1091,7 +1091,7 @@ onMounted(() => {
}
.
usr
-
icon2
{
position
:
absolute
;
//
bottom: -15px;
bottom
:
-
15
px
;
right
:
55
px
;
width
:
48
px
;
height
:
48
px
;
...
...
@@ -1110,7 +1110,7 @@ onMounted(() => {
margin
-
top
:
30
px
;
.
info
-
right
-
title
{
height
:
22
px
;
//
height: 22px;
color
:
var
(
--
color
-
main
-
active
);
font
-
family
:
Microsoft
YaHei
;
font
-
size
:
20
px
;
...
...
src/views/bill/template/utils/piechart.js
浏览文件 @
afe87dfb
...
...
@@ -17,17 +17,17 @@ const getPieChart = (data, colorList) => {
formatter
:
'{name|{b}}
\
n{time|{c} 条 {d}%}'
,
minMargin
:
5
,
edgeDistance
:
10
,
lineHeight
:
18
,
lineHeight
:
24
,
rich
:
{
name
:
{
color
:
'rgba(59, 65, 75, 1)'
,
fontFamily
:
'Microsoft YaHei'
,
fontSize
:
1
4
,
fontSize
:
1
6
,
fontWeight
:
'bold'
,
padding
:
[
10
,
0
,
10
,
0
]
},
time
:
{
fontSize
:
1
4
,
fontSize
:
1
6
,
fontFamily
:
'Microsoft YaHei'
,
color
:
'#rgba(95, 101, 108, 1)'
,
padding
:
[
10
,
0
,
10
,
0
]
...
...
src/views/thinkTank/reportOriginal/index.vue
浏览文件 @
afe87dfb
...
...
@@ -108,16 +108,20 @@ onMounted(async () => {
<
style
lang=
"scss"
scoped
>
.wrap
{
width
:
100%
;
// height: 984px;
height
:
100%
;
overflow
:
hidden
;
overflow-y
:
auto
;
.header
{
width
:
100%
;
box-sizing
:
border-box
;
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
border-top
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
position
:
sticky
;
top
:
0
;
z-index
:
99
;
.header-top
{
margin-top
:
20px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论