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

Loading…
Cancel
Save