Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
7d4aa2d3
提交
7d4aa2d3
authored
3月 17, 2026
作者:
张烨
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:优化小问题
上级
672ee8d7
全部展开
显示空白字符变更
内嵌
并排
正在显示
12 个修改的文件
包含
106 行增加
和
128 行删除
+106
-128
home.js
src/api/decree/home.js
+2
-2
decree.js
src/router/modules/decree.js
+1
-1
index.vue
src/views/decree/decreeHome/index.vue
+0
-0
index.vue
src/views/decree/decreeLayout/index.vue
+26
-80
ChartChain.vue
src/views/decree/decreeLayout/influence/com/ChartChain.vue
+1
-1
index.vue
src/views/decree/decreeLayout/overview/background/index.vue
+30
-11
index.vue
...views/decree/decreeLayout/overview/introduction/index.vue
+10
-13
index.vue
src/views/decree/decreeLayout/overview/measures/index.vue
+1
-1
download.png
src/views/decree/decreeOriginal/assets/icons/download.png
+0
-0
search.png
src/views/decree/decreeOriginal/assets/icons/search.png
+0
-0
index.vue
src/views/decree/decreeOriginal/index.vue
+34
-18
vite.config.js
vite.config.js
+1
-1
没有找到文件。
src/api/decree/home.js
浏览文件 @
7d4aa2d3
import
request
from
"@/api/request.js"
;
import
request
from
"@/api/request.js"
;
// 最新科技政令
// 最新科技政令
export
function
getDepartmentList
()
{
export
function
getDepartmentList
(
params
)
{
return
request
({
return
request
({
method
:
'GET'
,
method
:
'GET'
,
url
:
`/api/administrativeDict/department`
,
url
:
`/api/administrativeDict/department
?pageSize
`
,
})
})
}
}
...
...
src/router/modules/decree.js
浏览文件 @
7d4aa2d3
...
@@ -18,7 +18,7 @@ const decreeRoutes = [
...
@@ -18,7 +18,7 @@ const decreeRoutes = [
name
:
"Decree"
,
name
:
"Decree"
,
component
:
Decree
,
component
:
Decree
,
meta
:
{
meta
:
{
title
:
"
政令概览
"
title
:
"
科技政令概况
"
}
}
},
},
{
{
...
...
src/views/decree/decreeHome/index.vue
浏览文件 @
7d4aa2d3
差异被折叠。
点击展开。
src/views/decree/decreeLayout/index.vue
浏览文件 @
7d4aa2d3
...
@@ -8,22 +8,16 @@
...
@@ -8,22 +8,16 @@
<div
class=
"layout-main-header-left-box"
>
<div
class=
"layout-main-header-left-box"
>
<div
class=
"left-box-top"
>
<div
class=
"left-box-top"
>
<div
class=
"icon"
>
<div
class=
"icon"
>
<img
<img
:src=
"summaryInfo.imageUrl || USALogo"
alt=
""
/>
v-if=
"summaryInfo.imageUrl"
:src=
"summaryInfo.imageUrl"
alt=
""
style=
"height: 40px; margin-top: 12px"
/>
<img
v-else
:src=
"USALogo"
alt=
""
/>
</div>
</div>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"info-box1
"
>
{{
summaryInfo
.
name
}}
</div>
<div
class=
"info-box1
one-line-ellipsis"
>
{{
summaryInfo
.
name
||
"--"
}}
</div>
<div
class=
"info-box2"
>
<div
class=
"info-box2"
>
<div
class=
"info-box2-item
item1"
>
{{
summaryInfo
.
postDate
}}
</div>
<div
class=
"info-box2-item
"
>
{{
summaryInfo
.
postDate
||
"--"
}}
</div>
|
|
<div
class=
"info-box2-item
item2"
>
{{
summaryInfo
.
orgName
}}
</div>
<div
class=
"info-box2-item
"
>
{{
summaryInfo
.
orgName
||
"--"
}}
</div>
|
|
<div
class=
"info-box2-item
item3"
>
{{
summaryInfo
.
ename
}}
</div>
<div
class=
"info-box2-item
one-line-ellipsis"
>
{{
summaryInfo
.
ename
||
"--"
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -47,8 +41,8 @@
...
@@ -47,8 +41,8 @@
</div>
</div>
<div
class=
"layout-main-header-right-box"
>
<div
class=
"layout-main-header-right-box"
>
<div
class=
"right-box-top"
>
<div
class=
"right-box-top"
>
<div
class=
"time"
>
{{
summaryInfo
.
postDate
}}
</div>
<div
class=
"time"
>
{{
summaryInfo
.
postDate
||
"--"
}}
</div>
<div
class=
"name"
>
{{
summaryInfo
.
orgName
}}
</div>
<div
class=
"name"
>
{{
summaryInfo
.
orgName
||
"--"
}}
</div>
</div>
</div>
<div
class=
"right-box-bottom"
>
<div
class=
"right-box-bottom"
>
<div
class=
"btn"
@
click=
"handleShowReport"
>
<div
class=
"btn"
@
click=
"handleShowReport"
>
...
@@ -377,9 +371,9 @@ onMounted(() => {
...
@@ -377,9 +371,9 @@ onMounted(() => {
flex-direction
:
column
;
flex-direction
:
column
;
.header-main
{
.header-main
{
width
:
100%
;
width
:
100%
;
b
ackground-color
:
#fff
;
b
order-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
)
;
box-shadow
:
0px
4px
10px
0px
rgba
(
0
,
0
,
0
,
0
.05
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
overflow
:
hidden
;
background
:
rgba
(
255
,
255
,
255
,
1
)
;
}
}
.layout-main-header
{
.layout-main-header
{
width
:
1600px
;
width
:
1600px
;
...
@@ -396,30 +390,32 @@ onMounted(() => {
...
@@ -396,30 +390,32 @@ onMounted(() => {
margin
:
0
auto
;
margin
:
0
auto
;
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
}
}
.layout-main-header-left-box
{
.layout-main-header-left-box
{
width
:
1100px
;
width
:
20px
;
margin-top
:
13px
;
flex
:
auto
;
margin-top
:
12px
;
.left-box-top
{
.left-box-top
{
height
:
64px
;
height
:
64px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
.icon
{
.icon
{
width
:
64px
;
width
:
64px
;
height
:
64px
;
height
:
40px
;
border-radius
:
4px
;
overflow
:
hidden
;
overflow
:
hidden
;
img
{
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
object-fit
:
fill
;
}
}
}
}
.info
{
.info
{
width
:
700px
;
margin-left
:
10px
;
margin-left
:
9px
;
margin-right
:
40px
;
width
:
20px
;
flex
:
auto
;
.info-box1
{
.info-box1
{
width
:
700px
;
width
:
100%
;
color
:
rgba
(
59
,
65
,
75
,
1
);
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-family
:
Microsoft
YaHei
;
font-size
:
20px
;
font-size
:
20px
;
...
@@ -428,9 +424,6 @@ onMounted(() => {
...
@@ -428,9 +424,6 @@ onMounted(() => {
letter-spacing
:
0px
;
letter-spacing
:
0px
;
text-align
:
left
;
text-align
:
left
;
margin-top
:
5px
;
margin-top
:
5px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.info-box2
{
.info-box2
{
margin-top
:
5px
;
margin-top
:
5px
;
...
@@ -444,15 +437,13 @@ onMounted(() => {
...
@@ -444,15 +437,13 @@ onMounted(() => {
letter-spacing
:
0px
;
letter-spacing
:
0px
;
text-align
:
left
;
text-align
:
left
;
display
:
flex
;
display
:
flex
;
margin-left
:
-10px
;
.info-box2-item
{
.info-box2-item
{
white-space
:
nowrap
;
padding
:
0
10px
;
padding
:
0
10px
;
}
}
.item3
{
.info-box2-item
:first-child
{
max-width
:
420px
;
padding-left
:
0px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
}
}
}
}
...
@@ -498,9 +489,9 @@ onMounted(() => {
...
@@ -498,9 +489,9 @@ onMounted(() => {
}
}
}
}
.layout-main-header-right-box
{
.layout-main-header-right-box
{
width
:
450px
;
margin-top
:
19px
;
.right-box-top
{
.right-box-top
{
white-space
:
nowrap
;
padding-top
:
11px
;
.time
{
.time
{
height
:
24px
;
height
:
24px
;
line-height
:
24px
;
line-height
:
24px
;
...
@@ -710,49 +701,5 @@ onMounted(() => {
...
@@ -710,49 +701,5 @@ onMounted(() => {
}
}
}
}
}
}
// .tool-box {
// position: fixed;
// z-index: 10000;
// bottom: 80px;
// left: 0;
// width: 48px;
// height: 144px;
// border-radius: 0px 10px 10px 0px;
// box-shadow: 0px 0px 15px 0px rgba(22, 119, 255, 0.1);
// background: rgba(255, 255, 255, 1);
// .tool1 {
// width: 17px;
// height: 18px;
// margin-top: 17px;
// margin-left: 16px;
// cursor: pointer;
// img {
// width: 100%;
// height: 100%;
// }
// }
// .tool2 {
// width: 22px;
// height: 20px;
// margin-top: 26px;
// margin-left: 14px;
// cursor: pointer;
// img {
// width: 100%;
// height: 100%;
// }
// }
// .tool3 {
// width: 20px;
// height: 20px;
// margin-top: 25px;
// margin-left: 15px;
// cursor: pointer;
// img {
// width: 100%;
// height: 100%;
// }
// }
// }
}
}
</
style
>
</
style
>
\ No newline at end of file
src/views/decree/decreeLayout/influence/com/ChartChain.vue
浏览文件 @
7d4aa2d3
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
<
script
setup
name
=
"ChartChain"
>
<
script
setup
name
=
"ChartChain"
>
import
{
ref
,
onMounted
}
from
"vue"
;
import
{
ref
,
onMounted
}
from
"vue"
;
import
defaultIcon2
from
"@/assets/icons/default-icon2.png"
;
import
defaultIcon2
from
"@/assets/icons/default-icon2.png"
;
import
noticeIcon
from
"./assets/images/notice-icon.png"
;
import
noticeIcon
from
".
.
/assets/images/notice-icon.png"
;
import
{
getDeepMiningSelect
,
getDeepMiningIndustry
,
getDeepMiningIndustryFishbone
,
getDeepMiningIndustryEntity
}
from
"@/api/exportControlV2.0"
;
import
{
getDeepMiningSelect
,
getDeepMiningIndustry
,
getDeepMiningIndustryFishbone
,
getDeepMiningIndustryEntity
}
from
"@/api/exportControlV2.0"
;
// 缩放功能处理
// 缩放功能处理
...
...
src/views/decree/decreeLayout/overview/background/index.vue
浏览文件 @
7d4aa2d3
...
@@ -37,14 +37,15 @@
...
@@ -37,14 +37,15 @@
<div
class=
"box2-main"
>
<div
class=
"box2-main"
>
<div
class=
"custom-collapse"
>
<div
class=
"custom-collapse"
>
<el-collapse
v-model=
"dependActive"
>
<el-collapse
v-model=
"dependActive"
>
<el-collapse-item
v-for=
"(item, index) in dependList"
:key=
"item.billId"
title=
"Consistency"
:name=
"item.billId"
>
<el-collapse-item
v-for=
"(item, index) in dependList"
:key=
"item.billId"
:name=
"item.billId"
>
<
template
#
icon
>
<
template
#
icon
>
<el-icon><ArrowDownBold
/></el-icon>
<el-icon
v-if=
"dependActive.includes(item.billId)"
><ArrowDownBold
/></el-icon>
<el-icon
v-else
><ArrowUpBold
/></el-icon>
</
template
>
</
template
>
<
template
#
title
>
<
template
#
title
>
<div
class=
"custom-collapse-title"
>
<div
class=
"custom-collapse-title"
>
<div
class=
"custom-collapse-index"
>
{{
index
+
1
}}
</div>
<div
class=
"custom-collapse-index"
>
{{
index
+
1
}}
</div>
<div
class=
"custom-collapse-name one-line-ellipsis"
>
{{
item
.
title
}}
</div>
<div
class=
"custom-collapse-name one-line-ellipsis"
@
click
.
stop=
"handleClickDecree(item)"
>
{{
item
.
title
}}
</div>
</div>
</div>
</
template
>
</
template
>
<div
class=
"custom-collapse-content"
>
<div
class=
"custom-collapse-content"
>
...
@@ -192,6 +193,20 @@ const handleGetLaws = async () => {
...
@@ -192,6 +193,20 @@ const handleGetLaws = async () => {
console
.
error
(
"获取法律依据数据失败"
,
error
);
console
.
error
(
"获取法律依据数据失败"
,
error
);
}
}
};
};
// 跳转科技法案详情页
const
handleClickDecree
=
decree
=>
{
window
.
sessionStorage
.
setItem
(
"billId"
,
decree
.
billId
);
window
.
sessionStorage
.
setItem
(
"curTabName"
,
decree
.
title
);
const
route
=
router
.
resolve
({
path
:
"/billLayout"
,
query
:
{
billId
:
decree
.
billId
}
});
console
.
log
(
route
);
window
.
open
(
route
.
href
,
"_blank"
);
};
onMounted
(()
=>
{
onMounted
(()
=>
{
handleGetBackground
();
handleGetBackground
();
...
@@ -261,29 +276,31 @@ onMounted(() => {
...
@@ -261,29 +276,31 @@ onMounted(() => {
background
:
rgba
(
255
,
255
,
255
,
1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
1
2
px
0
;
padding
:
1
8
px
0
;
.id
{
.id
{
margin-right
:
16px
;
margin-left
:
15px
;
margin-left
:
15px
;
width
:
24px
;
width
:
24px
;
height
:
24px
;
height
:
24px
;
text-align
:
center
;
text-align
:
center
;
line-height
:
30px
;
border-radius
:
12px
;
background
:
#e7f3ff
;
background
:
#e7f3ff
;
color
:
#0a57a6
;
color
:
#0a57a6
;
font-size
:
15px
;
line-height
:
24px
;
border-radius
:
50%
;
}
}
.title
{
.title
{
width
:
914
px
;
width
:
20
px
;
line-height
:
24px
;
flex
:
auto
;
margin-left
:
13
px
;
line-height
:
30
px
;
}
}
.open
{
.open
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
margin
-left
:
16px
;
margin
:
0
16px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
...
@@ -332,7 +349,8 @@ onMounted(() => {
...
@@ -332,7 +349,8 @@ onMounted(() => {
.custom-collapse-title
{
.custom-collapse-title
{
position
:
relative
;
position
:
relative
;
.custom-collapse-index
{
.custom-collapse-index
{
font-size
:
15px
;
font-family
:
Microsoft
YaHei
;
font-size
:
var
(
--
font-size-base
);
position
:
absolute
;
position
:
absolute
;
top
:
12px
;
top
:
12px
;
left
:
-32px
;
left
:
-32px
;
...
@@ -345,6 +363,7 @@ onMounted(() => {
...
@@ -345,6 +363,7 @@ onMounted(() => {
color
:
#0a57a6
;
color
:
#0a57a6
;
}
}
.custom-collapse-name
{
.custom-collapse-name
{
cursor
:
pointer
;
font-weight
:
600
;
font-weight
:
600
;
font-size
:
18px
;
font-size
:
18px
;
color
:
var
(
--
el-collapse-header-text-color
);
color
:
var
(
--
el-collapse-header-text-color
);
...
...
src/views/decree/decreeLayout/overview/introduction/index.vue
浏览文件 @
7d4aa2d3
...
@@ -37,9 +37,6 @@
...
@@ -37,9 +37,6 @@
<div
class=
"item"
>
<div
class=
"item"
>
<div
class=
"item-left"
>
{{ "相关领域:" }}
</div>
<div
class=
"item-left"
>
{{ "相关领域:" }}
</div>
<div
class=
"item-right tag-box"
>
<div
class=
"item-right tag-box"
>
<!-- <div class="tag" v-for="(area, index) in basicInfo.areaList" :key="index">
{{ area.industryName }}
</div> -->
<AreaTag
v-for=
"(area, index) in basicInfo.areaList"
:key=
"index"
:tagName=
"area.industryName"
></AreaTag>
<AreaTag
v-for=
"(area, index) in basicInfo.areaList"
:key=
"index"
:tagName=
"area.industryName"
></AreaTag>
</div>
</div>
</div>
</div>
...
@@ -336,22 +333,20 @@ onMounted(() => {
...
@@ -336,22 +333,20 @@ onMounted(() => {
.box1-main
{
.box1-main
{
display
:
flex
;
display
:
flex
;
padding
:
0
24px
;
.box1-main-left
{
.box1-main-left
{
width
:
395px
;
width
:
395px
;
height
:
332px
;
height
:
332px
;
margin-left
:
24px
;
img
{
img
{
width
:
100%
;
width
:
100%
;
// height: 100%;
}
}
}
}
.box1-main-left-img-mock
{
.box1-main-left-img-mock
{
width
:
240px
;
width
:
240px
;
height
:
332px
;
height
:
332px
;
margin-left
:
24px
;
background-color
:
#0b1932
;
background-color
:
#0b1932
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -378,7 +373,8 @@ onMounted(() => {
...
@@ -378,7 +373,8 @@ onMounted(() => {
}
}
.box1-main-right
{
.box1-main-right
{
width
:
590px
;
width
:
20px
;
flex
:
auto
;
margin-left
:
20px
;
margin-left
:
20px
;
color
:
rgba
(
59
,
65
,
75
,
1
);
color
:
rgba
(
59
,
65
,
75
,
1
);
font-family
:
Microsoft
YaHei
;
font-family
:
Microsoft
YaHei
;
...
@@ -387,24 +383,22 @@ onMounted(() => {
...
@@ -387,24 +383,22 @@ onMounted(() => {
line-height
:
24px
;
line-height
:
24px
;
.item
{
.item
{
height
:
30px
;
display
:
flex
;
display
:
flex
;
margin-bottom
:
17
px
;
margin-bottom
:
22
px
;
.item-left
{
.item-left
{
width
:
100px
;
width
:
100px
;
}
}
.item-right
{
.item-right
{
width
:
470px
;
width
:
20px
;
overflow
:
hidden
;
flex
:
auto
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.tag-box
{
.tag-box
{
display
:
flex
;
display
:
flex
;
gap
:
8px
;
gap
:
8px
;
flex-wrap
:
wrap
;
.tag
{
.tag
{
height
:
24px
;
height
:
24px
;
...
@@ -423,6 +417,9 @@ onMounted(() => {
...
@@ -423,6 +417,9 @@ onMounted(() => {
}
}
.text
{
.text
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-weight
:
normal
!
important
;
font-weight
:
normal
!
important
;
}
}
}
}
...
...
src/views/decree/decreeLayout/overview/measures/index.vue
浏览文件 @
7d4aa2d3
...
@@ -387,7 +387,7 @@ onMounted(() => {
...
@@ -387,7 +387,7 @@ onMounted(() => {
.section-title
{
.section-title
{
font-size
:
18px
;
font-size
:
18px
;
line-height
:
30px
;
line-height
:
30px
;
font-weight
:
600
;
//
font-weight: 600;
letter-spacing
:
1px
;
letter-spacing
:
1px
;
width
:
20px
;
width
:
20px
;
flex
:
auto
;
flex
:
auto
;
...
...
src/views/decree/decreeOriginal/assets/icons/download.png
0 → 100644
浏览文件 @
7d4aa2d3
350 Bytes
src/views/decree/decreeOriginal/assets/icons/search.png
0 → 100644
浏览文件 @
7d4aa2d3
399 Bytes
src/views/decree/decreeOriginal/index.vue
浏览文件 @
7d4aa2d3
...
@@ -2,25 +2,25 @@
...
@@ -2,25 +2,25 @@
<div
class=
"layout-container"
>
<div
class=
"layout-container"
>
<!-- 导航菜单 -->
<!-- 导航菜单 -->
<div
class=
"layout-main"
>
<div
class=
"layout-main"
>
<div
class=
"
layout-main-box
"
>
<div
class=
"
header-main
"
>
<div
class=
"layout-main-header"
>
<div
class=
"layout-main-header"
>
<div
class=
"icon"
>
<div
class=
"icon"
>
<img
:src=
"summaryInfo.imageUrl"
alt=
""
/>
<img
:src=
"summaryInfo.imageUrl"
alt=
""
/>
</div>
</div>
<div
class=
"info"
>
<div
class=
"info"
>
<div
class=
"info-box1 one-line-ellipsis"
>
{{
summaryInfo
.
name
}}
</div>
<div
class=
"info-box1 one-line-ellipsis"
>
{{
summaryInfo
.
name
||
"--"
}}
</div>
<div
class=
"info-box2"
>
<div
class=
"info-box2"
>
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
postDate
}}
</div>
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
postDate
||
"--"
}}
</div>
|
|
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
orgName
}}
</div>
<div
class=
"info-box2-item"
>
{{
summaryInfo
.
orgName
||
"--"
}}
</div>
|
|
<div
class=
"info-box2-item one-line-ellipsis"
>
{{
summaryInfo
.
ename
}}
</div>
<div
class=
"info-box2-item one-line-ellipsis"
>
{{
summaryInfo
.
ename
||
"--"
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"layout-main-header-right-box"
>
<div
class=
"layout-main-header-right-box"
>
<div
class=
"right-box-top"
>
<div
class=
"right-box-top"
>
<div
class=
"time"
>
{{
summaryInfo
.
postDate
}}
</div>
<div
class=
"time"
>
{{
summaryInfo
.
postDate
||
"--"
}}
</div>
<div
class=
"name"
>
{{
summaryInfo
.
orgName
}}
</div>
<div
class=
"name"
>
{{
summaryInfo
.
orgName
||
"--"
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -28,16 +28,20 @@
...
@@ -28,16 +28,20 @@
<div
class=
"layout-main-center"
>
<div
class=
"layout-main-center"
>
<div
class=
"report-header"
>
<div
class=
"report-header"
>
<div
class=
"report-title"
>
政令原文
</div>
<div
class=
"report-title"
>
政令原文
</div>
<
!--
<
el-switch
v-model=
"isHighlight"
/>
<el-switch
v-model=
"isHighlight"
/>
<div
style=
"margin-left: 6px; margin-right: 10px;"
>
高亮实体
</div>
-->
<div
style=
"margin-left: 6px; margin-right: 10px;"
>
高亮实体
</div>
<el-switch
v-model=
"isTranslate"
/>
<el-switch
v-model=
"isTranslate"
/>
<div
style=
"margin-left: 6px;"
>
原文显示
</div>
<div
style=
"margin-left: 6px;"
>
原文显示
</div>
<!--
<div
class=
"btn"
@
click=
"handleDownload"
>
<div
class=
"btn"
@
click=
"handleDownload"
>
<el-icon><Document
/></el-icon>
<div
class=
"icon"
style=
"margin-right: 4px;"
>
<img
:src=
"download"
alt=
""
>
</div>
<div
class=
"text"
>
下载
</div>
<div
class=
"text"
>
下载
</div>
</div>
-->
</div>
<div
class=
"btn"
@
click=
"handleFindWord('open')"
>
<div
class=
"btn"
@
click=
"handleFindWord('open')"
>
<el-icon><Search
/></el-icon>
<div
class=
"icon"
style=
"margin-right: 6px;"
>
<img
:src=
"search"
alt=
""
>
</div>
<div
class=
"text"
>
查找
</div>
<div
class=
"text"
>
查找
</div>
</div>
</div>
<div
class=
"find-word-box"
v-if=
"findWordBox"
>
<div
class=
"find-word-box"
v-if=
"findWordBox"
>
...
@@ -79,6 +83,8 @@ import { ElMessage } from "element-plus";
...
@@ -79,6 +83,8 @@ import { ElMessage } from "element-plus";
import
{
debounce
}
from
"lodash"
;
import
{
debounce
}
from
"lodash"
;
import
{
getDecreeSummary
}
from
"@/api/decree/introduction"
;
import
{
getDecreeSummary
}
from
"@/api/decree/introduction"
;
import
{
getDecreeReport
}
from
"@/api/decree/introduction"
;
import
{
getDecreeReport
}
from
"@/api/decree/introduction"
;
import
download
from
"./assets/icons/download.png"
;
import
search
from
"./assets/icons/search.png"
;
const
route
=
useRoute
();
const
route
=
useRoute
();
...
@@ -178,7 +184,10 @@ const handleUpdateWord = debounce(() => {
...
@@ -178,7 +184,10 @@ const handleUpdateWord = debounce(() => {
}
}
});
});
if
(
findWordMax
.
value
>
0
)
{
if
(
findWordMax
.
value
>
0
)
{
nextTick
(()
=>
{
handleFindWord
(
'next'
)
})
nextTick
(()
=>
{
findWordNum
.
value
=
findWordNum
.
value
==
findWordMax
.
value
?
1
:
findWordNum
.
value
+
1
;
handleHighlight
()
})
}
}
}
else
{
}
else
{
originData
.
forEach
((
item
,
index
)
=>
{
originData
.
forEach
((
item
,
index
)
=>
{
...
@@ -257,11 +266,10 @@ onMounted(() => {
...
@@ -257,11 +266,10 @@ onMounted(() => {
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
align-items
:
center
;
align-items
:
center
;
.
layout-main-box
{
.
header-main
{
padding
:
1
6
px
0
;
padding
:
1
7
px
0
;
width
:
100%
;
width
:
100%
;
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
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
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
}
}
...
@@ -412,7 +420,6 @@ onMounted(() => {
...
@@ -412,7 +420,6 @@ onMounted(() => {
background
:
rgba
(
255
,
255
,
255
,
1
);
background
:
rgba
(
255
,
255
,
255
,
1
);
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
gap
:
8px
;
align-items
:
center
;
align-items
:
center
;
cursor
:
pointer
;
cursor
:
pointer
;
.text
{
.text
{
...
@@ -426,6 +433,15 @@ onMounted(() => {
...
@@ -426,6 +433,15 @@ onMounted(() => {
letter-spacing
:
0px
;
letter-spacing
:
0px
;
text-align
:
left
;
text-align
:
left
;
}
}
.icon
{
width
:
16px
;
height
:
16px
;
font-size
:
0px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
}
}
}
}
...
...
vite.config.js
浏览文件 @
7d4aa2d3
...
@@ -53,7 +53,7 @@ export default defineConfig({
...
@@ -53,7 +53,7 @@ export default defineConfig({
'/api'
:
{
'/api'
:
{
target
:
'http://8.140.26.4:9085/'
,
target
:
'http://8.140.26.4:9085/'
,
// target: 'http://1
92.168.0.5
:28080/',
// target: 'http://1
72.20.10.3
:28080/',
changeOrigin
:
true
,
changeOrigin
:
true
,
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
api/
,
''
)
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
api/
,
''
)
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论