Commit 2fb94e3b authored by zhangwenshuai's avatar zhangwenshuai
parents f8795e4f 73142a3d
...@@ -67,6 +67,9 @@ ...@@ -67,6 +67,9 @@
.dialog { .dialog {
width: 900px !important; width: 900px !important;
min-height: 500px; min-height: 500px;
.tips{
font-size: 10px;
}
} }
.textUploadList { .textUploadList {
......
...@@ -56,9 +56,12 @@ export default class uploadDetail extends React.Component { ...@@ -56,9 +56,12 @@ export default class uploadDetail extends React.Component {
) } ) }
{type === 'pdf' && <iframe width="100%" height={500} src={`${url}`} title="pdf" />} {type === 'pdf' && <iframe width="100%" height={500} src={`${url}`} title="pdf" />}
{type === 'video' && ( {type === 'video' && (
<video src={url} controls width="100%"> <>
你的浏览器暂不支持该视频在线播放,请下载后播放 <video src={url} controls width="100%">
</video> 你的浏览器暂不支持该视频在线播放,请下载后播放
</video>
<span className={styles.tips}>如无法播放,请下载后播放</span>
</>
)} )}
</div> </div>
</Modal> </Modal>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment