From 0b733984acbbc018511fba1ce3ce913d71639f64 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 21 十月 2020 10:35:06 +0800
Subject: [PATCH] 2020-10-21

---
 src/components/header.vue |   39 +++++++++++++++++++++------------------
 1 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/src/components/header.vue b/src/components/header.vue
index 798b07d..3d2ac8d 100644
--- a/src/components/header.vue
+++ b/src/components/header.vue
@@ -4,7 +4,7 @@
 			<a class="logo"><img src="../img/index_logo.png" alt=""></a>
 			<div class="nav">
 				<el-menu :default-active="activeKey" mode="horizontal">
-					<el-menu-item index="home" @click="jumpview('Index')">棣栭〉</el-menu-item>
+					<el-menu-item index="home" @click="jumpview('home')">棣栭〉</el-menu-item>
 					<el-submenu index="product" popper-class="header-dubble-menu">
 						<template slot="title">浜у搧涓績</template>
 						<div class="dubble-ul-wrap">
@@ -16,17 +16,17 @@
 							</div>
 						</div>
 					</el-submenu>
-					<el-menu-item index="successCase" @click="jumpview('SuccessCase')">鎴愬姛妗堜緥</el-menu-item>
+					<el-menu-item index="successcase" @click="jumpview('SuccessCase')">鎴愬姛妗堜緥</el-menu-item>
 					<el-menu-item index="partner" @click="jumpview('Partner')">娓犻亾鍚堜綔</el-menu-item>
 					<el-menu-item index="news" @click="jumpview('News')">鏂伴椈璧勮</el-menu-item>
-					<el-submenu index="companyProfile" popper-class="header-menu">
-						<template slot="title"><span @click="jumpview('CompanyProfile', 'null')">鍏充簬鏄庣</span></template>
-						<el-menu-item index="companyProfile-1" @click="jumpview('CompanyProfile', '#anchor-1')">浼佷笟鏂囧寲</el-menu-item>
-						<el-menu-item index="companyProfile-2" @click="jumpview('CompanyProfile', '#anchor-2')">鑽h獕璧勮川</el-menu-item>
-						<el-menu-item index="companyProfile-3" @click="jumpview('CompanyProfile', '#anchor-3')">鑱旂郴鏄庣</el-menu-item>
+					<el-submenu index="companyprofile" popper-class="header-menu">
+						<template slot="title"><span @click="jumpview('Company')">鍏充簬鏄庣</span></template>
+						<el-menu-item index="companyProfile-1" @click="jumpview('CompanyProfile', 'culture.html')">浼佷笟鏂囧寲</el-menu-item>
+						<el-menu-item index="companyProfile-2" @click="jumpview('CompanyProfile', 'aptitude.html')">鑽h獕璧勮川</el-menu-item>
+						<el-menu-item index="companyProfile-3" @click="jumpview('CompanyProfile', 'contact.html')">鑱旂郴鏄庣</el-menu-item>
 						<el-menu-item index="companyProfile-4" @click="jumpview('joinMingKe')">鍔犲叆鏄庣</el-menu-item>
 					</el-submenu>
-					<el-menu-item index="word"><a href="http://mk9h.cn/a.asp?a=9CCB" target="_blank">鏂囨。涓績</a></el-menu-item>
+					<el-menu-item index="word"><a href="http://mk9h.cn/a.asp?a=9CCB" ref="nofollow" target="_blank">鏂囨。涓績</a></el-menu-item>
 				</el-menu>
 			</div>
 			<div class="pc-tel">
@@ -35,7 +35,7 @@
 			</div>
 			<div class="register">
 				<span @click="jumpview('signup')">娉ㄥ唽</span>
-				<a href="http://cloud.mk9h.cn/index.html" target="_blank">鐧诲綍</a>
+				<a href="http://cloud.mk9h.cn/index.html" ref="nofollow" target="_blank">鐧诲綍</a>
 			</div>
 		</div>
 		<div class="mob-wrapper">
@@ -60,17 +60,17 @@
 						</el-menu-item-group>
 					</el-submenu>
 					
-					<el-menu-item index="successCase" @click="jumpview('SuccessCase')"><div class="simple">鎴愬姛妗堜緥</div></el-menu-item>
+					<el-menu-item index="successcase" @click="jumpview('SuccessCase')"><div class="simple">鎴愬姛妗堜緥</div></el-menu-item>
 					<el-menu-item index="partner" @click="jumpview('Partner')"><div class="simple">娓犻亾鍚堜綔</div></el-menu-item>
 					<el-menu-item index="news" @click="jumpview('News')"><div class="simple">鏂伴椈璧勮</div></el-menu-item>
-					<el-submenu index="companyProfile" popper-class="header-menu">
-						<template slot="title"><span @click="jumpview('CompanyProfile', 'null')">鍏充簬鏄庣</span></template>
-						<el-menu-item index="companyProfile-1" @click="jumpview('CompanyProfile', '#anchor-1')">浼佷笟鏂囧寲</el-menu-item>
-						<el-menu-item index="companyProfile-2" @click="jumpview('CompanyProfile', '#anchor-2')">鑽h獕璧勮川</el-menu-item>
-						<el-menu-item index="companyProfile-3" @click="jumpview('CompanyProfile', '#anchor-3')">鑱旂郴鏄庣</el-menu-item>
+					<el-submenu index="companyprofile" popper-class="header-menu">
+						<template slot="title"><span @click="jumpview('Company')">鍏充簬鏄庣</span></template>
+						<el-menu-item index="companyProfile-1" @click="jumpview('CompanyProfile', 'culture.html')">浼佷笟鏂囧寲</el-menu-item>
+						<el-menu-item index="companyProfile-2" @click="jumpview('CompanyProfile', 'aptitude.html')">鑽h獕璧勮川</el-menu-item>
+						<el-menu-item index="companyProfile-3" @click="jumpview('CompanyProfile', 'contact.html')">鑱旂郴鏄庣</el-menu-item>
 						<el-menu-item index="companyProfile-4" @click="jumpview('joinMingKe')">鍔犲叆鏄庣</el-menu-item>
 					</el-submenu>
-					<el-menu-item index="word"><a href="http://mk9h.cn/a.asp?a=9CCB" target="_blank">鏂囨。涓績</a></el-menu-item>
+					<el-menu-item index="word"><a href="http://mk9h.cn/a.asp?a=9CCB" ref="nofollow" target="_blank">鏂囨。涓績</a></el-menu-item>
 				</el-menu>
 			</div>
 		</div>
@@ -100,12 +100,12 @@
 					params.hash = par
 				} else if (type === 'submenu') { // 浜у搧涓績瀛愰〉闈㈣烦杞�
 					this.activeKey = 'product'
-					params.menuId = par
+					params.menuId = par + '.html'
 				} else if (name === 'signup') {
 					if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
 						name = 'mobsignup'
 					}
-					window.open('#/' + name)
+					window.open(window.location.origin + '/' + name)
 					return
 				}
 
@@ -151,6 +151,9 @@
 				})
 			}
 		},
+		created () {
+			this.activeKey = this.$route.name
+		},
 		mounted () {
 			this.load()
 		}

--
Gitblit v1.8.0