diff --git a/public/react/src/modules/user/usersInfo/video/InfosVideo.css b/public/react/src/modules/user/usersInfo/video/InfosVideo.css index 169c3802c..4722fde63 100644 --- a/public/react/src/modules/user/usersInfo/video/InfosVideo.css +++ b/public/react/src/modules/user/usersInfo/video/InfosVideo.css @@ -26,7 +26,7 @@ height: 158px; cursor: pointer; } -.nItem.videoItem:hover .playWrap {.videoItem img.play +.nItem.videoItem:hover .playWrap { display: inline-block; } .nItem .mask { diff --git a/public/react/src/modules/user/usersInfo/video/VideoUploadList.js b/public/react/src/modules/user/usersInfo/video/VideoUploadList.js index 06a4029da..56deb212d 100644 --- a/public/react/src/modules/user/usersInfo/video/VideoUploadList.js +++ b/public/react/src/modules/user/usersInfo/video/VideoUploadList.js @@ -10,6 +10,7 @@ import { getUploader } from './AliyunUploaderManager' import { reducer, initialState } from './VideoReducer' import { deleteVideoInCloud } from './VideoUtil' import uploadIcon from './images/upload.png' +import uploadHoverIcon from './images/upload_hover.png' let uploader const files = [] @@ -291,6 +292,26 @@ function VideoUploadList (props) { border-bottom: none; } + .noUploads img { + width: 64px; + height: 48px; + + } + .noUploads .uploadHoverIcon { + display: none; + } + .noUploads .imgWrap:hover .uploadHoverIcon { + display: inline; + } + .noUploads .imgWrap:hover .uploadIcon { + display: none; + } + .noUploads .imgWrap { + width: 72px; + height: 54px; + margin: 0 auto; + cursor: pointer; + } `} {/* noUploads */} - {noUploads &&
- document.getElementById('fileUpload').click()}> + {noUploads &&
+
document.getElementById('fileUpload').click()}> + + +
+ +