.header1-page { width: 100%; height: 62px; padding: 0 30px; box-sizing: border-box; display: flex; justify-content: space-between; position: fixed; top: 0; left: 0; z-index: 9; } .header1-page.bg { background: #0000004d; } .header1-page .logo-img { width: 150px; height: 42px; margin-top: 19px; } .header1-page .menu { width: 393px; display: flex; justify-content: space-between; font-size: 18px; font-family: Gilroy, Gilroy-Bold; font-weight: 700; text-align: left; color: #ffffff; margin-top: 29px; } .header1-page .menu .item { height: 18px; position: relative; cursor: pointer; } .header1-page .menu .item:hover::after { width: 100%; } .header1-page .menu .item::after { transition: width 0.3s; transition-delay: 0.3s; /*避免短时间内,如果重复触发会导致闪烁闪烁*/ content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -17px; height: 4px; width: 0; background: #008cff; } .header1-page .menu .item:hover .expand2 { width: 608px; padding: 55px 60px; } .header1-page .menu .item .expand2 { overflow: hidden; transition: all 0.3s; transition-delay: 0.3s; width: 0; height: 261px; background: #ffffff; border-radius: 20px; position: absolute; left: 50%; transform: translateX(-50%); top: 35px; box-sizing: border-box; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; padding: 0; } .header1-page .menu .item .expand2-box { width: 50%; font-family: Gilroy, Gilroy-Medium; line-height: 36px; } .header1-page .menu .item .expand2-box-title { font-size: 18px; font-weight: 700; color: #333333; } .header1-page .menu .item .expand2-box-content { font-size: 14px; font-weight: 500; color: #999999; } .header1-page .lang-box { margin-top: 29px; } .header1-page .lang-box .lang1 { width: 31px; height: 22px; margin-right: 32px; vertical-align: middle; } .header1-page .lang-box .lang2 { width: 18px; height: 14px; vertical-align: middle; }