巴林闲侠 2 years ago
parent
commit
32ca8269ef
  1. 42
      web/client/src/sections/quanju/containers/footer/operation/right.js

42
web/client/src/sections/quanju/containers/footer/operation/right.js

@ -1,32 +1,32 @@
import React, { useState } from 'react' import React, { useState } from 'react'
import { Carousel } from 'antd'; // import { Carousel } from 'antd';
import Module from '../../public/module' import Module from '../../public/module'
const Right = () => { const Right = () => {
const [dataLists, setDataList] = useState([ // const [dataLists, setDataList] = useState([
{ // {
route: '147', // route: '147',
plate: '赣APJ090' // plate: '赣APJ090'
}, { // }, {
route: '166', // route: '166',
plate: '赣APJ087' // plate: '赣APJ087'
}, { // }, {
route: '171', // route: '171',
plate: '赣APJ184' // plate: '赣APJ184'
}, { // }, {
route: '186', // route: '186',
plate: '赣APJ241' // plate: '赣APJ241'
}, { // }, {
route: '199', // route: '199',
plate: '赣APJ337' // plate: '赣APJ337'
} // }
]) // ])
const style = { height: "97%", marginTop: "3%" } const style = { height: "97%", marginTop: "3%" }
return ( return (
<div style={{ position:'absolute',right:0, width: "23%", height: "100%", marginRight: "1%", }}> <div style={{ position:'absolute',right:0, width: "23%", height: "100%", marginRight: "1%", }}>
<Module style={style} customize={true} title={"车辆视频监控"}> <Module style={style} customize={true} title={"车辆视频监控"}>
<div style={{ width: '90%', height: '96%', margin: '2% 5%', overflow: 'hidden' }}> <div style={{ width: '90%', height: '96%', margin: '2% 5%', overflow: 'hidden' }}>
<Carousel {/* <Carousel
autoplay autoplay
infinite infinite
autoplaySpeed={300000} autoplaySpeed={300000}
@ -62,7 +62,7 @@ const Right = () => {
</div> </div>
)) ))
} }
</Carousel> </Carousel> */}
</div> </div>
</Module> </Module>
</div> </div>

Loading…
Cancel
Save