|
|
@ -4,61 +4,61 @@ import { Card } from "@douyinfe/semi-ui"; |
|
|
|
import "../style.less"; |
|
|
|
|
|
|
|
const NvrHeader = (props) => { |
|
|
|
const { dispatch, actions, user, loading } = props; |
|
|
|
return ( |
|
|
|
<> |
|
|
|
{/* <div className="NvrHeader"> */} |
|
|
|
<video id='nvrBanner' autoPlay loop muted> |
|
|
|
<source src='../../../../assets/images/background/nvr_banner.mp4' type='video/mp4'/> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
fontSize: 22 + "px", |
|
|
|
paddingTop: 15 + "px", |
|
|
|
marginLeft: 21 + "px", |
|
|
|
}} |
|
|
|
> |
|
|
|
NVR管理 |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
fontSize: 14 + "px", |
|
|
|
paddingTop: 18 + "px", |
|
|
|
marginLeft: 20 + "px", |
|
|
|
}} |
|
|
|
> |
|
|
|
对NVR(网络硬盘录像机)设备节点的管理 |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
fontSize: 14 + "px", |
|
|
|
marginTop: 28 + "px", |
|
|
|
marginLeft: 21 + "px", |
|
|
|
width: 89 + "px", |
|
|
|
height: 32 + "px", |
|
|
|
lineHeight: 32 + "px", |
|
|
|
textAlign: "center", |
|
|
|
backgroundColor: "#D9EAFF", |
|
|
|
color: "#1859C1", |
|
|
|
cursor: "pointer", |
|
|
|
}} |
|
|
|
> |
|
|
|
添加NVR |
|
|
|
</div> |
|
|
|
</video> |
|
|
|
{/* </div> */} |
|
|
|
<Card title="筛选条件" headerLine={false}></Card> |
|
|
|
</> |
|
|
|
); |
|
|
|
const { dispatch, actions, user, loading } = props; |
|
|
|
return ( |
|
|
|
<> |
|
|
|
{/* <div className="NvrHeader"> */} |
|
|
|
<video id='nvrBanner' autoPlay loop muted style={{ width: '100%' }}> |
|
|
|
<source src='/assets/video/nvr_banner.mp4' type='video/mp4' /> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
fontSize: 22 + "px", |
|
|
|
paddingTop: 15 + "px", |
|
|
|
marginLeft: 21 + "px", |
|
|
|
}} |
|
|
|
> |
|
|
|
NVR管理 |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
fontSize: 14 + "px", |
|
|
|
paddingTop: 18 + "px", |
|
|
|
marginLeft: 20 + "px", |
|
|
|
}} |
|
|
|
> |
|
|
|
对NVR(网络硬盘录像机)设备节点的管理 |
|
|
|
</div> |
|
|
|
<div |
|
|
|
style={{ |
|
|
|
fontSize: 14 + "px", |
|
|
|
marginTop: 28 + "px", |
|
|
|
marginLeft: 21 + "px", |
|
|
|
width: 89 + "px", |
|
|
|
height: 32 + "px", |
|
|
|
lineHeight: 32 + "px", |
|
|
|
textAlign: "center", |
|
|
|
backgroundColor: "#D9EAFF", |
|
|
|
color: "#1859C1", |
|
|
|
cursor: "pointer", |
|
|
|
}} |
|
|
|
> |
|
|
|
添加NVR |
|
|
|
</div> |
|
|
|
</video> |
|
|
|
{/* </div> */} |
|
|
|
<Card title="筛选条件" headerLine={false}></Card> |
|
|
|
</> |
|
|
|
); |
|
|
|
}; |
|
|
|
|
|
|
|
function mapStateToProps(state) { |
|
|
|
const { auth, global, members } = state; |
|
|
|
return { |
|
|
|
loading: members.isRequesting, |
|
|
|
user: auth.user, |
|
|
|
actions: global.actions, |
|
|
|
members: members.data, |
|
|
|
}; |
|
|
|
function mapStateToProps (state) { |
|
|
|
const { auth, global, members } = state; |
|
|
|
return { |
|
|
|
loading: members.isRequesting, |
|
|
|
user: auth.user, |
|
|
|
actions: global.actions, |
|
|
|
members: members.data, |
|
|
|
}; |
|
|
|
} |
|
|
|
|
|
|
|
export default connect(mapStateToProps)(NvrHeader); |
|
|
|