/* 保持默认的无序列表样式 */ .nav_menustyle_1_1 > ul > li { width: 92px;} .nav_menustyle_1_1 ul { list-style-type: none; padding: 0; margin: 0;} /* 保持默认的列表项样式 */ .nav_menustyle_1_1 li { float: left; text-align: center; position: relative;} /* 使二级菜单相对于其父菜单项进行绝对定位,并向左偏移 */ .nav_menustyle_1_1 ul ul { display: flex; position: absolute; top: 100%; /* 使其相对于父菜单项底部对齐 */ left: -0px; /* 向左偏移 */ width: auto; /* 根据文字内容自动调整宽度 */ display: none;} /* 当鼠标悬停在一级菜单项上时显示对应的二级菜单 */ .nav_menustyle_1_1 ul li:hover > ul { display: flex; justify-content: space-around;} /* 设置二级菜单项样式 */ .nav_menustyle_1_1 ul ul li { display: block; position: relative; float: none; background-color: rgba(0, 0, 0, 0); /* 透明背景色 */ padding: 5px 10px; /* 添加内边距 */ margin-right: 10px;} /* 保持默认的链接样式 */ .nav_menustyle_1_1 a { display: block; text-decoration: none; white-space: nowrap; height: 43px; line-height: 43px; font-size: 16px; color: #c39a6b; background: #fffff;} /* 鼠标悬停时链接样式 */ .nav_menustyle_1_1 a:hover { color: #fff; background: #de9d4c;} /* 修改二级菜单项文字颜色为白色 */ .nav_menustyle_1_1 ul ul li a { color: #fff;} /* 一级菜单项下方的透明黑色框 */ .nav_menustyle_1_1::after { content: ""; position: absolute; width: 100%; height: 50px; background-color: rgba(0, 0, 0, 0.5); bottom: -50px; left: 0; z-index: -1; opacity: 0; transition: opacity 0.3s ease;} /* 鼠标悬停时显示黑色框 */ .nav_menustyle_1_1:hover::after { opacity: 1;} /* 除了第一个一级菜单项外的其他一级菜单项下的二级菜单项左偏移 */ .nav_menustyle_1_1 li:not(:first-child) ul { left: -70px;} .nav_menustyle_1_1 li:nth-last-child(2) ul { left: -900px;} A.c248526{ font-size:9pt; line-height:150%; color:#333333; text-decoration: none;} A.c248526:link { color: #222222;} A.c248526:visited { color: #222222;} A.c248526:active { color: #222222;} A.c248526:hover { color: #cc0000;} .c248526_date { line-height: 150%; font-size: 9pt; text-decoration: none;} .c248526_click { font-size: 9pt; color: #222222; line-height: 150%;} .c248526_leaderfont { font-size: 9pt; line-height: 150%;} .c248526_columnstyle { font-size: 9pt; color: #222222; text-decoration: none;} .c248526_isnew { font-size: 9pt; color: #222222; text-decoration: none;}