From 1551718468a69da3176e46e6d54adc4512048dd1 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Tue, 26 Jul 2022 09:55:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=AE=A1=E7=90=86=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E5=8F=B3=E4=BE=A7=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quanju/containers/footer/guanli/index.js | 17 ++++++++++------- .../quanju/containers/footer/guanli/style.less | 3 +++ 2 files changed, 13 insertions(+), 7 deletions(-) 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;