diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/back.png b/code/VideoAccess-VCMP/web/client/assets/images/application/back.png new file mode 100644 index 0000000..6c2e2cd Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/back.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/background.png b/code/VideoAccess-VCMP/web/client/assets/images/application/background.png new file mode 100644 index 0000000..dc0eb4a Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/background.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/gongge.png b/code/VideoAccess-VCMP/web/client/assets/images/application/gongge.png new file mode 100644 index 0000000..e334076 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/gongge.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/monitor.png b/code/VideoAccess-VCMP/web/client/assets/images/application/monitor.png new file mode 100644 index 0000000..29efb41 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/monitor.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/polling.png b/code/VideoAccess-VCMP/web/client/assets/images/application/polling.png new file mode 100644 index 0000000..2d73330 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/polling.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/screen1.png b/code/VideoAccess-VCMP/web/client/assets/images/application/screen1.png new file mode 100644 index 0000000..e884acc Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/screen1.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/screen12.png b/code/VideoAccess-VCMP/web/client/assets/images/application/screen12.png new file mode 100644 index 0000000..e85c1d6 Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/screen12.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/screen4.png b/code/VideoAccess-VCMP/web/client/assets/images/application/screen4.png new file mode 100644 index 0000000..34d485d Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/screen4.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/screen6.png b/code/VideoAccess-VCMP/web/client/assets/images/application/screen6.png new file mode 100644 index 0000000..9e68c0a Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/screen6.png differ diff --git a/code/VideoAccess-VCMP/web/client/assets/images/application/titleBottom.png b/code/VideoAccess-VCMP/web/client/assets/images/application/titleBottom.png new file mode 100644 index 0000000..e52957f Binary files /dev/null and b/code/VideoAccess-VCMP/web/client/assets/images/application/titleBottom.png differ diff --git a/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx b/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx index 2055c63..a7f1ca0 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/textScroll.jsx @@ -4,7 +4,6 @@ import './textScroll.less' function TextScroll (props) { const { content, duration, roll } = props - console.log(content, roll); const [showContent, setShowContent] = useState('') const showIndex = useRef(0) const initialization = useRef(false) @@ -13,7 +12,6 @@ function TextScroll (props) { if (content.length) { if (roll) { let contentParent = document.getElementById('marquee_box') - console.log(document.getElementById('contentPMakeUp')); document.getElementById('contentPMakeUp').style.width = contentParent.clientWidth + 'px' const contentP = document.getElementById('contentP') contentP.style.visibility = 'visible' @@ -28,7 +26,6 @@ function TextScroll (props) { let refreshTime = moment() const scroll = () => { let contentParent = document.getElementById('marquee_box') - console.log(document.getElementById('contentPMakeUp')); document.getElementById('contentPMakeUp').style.width = contentParent.clientWidth + 'px' //初始化 // if(!showContent&&!initialization.current){ diff --git a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx index b88ed7a..8816200 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx @@ -65,6 +65,7 @@ const VideoPlay = ({ iotVideoServer, local, //是否本地调用视频 }) => { + console.log(videoObj); if (videoObj.type == 'yingshi') { videoObj = { ...videoObj, @@ -386,7 +387,6 @@ const VideoPlay = ({ const setupSize = (data) => { if (!operationRef.current?.fullScreen.select) { - console.log(sizeWh); let containerWidth = sizeWh?.parentWidth //容器的宽高和视频的宽高 let containerHeight = sizeWh?.parentHeight let videoWidth = width || sizeWh?.width @@ -500,7 +500,6 @@ const VideoPlay = ({ function mapStateToProps (state) { const { auth, global } = state; - console.log(global); return { user: auth.user, iotVideoServer: global.iotVideoServer, diff --git a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/voiceHeader.jsx b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/voiceHeader.jsx index 7732b06..af34527 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/voiceHeader.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/voiceHeader.jsx @@ -14,8 +14,6 @@ const VideoHeader = ({ operationState, changeSelectState, setProcessDisX, name, const upTimeInterval = useRef(null) const [showTime_, setShowTime] = useState(' ') - console.log(11212111313131); - const updateTime = () => { if (!showTime) { setShowTime('') diff --git a/code/VideoAccess-VCMP/web/client/src/sections/application/containers/applicationCenter.jsx b/code/VideoAccess-VCMP/web/client/src/sections/application/containers/applicationCenter.jsx index a9b28ab..ebb83b9 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/application/containers/applicationCenter.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/application/containers/applicationCenter.jsx @@ -196,7 +196,7 @@ const ApplicationCenter = (props) => { const details = (data) => { pageLimit.current = query dispatch(applicationCenter.getApplication(pageLimit.current)).then((res) => { - limits.current = res.payload.data.data.length + limits.current = res.payload?.data?.data.length }); } useEffect(() => { diff --git a/code/VideoAccess-VCMP/web/client/src/sections/journaling/components/container.jsx b/code/VideoAccess-VCMP/web/client/src/sections/journaling/components/container.jsx new file mode 100644 index 0000000..c2bfad8 --- /dev/null +++ b/code/VideoAccess-VCMP/web/client/src/sections/journaling/components/container.jsx @@ -0,0 +1,39 @@ +import React, { useEffect, useRef } from 'react'; +import { connect } from 'react-redux'; +import { TreeSelect, Tree, Form, Button, Popover, Tag, Switch, Input, Row, Col } from '@douyinfe/semi-ui'; +import { VideoPlay } from "$components"; +import { useState } from 'react'; + + +const Container = ({ videoObj }) => { + const [videoWidth, setVideoWidth] = useState() + const [videoHeight, setVideoHeight] = useState() + useEffect(() => { + setVideoWidth(document.getElementById('videoo').clientWidth) + setVideoHeight(document.getElementById('videoo').clientHeight) + }, []) + + return ( +
+
+