Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
admin-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
admin-ci-test
Commits
f746de4c
提交
f746de4c
authored
8月 05, 2023
作者:
龚洪江
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复:飞手中心详情图片,需求收集详情图片
上级
82f8a280
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
19 行增加
和
2 行删除
+19
-2
index.tsx
src/pages/flyerCenter/flyerManage/flyerDetail/index.tsx
+7
-1
index.scss
...ourceManage/requirementsGathering/gatherDetail/index.scss
+4
-0
index.tsx
...sourceManage/requirementsGathering/gatherDetail/index.tsx
+8
-1
没有找到文件。
src/pages/flyerCenter/flyerManage/flyerDetail/index.tsx
浏览文件 @
f746de4c
...
...
@@ -111,7 +111,13 @@ const FlyerDetail = () => {
{
flyerDetail
?.
abilityUrl
?
(
<
Image
.
PreviewGroup
>
{
JSON
.
parse
(
flyerDetail
?.
abilityUrl
).
map
((
v
:
string
,
index
:
number
)
=>
(
<
Image
src=
{
v
}
key=
{
index
}
width=
{
100
}
rootClassName=
'ability-img'
/>
<
Image
src=
{
v
}
key=
{
index
}
width=
{
100
}
height=
{
100
}
rootClassName=
'ability-img'
/>
))
}
</
Image
.
PreviewGroup
>
)
:
(
...
...
src/pages/resourceManage/requirementsGathering/gatherDetail/index.scss
浏览文件 @
f746de4c
.gather-detail-img
{
margin-right
:
10px
;
margin-bottom
:
10px
;
}
src/pages/resourceManage/requirementsGathering/gatherDetail/index.tsx
浏览文件 @
f746de4c
...
...
@@ -5,6 +5,7 @@ import { InterDataType } from '~/api/interface';
import
{
backDetailPublishType
}
from
'~/api/interface/resourceManageType'
;
import
{
Button
,
Descriptions
,
Image
}
from
'antd'
;
import
{
useNavigate
}
from
'react-router-dom'
;
import
'./index.scss'
;
//需求详情返回类型
type
detailType
=
InterDataType
<
backDetailPublishType
>
;
...
...
@@ -50,7 +51,13 @@ const GatherDetail = () => {
<
Image
.
PreviewGroup
>
{
publishDetails
?.
requireUrl
?
JSON
.
parse
(
publishDetails
?.
requireUrl
).
map
((
url
:
string
,
index
:
number
)
=>
(
<
Image
src=
{
url
}
width=
{
50
}
key=
{
index
}
/>
<
Image
src=
{
url
}
width=
{
50
}
height=
{
50
}
key=
{
index
}
rootClassName=
'gather-detail-img'
/>
))
:
''
}
</
Image
.
PreviewGroup
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论