diff --git a/web/client/src/sections/quanju/containers/footer/guanli/index.js b/web/client/src/sections/quanju/containers/footer/guanli/index.js index e421b50d..3c09887c 100644 --- a/web/client/src/sections/quanju/containers/footer/guanli/index.js +++ b/web/client/src/sections/quanju/containers/footer/guanli/index.js @@ -18,22 +18,25 @@ const Guanli = (props) => { const requestRightDatas = async()=>{ const res = await dispatch(getjiandetail()) setrightDatas(res.payload.data) - console.log(res,'嘿嘿嘿') + // console.log(res,'嘿嘿嘿') } useEffect(()=>{ requestleftDatas(); requestRightDatas() },[]) - + // let datalist = newArry(35) + // datalist.fill({licensePlate:"赣A44454",overrunRate:"30%",fine:"200元",processingTime:"2020年4月1日"}) const renderContent = () => { return
{rightDatas && rightDatas.length!==0?rightDatas.overSpeedList.map(({ id, licensePlate, overrunRate,fine,processingTime }, index) => { + if(index<30){ return
- {licensePlate} - {overrunRate}% - {fine} - {processingTime} -
+ {licensePlate} + {overrunRate}% + {fine}{fine?"元":""} + {processingTime} +
+ } }):""} } diff --git a/web/client/src/sections/quanju/containers/footer/guanli/style.less b/web/client/src/sections/quanju/containers/footer/guanli/style.less index 4bfb3c0a..d3e5dde6 100644 --- a/web/client/src/sections/quanju/containers/footer/guanli/style.less +++ b/web/client/src/sections/quanju/containers/footer/guanli/style.less @@ -146,6 +146,9 @@ display: flex; align-items: center; justify-content: space-around; + &:hover{ + background:linear-gradient(270deg, rgba(0,124,230,0) 0%, rgba(0,70,200,0.8700) 100%); + } // background: rgba(21,77,160,0.2000); span{ font-size: 0.875rem;