优化cont.

This commit is contained in:
黄心宇 2026-01-16 11:29:52 +08:00
parent 16a4ff3dd1
commit d6aa5ac47d
3 changed files with 8 additions and 7 deletions

View File

@ -40,7 +40,7 @@
.header-content {
margin-top: 30px;
width: 1600px;
height: 481px;
// height: 481px;
position: relative;
border-radius: 16px;
padding: 60px 45px;
@ -140,10 +140,11 @@
.more-tools {
display: flex;
margin-top: 20px;
margin-top: 5px;
max-width: 800px;
flex-wrap: wrap;
span {
max-width: 200px;
cursor: pointer;
display: inline-block;
background: #e9f2ff;
@ -154,9 +155,7 @@
font-family: alibaba;
color: #091221;
font-size: 15px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin-top: 15px !important;
img {
width: 19px;

View File

@ -242,7 +242,8 @@ class NewHeader extends Component {
}else{
str = match.path;
}
if (url && (str === url || (str === url+'/'))) {
if (url && (str === url || (str === url+'/')|| ( str.startsWith(url) && url !== '/' ))) {
return true
}else {
return false

View File

@ -15,6 +15,7 @@
width: 24px;
height: 24px;
border-radius: 50%;
background-color: #FFFFFF;
}
.p_h_title {