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
6ff8128a
Commit
6ff8128a
authored
Oct 16, 2020
by
zhuyangbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
video style
parent
8aae3a3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
detail.less
...nents/apolloTable/component/base/extra/upload/detail.less
+3
-0
preview.tsx
...nents/apolloTable/component/base/extra/upload/preview.tsx
+1
-1
No files found.
components/apolloTable/component/base/extra/upload/detail.less
View file @
6ff8128a
...
...
@@ -70,6 +70,9 @@
.tips{
font-size: 10px;
}
.videoWrap{
max-height: calc(100vh - 200px);
}
}
.textUploadList {
...
...
components/apolloTable/component/base/extra/upload/preview.tsx
View file @
6ff8128a
...
...
@@ -60,7 +60,7 @@ 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
src=
{
url
}
controls
width=
"100%"
className=
{
styles
.
videoWrap
}
>
你的浏览器暂不支持该视频在线播放,请下载后播放
</
video
>
<
span
className=
{
styles
.
tips
}
>
如无法播放,请下载后播放
</
span
>
...
...
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