Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
95bfa457
提交
95bfa457
authored
1月 04, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
d4db2b2b
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
100 行增加
和
15 行删除
+100
-15
company.js
src/router/modules/company.js
+1
-1
index.vue
src/views/comprehensiveSearch/searchResults/index.vue
+90
-4
index.vue
src/views/decree/decreeHome/index.vue
+2
-2
index.vue
src/views/newsAnalysis/index.vue
+7
-8
没有找到文件。
src/router/modules/company.js
浏览文件 @
95bfa457
...
...
@@ -4,7 +4,7 @@ import companyPages from "@/views/companyPages/index.vue";
const
companyPagesRoutes
=
[
// 智库系统的主要路由
{
path
:
"/companyPages
/
:id"
,
path
:
"/companyPages:id"
,
name
:
"companyPages"
,
component
:
companyPages
,
meta
:
{
...
...
src/views/comprehensiveSearch/searchResults/index.vue
浏览文件 @
95bfa457
...
...
@@ -87,7 +87,7 @@
</div>
</div>
<div
class=
"main"
>
<div
class=
"item"
v-for=
"(item, index) in searchResults"
:key=
"index"
>
<div
class=
"item"
v-for=
"(item, index) in searchResults"
:key=
"index"
@
click=
"handleToPage(item)"
>
<div
class=
"item-left"
v-if=
"item.img"
>
<img
:src=
"item?.img"
alt=
""
/>
</div>
...
...
@@ -118,6 +118,7 @@
<
script
setup
>
import
{
ref
,
onMounted
}
from
"vue"
;
import
router
from
"@/router"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
search
}
from
"@/api/comprehensiveSearch/index"
;
...
...
@@ -303,6 +304,86 @@ const handleSearch = async () => {
}
catch
(
error
)
{}
};
const
handleToPage
=
item
=>
{
let
curRoute
;
switch
(
item
.
typeStr
)
{
case
"法案"
:
curRoute
=
router
.
resolve
({
path
:
"/decreeLayout"
,
query
:
{
id
:
id
}
});
break
;
case
"政令"
:
curRoute
=
router
.
resolve
({
path
:
"/decreeLayout"
,
query
:
{
id
:
item
.
id
}
});
break
;
case
"智库"
:
curRoute
=
router
.
resolve
({
name
:
"ReportDetail"
,
params
:
{
id
:
item
.
id
}
});
break
;
case
"智库报告"
:
curRoute
=
router
.
resolve
({
name
:
"ReportDetail"
,
params
:
{
id
:
item
.
id
}
});
break
;
case
"实体清单"
:
curRoute
=
router
.
resolve
({
path
:
"/exportControl/singleSanction"
,
query
:
{
id
:
item
.
id
}
});
break
;
// case "人物":
// curRoute = router.resolve({
// path: "/decreeLayout",
// query: {
// id: id
// }
// });
// break;
case
"机构"
:
curRoute
=
router
.
resolve
({
path
:
"/institution"
,
query
:
{
id
:
item
.
id
}
});
break
;
case
"新闻"
:
curRoute
=
router
.
resolve
({
path
:
"/newsAnalysis"
,
query
:
{
newsId
:
item
.
id
}
});
break
;
// case "社媒":
// curRoute = router.resolve({
// path: "/decreeLayout",
// query: {
// id: id
// }
// });
// break;
}
window
.
open
(
curRoute
.
href
,
"_blank"
);
};
onMounted
(()
=>
{
if
(
route
.
query
&&
route
.
query
.
searchText
)
{
keyword
.
value
=
route
.
query
.
searchText
;
...
...
@@ -617,11 +698,15 @@ onMounted(() => {
.item
{
width
:
913px
;
min-height
:
108px
;
max-height
:
1
32
px
;
max-height
:
1
48
px
;
padding-bottom
:
24px
;
margin-bottom
:
16px
;
padding-top
:
16px
;
border-bottom
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
display
:
flex
;
cursor
:
pointer
;
&
:hover
{
background
:
var
(
--
color-bg-hover
);
}
.item-left
{
width
:
170px
;
height
:
115px
;
...
...
@@ -648,7 +733,7 @@ onMounted(() => {
}
.content
{
margin-top
:
10px
;
min-height
:
24px
;
min-height
:
0
;
max-height
:
48px
;
font-family
:
Microsoft
YaHei
;
font-size
:
16px
;
...
...
@@ -657,6 +742,7 @@ onMounted(() => {
line-height
:
24px
;
letter-spacing
:
0px
;
text-align
:
left
;
overflow
:
hidden
;
}
.item-right-footer
{
margin-top
:
10px
;
...
...
src/views/decree/decreeHome/index.vue
浏览文件 @
95bfa457
...
...
@@ -2,7 +2,7 @@
<div
class=
"home-wrapper"
>
<div
class=
"search-header"
v-show=
"isShow"
>
<div
class=
"home-main-header-center"
>
<el-input
v-model=
"searchDecreeText"
style=
"width: 680px; height: 100%"
placeholder=
"搜索科技政令"
/>
<el-input
v-model=
"searchDecreeText"
@
keyup
.
enter=
"handleSearch"
style=
"width: 680px; height: 100%"
placeholder=
"搜索科技政令"
/>
<div
class=
"search"
>
<div
class=
"search-icon"
>
<img
src=
"./assets/images/search-icon.png"
alt=
""
/>
...
...
@@ -47,7 +47,7 @@
<div
class=
"header-item"
>
行政令
</div>
</div>
<div
class=
"home-main-header-center"
v-show=
"!isShow"
>
<el-input
v-model=
"searchDecreeText"
style=
"width: 838px; height: 100%"
placeholder=
"搜索科技政令"
/>
<el-input
v-model=
"searchDecreeText"
@
keyup
.
enter=
"handleSearch"
style=
"width: 838px; height: 100%"
placeholder=
"搜索科技政令"
/>
<div
class=
"search"
>
<div
class=
"search-icon"
>
<img
src=
"./assets/images/search-icon.png"
alt=
""
/>
...
...
src/views/newsAnalysis/index.vue
浏览文件 @
95bfa457
...
...
@@ -9,7 +9,7 @@
<div
class=
"page-header-left-top-desc"
>
<div
class=
"text"
>
{{
summaryInfo
.
newsDateTime
}}
·
{{
summaryInfo
.
newsOrg
}}
</div>
<div
class=
"tag-box"
>
<div
class=
"tag"
v-for=
"(tag, index) in summaryInfo.industryList"
:key=
"index"
>
{{
tag
}}
</div>
<div
class=
"tag"
v-for=
"(tag, index) in summaryInfo.industryList"
:key=
"index"
>
{{
tag
.
industryName
}}
</div>
</div>
</div>
</div>
...
...
@@ -454,16 +454,16 @@ onMounted(() => {
text-indent
:
2em
;
}
&
-news-artical
{
height
:
480px
;
//
height: 480px;
line-height
:
1
.8
;
color
:
#303133
;
display
:
flex
;
align-items
:
flex-start
;
justify-content
:
space-between
;
//
display: flex;
//
align-items: flex-start;
//
justify-content: space-between;
gap
:
25px
;
&
-zn
,
&
-en
{
width
:
5
0%
;
width
:
10
0%
;
}
p
{
text-align
:
justify
;
...
...
@@ -479,7 +479,7 @@ onMounted(() => {
&
-news-img
{
height
:
370px
;
border-top
:
1px
solid
rgba
(
234
,
236
,
238
,
1
);
//
border-top: 1px solid rgba(234, 236, 238, 1);
padding
:
15px
10px
;
display
:
flex
;
align-items
:
center
;
...
...
@@ -489,7 +489,6 @@ onMounted(() => {
overflow-y
:
auto
;
}
.box4
{
background
:
orange
;
.box4-item
{
display
:
flex
;
gap
:
10px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论