Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
56049ffa
提交
56049ffa
authored
3月 23, 2026
作者:
刘宇琪
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix:刘宇琪 创新主题概览页最下方样式修复
上级
f835b3ed
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
29 行增加
和
24 行删除
+29
-24
symbol.png
...erOfCongress/components/characterRelationships/symbol.png
+0
-0
BillCard.vue
...ess/components/historicalProposal/components/BillCard.vue
+11
-6
ResourceLibrary.vue
...ews/innovationSubject/ResourceLibrary/ResourceLibrary.vue
+18
-18
没有找到文件。
src/views/characterPage/components/memberOfCongress/components/characterRelationships/symbol.png
0 → 100644
浏览文件 @
56049ffa
3.5 KB
src/views/characterPage/components/memberOfCongress/components/historicalProposal/components/BillCard.vue
浏览文件 @
56049ffa
...
...
@@ -179,23 +179,25 @@ const currentStageIndex = computed(() => {
.bill-card-meta
{
width
:
100%
;
flex
:
1
;
position
:
relative
;
display
:
flex
;
flex-direction
:
column
;
gap
:
12px
;
min-height
:
0
;
overflow
:
auto
;
}
.meta-row
{
display
:
flex
;
align-items
:
center
;
position
:
absolute
;
left
:
0
;
align-items
:
flex-start
;
width
:
100%
;
flex-shrink
:
0
;
}
.meta-row
:nth-child
(
1
)
{
top
:
0
;
}
/*
.meta-row:nth-child(1) { top: 0; }
.meta-row:nth-child(2) { top: 36px; }
.meta-row:nth-child(3) { top: 72px; }
.meta-row:nth-child(4) { top: 108px; }
.meta-row
:nth-child
(
5
)
{
top
:
144px
;
}
.meta-row:nth-child(5) { top: 144px; }
*/
.meta-label
{
font-size
:
16px
;
...
...
@@ -206,6 +208,7 @@ const currentStageIndex = computed(() => {
white-space
:
nowrap
;
flex-shrink
:
0
;
width
:
100px
;
padding-top
:
2px
;
}
.meta-value
{
...
...
@@ -225,6 +228,8 @@ const currentStageIndex = computed(() => {
gap
:
8px
;
flex-wrap
:
wrap
;
align-items
:
center
;
flex
:
1
;
min-width
:
0
;
}
.meta-row-progress
{
...
...
src/views/innovationSubject/ResourceLibrary/ResourceLibrary.vue
浏览文件 @
56049ffa
...
...
@@ -71,21 +71,17 @@
v-for=
"item in listData"
:key=
"item.id"
class=
"resource-card"
@
click=
"goOrigin(item.id)"
>
<div
class=
"card-logo"
>
<img
:src=
"item.logo
Url
|| defaultLogo"
:alt=
"item.name"
/>
</div>
<img
:src=
"item.logo || defaultLogo"
:alt=
"item.name"
/>
</div>
<div
class=
"card-name"
>
{{
item
.
name
}}
</div>
<div
class=
"card-location"
>
{{
item
.
address
}}
</div>
<div
class=
"card-location"
>
{{
item
.
location
}}
</div>
<div
class=
"card-majors"
>
{{
item
.
majors
}}
</div>
<div
class=
"card-tags"
>
<span
v-for=
"tag in item.tags"
:key=
"tag"
class=
"tag"
>
{{
tag
}}
</span>
<div
class=
"card-tags"
>
<AreaTag
v-for=
"tag in item.tags"
:key=
"tag"
:tagName=
"tag"
/>
</div>
</div>
</
template
>
...
...
@@ -134,7 +130,9 @@
import
{
ref
,
computed
,
onMounted
,
watch
}
from
'vue'
import
{
getIndustryKeyList
}
from
'@/api/bill/billHome.js'
import
{
getSubjectList
}
from
'@/api/characterPage/characterPage.js'
import
AreaTag
from
'@/components/base/AreaTag/index.vue'
import
{
useRouter
}
from
'vue-router'
const
router
=
useRouter
()
// Props
const
props
=
defineProps
<
{
initialTab
?:
string
...
...
@@ -142,7 +140,9 @@ const props = defineProps<{
// 默认logo
const
defaultLogo
=
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIGZpbGw9IiNhMzE4MWIiIHJ4PSI0Ii8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTggOGgxNnYxNkg4eiIvPjwvc3ZnPg=='
const
goOrigin
=
(
id
)
=>
{
router
.
push
(
`/InnovativeInstitutions/
${
id
}
`
)
}
// 标签配置 - 添加 subjectTypeId
const
tabs
=
ref
([
{
label
:
'大学'
,
value
:
'university'
,
subjectTypeId
:
1
},
...
...
@@ -299,12 +299,12 @@ async function fetchData() {
if
(
res
.
code
===
200
&&
res
.
data
)
{
// 映射 API 返回的数据到卡片显示格式
const
mappedData
=
(
res
.
data
.
content
||
[]).
map
((
item
:
any
)
=>
({
id
:
item
.
i
d
,
id
:
item
.
orgI
d
,
name
:
item
.
orgName
,
location
:
item
.
countryName
?
`
${
item
.
countryName
}
·
${
item
.
provinceName
}
`
:
item
.
provinceName
||
'--'
,
majors
:
item
.
fieldList
?.
join
(
'、'
)
||
'--'
,
tags
:
item
.
areaList
?.
map
((
a
:
any
)
=>
a
.
areaName
)
||
[]
,
logo
:
defaultLogo
location
:
item
.
address
||
'--'
,
//
majors: item.fieldList?.join('、') || '--',
tags
:
item
.
taglist
,
logo
:
item
.
logoUrl
}))
listData
.
value
=
mappedData
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论