Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
submodule
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web_component
submodule
Commits
2fb94e3b
Commit
2fb94e3b
authored
Sep 10, 2020
by
zhangwenshuai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://apollo.mttop.cn/gitlab/web_component/submodule
parents
f8795e4f
73142a3d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
detail.less
...nents/apolloTable/component/base/extra/upload/detail.less
+3
-0
preview.tsx
...nents/apolloTable/component/base/extra/upload/preview.tsx
+6
-3
No files found.
components/apolloTable/component/base/extra/upload/detail.less
View file @
2fb94e3b
...
...
@@ -67,6 +67,9 @@
.dialog {
width: 900px !important;
min-height: 500px;
.tips{
font-size: 10px;
}
}
.textUploadList {
...
...
components/apolloTable/component/base/extra/upload/preview.tsx
View file @
2fb94e3b
...
...
@@ -56,9 +56,12 @@ export default class uploadDetail extends React.Component {
)
}
{
type
===
'pdf'
&&
<
iframe
width=
"100%"
height=
{
500
}
src=
{
`${url}`
}
title=
"pdf"
/>
}
{
type
===
'video'
&&
(
<>
<
video
src=
{
url
}
controls
width=
"100%"
>
你的浏览器暂不支持该视频在线播放,请下载后播放
</
video
>
<
span
className=
{
styles
.
tips
}
>
如无法播放,请下载后播放
</
span
>
</>
)
}
</
div
>
</
Modal
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment