样式优化

This commit is contained in:
黄心宇 2023-07-06 15:14:34 +08:00
parent 3d73bc802f
commit c60bcf815b
3 changed files with 7 additions and 2 deletions

View File

@ -44,7 +44,12 @@ function Partner(props) {
return(
<div className="zone_part_item" key={ k1 }>
{ j.typeName && moreTypes && <span className="task-hide">{j.typeName}</span>}
<a key={ k1 } href={ j.link ? j.link : 'javascript: void(0);' } target={ j.link ? "_blank" : "_self" }><img src={j.logo} alt=""/></a>
{
j.link ? <a key={ k1 } href={ j.link } target="_blank" ><img src={j.logo} alt=""/></a>
:
<div><img src={j.logo} alt=""/></div>
}
</div>
)
})

View File

@ -1070,7 +1070,7 @@
display: inline-block;
width: 200px;
}
a {
a, div {
display: inline-block;
width: 220px;
height: 88px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB