样式优化

This commit is contained in:
黄心宇 2023-06-30 17:40:50 +08:00
parent a4b7233d4c
commit 947e104f74
3 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@ function Partner(props) {
function getUnit(array){
const newArray = array
setMoreTypes(array.length > 0)
setMoreTypes(array.length > 1)
while(newArray[1] && newArray[1].length + newArray[0].length <= 5) {
newArray[0] = [...newArray[0], ...newArray.splice(1, 1)[0]]

View File

@ -32,7 +32,9 @@ function NewsDetail(props){
setContent(Base64.decode(data.content));
setIsSpin(false)
}
}).catch(error=>{})
}).catch(error=>{
setIsSpin(false)
})
}
return(
<div className="detail_news_all">

View File

@ -1084,6 +1084,7 @@
box-shadow:0px 0px 15px rgba(28, 48, 175, 0.08);
transition: 0.1s linear;
img{
max-width: 180px;
max-height: 66px;
}
&:hover {