|
|
@@ -37,9 +37,9 @@
|
|
|
|
|
|
<!-- 手机导航 -->
|
|
|
<div class="header-nav-m container-fuild visible-xs">
|
|
|
- <div class="header-nav-m-logo">
|
|
|
+ <router-link to="/home" class="header-nav-m-logo">
|
|
|
<img class="center-block" src="@/assets/img/logo_black.svg" alt="logo">
|
|
|
- </div>
|
|
|
+ </router-link>
|
|
|
<!-- 导航栏 -->
|
|
|
<div class="header-nav-m-menu text-center">
|
|
|
{{ menuName }}
|
|
|
@@ -63,7 +63,7 @@
|
|
|
>
|
|
|
<router-link :to="item.path">
|
|
|
{{ item.name }}
|
|
|
- <i class="underline"></i>
|
|
|
+ <i class="glyphicon glyphicon-chevron-right"></i>
|
|
|
</router-link>
|
|
|
</li>
|
|
|
</ul>
|
|
|
@@ -444,41 +444,32 @@ export default {
|
|
|
padding-left: 24px;
|
|
|
}
|
|
|
|
|
|
-/* ===== 移动端导航(保留原始样式) ===== */
|
|
|
+/* ===== 移动端导航 ===== */
|
|
|
@media screen and (max-width: 997px) {
|
|
|
/* 桌面端元素不在移动端显示 */
|
|
|
.header-company-name {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
- /* 移动端联系我们按钮样式 */
|
|
|
- #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact {
|
|
|
- margin: 15px 20px;
|
|
|
- }
|
|
|
-
|
|
|
- #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact > a {
|
|
|
- background: linear-gradient(135deg, #1e73be 0%, #3b82f6 100%);
|
|
|
- color: #fff !important;
|
|
|
- padding: 12px 30px;
|
|
|
- border-radius: 8px;
|
|
|
- font-weight: 600;
|
|
|
- text-align: center;
|
|
|
- display: block;
|
|
|
- box-shadow: 0 2px 8px rgba(30, 115, 190, 0.3);
|
|
|
- }
|
|
|
-
|
|
|
- #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact > a i {
|
|
|
- display: none;
|
|
|
+ /* 移动端 Header 容器 - 移除底部边框 */
|
|
|
+ #header {
|
|
|
+ border-bottom: none !important;
|
|
|
}
|
|
|
|
|
|
+ /* 移动端 Logo 区域 */
|
|
|
#header .header-nav-m .header-nav-m-logo {
|
|
|
- height: 80px;
|
|
|
+ height: 70px;
|
|
|
position: relative;
|
|
|
+ background: rgba(255, 255, 255, 0.98);
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ border-bottom: 1px solid rgba(30, 115, 190, 0.08);
|
|
|
+ display: block;
|
|
|
+ text-decoration: none;
|
|
|
}
|
|
|
|
|
|
#header .header-nav-m .header-nav-m-logo img {
|
|
|
- width: 180px;
|
|
|
- height: 60px;
|
|
|
+ width: 160px;
|
|
|
+ height: 50px;
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
@@ -487,48 +478,121 @@ export default {
|
|
|
margin: auto;
|
|
|
}
|
|
|
|
|
|
+ /* 移动端导航条 - 蓝色玻璃效果 */
|
|
|
#header .header-nav-m .header-nav-m-menu {
|
|
|
- color: #fff;
|
|
|
- height: 40px;
|
|
|
- font-size: 13px;
|
|
|
- line-height: 40px;
|
|
|
- background: #474747;
|
|
|
+ height: 44px;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 44px;
|
|
|
+ background: rgba(30, 115, 190, 0.95);
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
position: relative;
|
|
|
+ box-shadow: 0 4px 16px rgba(30, 115, 190, 0.35);
|
|
|
+ color: #fff;
|
|
|
+ font-weight: 500;
|
|
|
}
|
|
|
|
|
|
#header .header-nav-m .header-nav-m-menu-wrapper {
|
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
- right: 20px;
|
|
|
- margin-top: -20px;
|
|
|
- width: 50px;
|
|
|
- height: 40px;
|
|
|
+ right: 16px;
|
|
|
+ margin-top: -16px;
|
|
|
+ width: 32px;
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ text-align: center;
|
|
|
+ background: rgba(255, 255, 255, 0.15);
|
|
|
+ border-radius: 8px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-menu-wrapper:hover {
|
|
|
+ background: rgba(255, 255, 255, 0.25);
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-menu-wrapper span {
|
|
|
+ font-size: 14px;
|
|
|
color: #fff;
|
|
|
- z-index: 999999;
|
|
|
- font-size: 12px;
|
|
|
}
|
|
|
|
|
|
+ /* 下拉导航菜单 */
|
|
|
#header .header-nav-m .header-nav-m-wrapper {
|
|
|
- position: absolute;
|
|
|
- top: 40px;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- background: #474747;
|
|
|
- z-index: 9999999;
|
|
|
+ background: rgba(255, 255, 255, 0.98);
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
|
+ padding: 8px 0;
|
|
|
+ margin: 0;
|
|
|
}
|
|
|
|
|
|
#header .header-nav-m .header-nav-m-wrapper > li {
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
- border-bottom: 1px solid #ccc;
|
|
|
+ margin: 4px 12px;
|
|
|
+ border-radius: 10px;
|
|
|
+ overflow: hidden;
|
|
|
+ transition: all 0.3s ease;
|
|
|
}
|
|
|
|
|
|
#header .header-nav-m .header-nav-m-wrapper > li > a {
|
|
|
- color: #fff;
|
|
|
- font-size: 13px;
|
|
|
- font-weight: bold;
|
|
|
- padding: 15px 0;
|
|
|
- position: relative;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ padding: 14px 18px;
|
|
|
+ color: #333;
|
|
|
+ font-size: 15px;
|
|
|
+ font-weight: 500;
|
|
|
+ text-decoration: none;
|
|
|
+ border-radius: 10px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li > a i {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #ccc;
|
|
|
+ transition: transform 0.3s ease;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li > a:hover {
|
|
|
+ background: rgba(30, 115, 190, 0.08);
|
|
|
+ color: #1e73be;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li > a:hover i {
|
|
|
+ transform: translateX(4px);
|
|
|
+ color: #1e73be;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 激活状态 */
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.active {
|
|
|
+ background: rgba(30, 115, 190, 0.1);
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.active > a {
|
|
|
+ color: #1e73be;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.active > a i {
|
|
|
+ color: #1e73be;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 联系我们特殊样式 */
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact {
|
|
|
+ margin: 16px 12px 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact > a {
|
|
|
+ background: linear-gradient(135deg, #1e73be 0%, #3b82f6 100%);
|
|
|
+ color: #fff !important;
|
|
|
+ justify-content: center;
|
|
|
+ box-shadow: 0 4px 12px rgba(30, 115, 190, 0.3);
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact > a i {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ #header .header-nav-m .header-nav-m-wrapper > li.nav-item-contact:hover {
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 6px 16px rgba(30, 115, 190, 0.4);
|
|
|
}
|
|
|
|
|
|
#header .header-nav .header-nav-wrapper > li > a > span {
|