|
@ -136,9 +136,8 @@ const Guanli = (props) => { |
|
|
// }
|
|
|
// }
|
|
|
const renderContent = rightitemlist.map(({ enforcementdate, enforcementreslt, roadname, picfile }, index) => { |
|
|
const renderContent = rightitemlist.map(({ enforcementdate, enforcementreslt, roadname, picfile }, index) => { |
|
|
return ( |
|
|
return ( |
|
|
<div key={index} style={{ width: '100%', }} className='carCard'> |
|
|
<div key={index} style={{}} className='carCardRight'> |
|
|
<div style={{ width: '90%', height: '96%', margin: '2% 5%', overflow: 'hidden', display: "flex" }}> |
|
|
{picfile?.length > 0 ? <Carousel autoplay style={{ width: 200, height: 200, margin: "20px 10px" }}> |
|
|
{picfile?.length > 0 ? <Carousel autoplay style={{ width: 200, height: 200, margin: "20px 0px 0px 20px" }}> |
|
|
|
|
|
{picfile?.map(v => <div style={{ width: 200, height: 200 }}> |
|
|
{picfile?.map(v => <div style={{ width: 200, height: 200 }}> |
|
|
<img className='picfileimg' |
|
|
<img className='picfileimg' |
|
|
style={{ width: 200, height: 150, display: 'inline-block', }} |
|
|
style={{ width: 200, height: 150, display: 'inline-block', }} |
|
@ -152,7 +151,7 @@ const Guanli = (props) => { |
|
|
width: 200, height: 200, margin: "20px 0px 0px 20px", |
|
|
width: 200, height: 200, margin: "20px 0px 0px 20px", |
|
|
}} /> |
|
|
}} /> |
|
|
} |
|
|
} |
|
|
<div style={{ width: 240, marginLeft: 20, marginTop: 20, display: "flex", flexDirection: "column", justifyContent: "space-around" }}> |
|
|
<div style={{ width: 240, marginLeft: 10, marginTop: 20, display: "flex", flexDirection: "column", justifyContent: "space-around" }}> |
|
|
<p style={{ whiteSpace: "nowrap", color: "rgba(216,240,255,0.8)", fontSize: "14px", fontFamily: "PingFangSC-Regular, PingFang SC", display: "flex" }}> |
|
|
<p style={{ whiteSpace: "nowrap", color: "rgba(216,240,255,0.8)", fontSize: "14px", fontFamily: "PingFangSC-Regular, PingFang SC", display: "flex" }}> |
|
|
执法日期:<span style={{ |
|
|
执法日期:<span style={{ |
|
|
color: "#EEF4FF", marginLeft: "10px", fontFamily: " PingFangSC-Medium, PingFang SC", |
|
|
color: "#EEF4FF", marginLeft: "10px", fontFamily: " PingFangSC-Medium, PingFang SC", |
|
@ -175,7 +174,7 @@ const Guanli = (props) => { |
|
|
{enforcementreslt}</span></p> |
|
|
{enforcementreslt}</span></p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
) |
|
|
) |
|
|
}) |
|
|
}) |
|
|
const renderLeftContent = () => { |
|
|
const renderLeftContent = () => { |
|
@ -219,7 +218,7 @@ const Guanli = (props) => { |
|
|
<div style={{ width: '50%', textAlign: "center", }}>执法成果</div> |
|
|
<div style={{ width: '50%', textAlign: "center", }}>执法成果</div> |
|
|
</div> */} |
|
|
</div> */} |
|
|
{rightitemlist && rightitemlist.length !== 0 ? <AutoRollComponent content={renderContent} |
|
|
{rightitemlist && rightitemlist.length !== 0 ? <AutoRollComponent content={renderContent} |
|
|
containerStyle={{ position: "relative", height: "100%", }} |
|
|
containerStyle={{ position: "relative", height: "100%", margin: "20px" }} |
|
|
divHeight={"100%"} divId={"chart-overview-deviceList"} /> : <NoData style={{ height: "20%" }} />} |
|
|
divHeight={"100%"} divId={"chart-overview-deviceList"} /> : <NoData style={{ height: "20%" }} />} |
|
|
|
|
|
|
|
|
{/* { |
|
|
{/* { |
|
|