From c57f6da46e2a52f7d5fb39d348d75134e57b0aca Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 19 一月 2021 10:21:00 +0800
Subject: [PATCH] 2021-01-19

---
 src/router/meta.json              |  206 ++++++++++++++++++++++++++++++++++
 src/views/news/index.vue          |   17 ++
 config/index.js                   |    2 
 src/views/index/dynamicDetail.vue |   14 ++
 src/components/footer.vue         |    3 
 index.html                        |   11 -
 src/components/header.vue         |    2 
 src/router/index.js               |   58 +++++++--
 8 files changed, 285 insertions(+), 28 deletions(-)

diff --git a/config/index.js b/config/index.js
index 06d949e..05456eb 100644
--- a/config/index.js
+++ b/config/index.js
@@ -12,7 +12,7 @@
     // api 鍙唬鐞嗘帴鍙o紝涓嶅姞鏃朵細閲嶅畾鍚戦〉闈㈣矾寰�
     proxyTable: {
       '/webapi': {
-        target: 'http://minkesoft.com/',
+        target: 'http://www.minkesoft.com/',
         changeOrigin: true,
         ws: true,
         // pathRewrite: {
diff --git a/index.html b/index.html
index 457ff21..37079d3 100644
--- a/index.html
+++ b/index.html
@@ -8,22 +8,19 @@
     <title>WMS浠撳簱绠$悊绯荤粺-浣庝唬鐮佸紑鍙戝钩鍙�-鏉$爜绠$悊绯荤粺-apaas-鏄庣浜�</title>
     <meta name="keywords" content="WMS浠撳簱绠$悊绯荤粺,浣庝唬鐮佸紑鍙戝钩鍙�,鏉$爜绠$悊绯荤粺,apaas,鏄庣浜�,浜岀淮鐮佽拷婧郴缁�,erp杩涘瓨閿�绯荤粺" />
     <meta name="description" content="鏄庣宸茬粡涓鸿秴杩�2000瀹朵紒涓氳繘琛屼緵搴旈摼椤圭洰瀹炴柦,鍙彁渚涗紬澶氭垚鐔熺殑浼佷笟搴旂敤渚涙偍閫夋嫨,鏈塛MS浠撳簱绠$悊绯荤粺,浣庝唬鐮佸紑鍙戝钩鍙�,鏉$爜绠$悊绯荤粺,apaas,鏄庣浜�,浜岀淮鐮佽拷婧郴缁�,erp杩涘瓨閿�绯荤粺绛�." />
-    <!-- <meta name="description" content="鏄庣鑷村姏浜巃paas,鏁忔嵎寮�鍙戝钩鍙�,ERP绯荤粺,鑽搧璐ㄩ噺绠$悊绯荤粺,浠撳簱绠$悊绯荤粺,鏉$爜浠撳簱绠$悊绯荤粺,浠撳簱绠$悊瑙e喅鏂规,鐢靛瓙鐩戠鐮�,璧嬬爜绯荤粺,闃茬獪璐х鐞嗙郴缁�,浜у搧璐ㄩ噺杩芥函绯荤粺鐨勫紑鍙戙�佸簲鐢ㄥ強鎺ㄥ箍銆�400 189 1819" />
-    <meta name="keywords" content="鏄庣,鏄庣鏅崕,鏄庣涓栫邯,杩芥函,淇℃伅鍖�,apaas,鏁忔嵎寮�鍙戝钩鍙�,绉诲姩鍔炲叕,浼佷笟绉诲姩鍖�,绉诲姩搴旂敤,璐ㄩ噺杩芥函,鏉$爜绠$悊,浠撳簱绠$悊,鐗╄仈缃戝簲鐢�,绉诲姩鎵弿,鍙厤缃钩鍙�,绉诲姩浜掕仈,浜掕仈缃�+" /> -->
     <link rel="shortcut icon" type="image/x-icon" href="./static/logo.png">
     <style>
-      body > a {
+      body #cnzz_stat_icon_1279630927 {
         display: none;
       }
     </style>
+    <script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1279630927'%3E%3C/span%3E%3Cscript src='https://v1.cnzz.com/z_stat.php%3Fid%3D1279630927%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
   </head>
   <body>
     <div id="app"></div>
     <!-- built files will be auto injected -->
-    <script type="text/javascript"  src="https://js.users.51.la/4874247.js"></script>
-    <noscript>
-      <a href="https://www.51.la/?4874247" target="_blank"> 缃戠珯缁熻 </a>
-    </noscript>
+    <!-- <script type="text/javascript"  src="https://js.users.51.la/4874247.js"></script> -->
+    <noscript></noscript>
   </body>
 </html>
 <script type="text/javascript">
diff --git a/src/components/footer.vue b/src/components/footer.vue
index 08d9fb9..b47d510 100644
--- a/src/components/footer.vue
+++ b/src/components/footer.vue
@@ -7,7 +7,8 @@
         <p class="footer_left_address">鍖椾含甯傞�氬窞鍖烘柊鍗庡寳琛�156鍙蜂繚鍒╁ぇ閮芥眹6-808</p>
         <p class="footer_left_address"><a href="http://beian.miit.gov.cn/"  target="_blank">浜琁CP澶�12007830鍙�</a></p>
         <p class="footer_left_address">
-          <a href="https://www.51.la/?comId=4874247" title="51.La 缃戠珯娴侀噺缁熻绯荤粺" target="_blank"><span class="la">51La</span></a>
+          <a href="https://www.cnzz.com/stat/website.php?web_id=1279630927" style="margin-right: 20px;" target="_blank" title="绔欓暱缁熻"><img border="0" hspace="0" vspace="0" src="https://icon.cnzz.com/img/pic.gif"></a>
+          <!-- <a href="https://www.51.la/?comId=4874247" title="51.La 缃戠珯娴侀噺缁熻绯荤粺" target="_blank"><span class="la">51La</span></a> -->
           <a href="http://exmail.qq.com/login" style="margin-right: 20px;" target="_blank" >浼佷笟閭</a>
           <a href="https://cli.im/" style="margin-right: 20px;" target="_blank" >鐢熸垚浜岀淮鐮�</a>
           <a href="http://www.qinms.com/webapp/barcode/index.aspx"  target="_blank" >鐢熸垚鏉″舰鐮�</a>
diff --git a/src/components/header.vue b/src/components/header.vue
index 3d2ac8d..11642b7 100644
--- a/src/components/header.vue
+++ b/src/components/header.vue
@@ -1,7 +1,7 @@
 <template>
 	<div class="header-wrap">
 		<div class="pc-wrapper">
-			<a class="logo"><img src="../img/index_logo.png" alt=""></a>
+			<a class="logo" @click="jumpview('home')"><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('home')">棣栭〉</el-menu-item>
diff --git a/src/router/index.js b/src/router/index.js
index 5e99346..814105b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,5 +1,6 @@
 import Vue from 'vue'
 import Router from 'vue-router'
+import Meta from './meta.json'
 
 Vue.use(Router)
 
@@ -42,32 +43,29 @@
   mode: 'history',
   routes: [{
     path: '/',
-    redirect: '/home.html'
-  }, {
-    path: '/',
     component: Home,
     children: [
       {
-        path: '/home.html',
+        path: '/',
         name: 'home',
         component: Index
       },
       {
-        path: '/productCenter/:menuId',//浜у搧杞欢
+        path: '/pdc/:menuId',//浜у搧杞欢
         name: 'productcenter',
         component: ProductCenter
       },
       {
-        path: '/successCase.html',//鎴愬姛妗堜緥
+        path: '/case.html',//鎴愬姛妗堜緥
         name: 'successcase',
         component: SuccessCase,
       },{
-        path: '/SuccessCaseIndex/:menuId',//鎴愬姛妗堜緥 璇︽儏
+        path: '/sci/:menuId',//鎴愬姛妗堜緥 璇︽儏
         name: 'successcaseindex',
         component: SuccessCaseIndex,
       },
       {
-        path: '/caseDetail/:menuId',//瑙e喅鏂规 璇︽儏
+        path: '/csd/:menuId',//瑙e喅鏂规 璇︽儏
         name: 'casedetail',
         component: CaseDetail
       },
@@ -82,27 +80,27 @@
         component: News
       },
       {
-        path: '/AboutMingKe.html',//鍏充簬鏄庣
+        path: '/amk.html',//鍏充簬鏄庣
         name: 'aboutmingKe',
         component: AboutMingKe
       },
       {
-        path: '/postDetails.html',//鑱屼綅璇︽儏
+        path: '/postd.html',//鑱屼綅璇︽儏
         name: 'postdetails',
         component: postDetails
       },
       {
-        path: '/companyProfile.html',//浼佷笟鏂囧寲
+        path: '/comp.html',//浼佷笟鏂囧寲
         name: 'company',
         component: CompanyProfile
       },
       {
-        path: '/companyProfile/:hash',//浼佷笟鏂囧寲
+        path: '/cpro/:hash',//浼佷笟鏂囧寲
         name: 'companyprofile',
         component: CompanyProfile
       },
       {
-        path: '/joinMingKe.html',//鍔犲叆鏄庣
+        path: '/joinmk.html',//鍔犲叆鏄庣
         name: 'joinmingke',
         component: JoinMingKe
       },
@@ -112,12 +110,12 @@
         component: ContactInformation
       },
       {
-        path: '/dynamicDetail/:menuId',//鏄庣鍔ㄦ�� 璇︽儏
+        path: '/dyd/:menuId',//鏄庣鍔ㄦ�� 璇︽儏
         name: 'dynamicdetail',
         component: DynamicDetail
       },
       {
-        path: '/caseSolution.html',//瑙e喅鏂规
+        path: '/sol.html',//瑙e喅鏂规
         name: 'casesolution',
         component: CaseSolution
       },
@@ -155,6 +153,36 @@
   }]
 })
 
+router.beforeEach((to, from, next) => {
+  let view = Meta.filter(item => {
+    if (to.params.menuId && item.menuId) {
+      return item.name === to.name && to.params.menuId.indexOf(item.menuId) > -1
+    } else {
+      return item.name === to.name
+    }
+  })[0]
+  
+  if (view) {
+    document.title = view.title
+    if (view.keywords) {
+      try {
+        let metas = document.getElementsByTagName('meta')
+        for (let i = 0; i < metas.length; i++) {
+          if (metas[i].name === 'keywords') {
+            metas[i].content = view.keywords
+          } else if (metas[i].name === 'description') {
+            metas[i].content = view.description
+          }
+        }
+      } catch (e) {
+        console.warn('meta 璁剧疆閿欒锛�')
+      }
+    }
+  }
+
+  next()
+})
+
 router.afterEach(() => {
   window.scrollTo(0, 0)
 })
diff --git a/src/router/meta.json b/src/router/meta.json
new file mode 100644
index 0000000..fdd086e
--- /dev/null
+++ b/src/router/meta.json
@@ -0,0 +1,206 @@
+[
+  {
+    "name": "home",
+    "label": "棣栭〉",
+    "menuId": "",
+    "title": "WMS浠撳簱绠$悊绯荤粺-浣庝唬鐮佸紑鍙戝钩鍙�-鏉$爜绠$悊绯荤粺-apaas-鏄庣浜�",
+    "keywords": "WMS浠撳簱绠$悊绯荤粺,浣庝唬鐮佸紑鍙戝钩鍙�,鏉$爜绠$悊绯荤粺,apaas,鏄庣浜�,浜岀淮鐮佽拷婧郴缁�,erp杩涘瓨閿�绯荤粺",
+    "description": "鏄庣宸茬粡涓鸿秴杩�2000瀹朵紒涓氳繘琛屼緵搴旈摼椤圭洰瀹炴柦,鍙彁渚涗紬澶氭垚鐔熺殑浼佷笟搴旂敤渚涙偍閫夋嫨,鏈塛MS浠撳簱绠$悊绯荤粺,浣庝唬鐮佸紑鍙戝钩鍙�,鏉$爜绠$悊绯荤粺,apaas,鏄庣浜�,浜岀淮鐮佽拷婧郴缁�,erp杩涘瓨閿�绯荤粺绛�."
+  },
+  {
+    "name": "center",
+    "label": "浜у搧涓績",
+    "menuId": "",
+    "title": "浜у搧涓績-鏄庣浜�",
+    "keywords": "鏄庣浜戜骇鍝佷腑蹇�,WMS浠撳簱绠$悊绯荤粺,浣庝唬鐮佸紑鍙戝钩鍙�,鏉$爜绠$悊绯荤粺",
+    "description": "鏄庣浜戜骇鍝佷腑蹇冩爮鐩粙缁峂ingKeOS锛屽晢鍩庤惀閿�锛屽井淇″晢鍩庯紝绾㈠寘钀ラ攢锛岀數鍟咵RP锛屾櫤鎱т粨鍌紝缁忛攢鍟嗗钩鍙帮紝浜戞墦鍗扮瓑浜у搧銆�"
+  },
+  {
+    "name": "productcenter",
+    "label": "MingKeOS",
+    "menuId": "1",
+    "menuIds": "4FB8CD",
+    "title": "MingKeOS-鏄庣浜�",
+    "keywords": "MingKeOS",
+    "description": "鏄庣鍟嗕笟鏅鸿兘寮�鏀惧钩鍙�(MingKe Business Intelligen OS锛岀畝绉帮細MingKeOS)鏄敱鏄庣浜戣绠椾簨涓氶儴鐮斿彂鐨凱AAS寮�鍙戝钩鍙帮紝浣跨敤MingKeOS鍙互璁╃敤鎴烽�氳繃绠�鍗曢厤缃�佽嚜鐒惰瑷�瀵硅瘽鐨勪氦浜掓柟寮忥紝鍗冲彲瀹炵幇浼佷笟绠$悊杩囩▼涓鏉傜殑涓氬姟閫昏緫澶勭悊锛屼細鎴愪负浼佷笟绠$悊鐨勫ソ甯墜銆�"
+  },
+  {
+    "name": "casedetail",
+    "label": "鏅烘収浠撳偍",
+    "menuId": "2",
+    "menuIds": "55A81C",
+    "title": "鏅烘収浠撳偍绯荤粺-鏄庣浜�",
+    "keywords": "鏅烘収浠撳偍绯荤粺",
+    "description": "鏅烘収浠撳偍绯荤粺鏄槑绉戠Н鏋佸搷搴斺�滄櫤鑳�+鈥濇垬鐣ワ紝閫氳繃IoT鎶�鏈繛鎺ョ敓浜т晶鐗╂祦鍚勭幆鑺傜殑涓嶅悓绫诲瀷鏅鸿兘缁堢鍜屾墽琛屽崟鍏冿紝鍦ㄧ粺涓�鐨勫钩鍙拌皟搴︽帶鍒朵笅锛屽畬鎴愮墿鐞嗕笘鐣屼汉銆佹満銆佺墿銆佹枡銆佹硶銆佺幆鐨勫崗鍚屻�佷紭鍖栦笌鎺у埗锛屼粠鑰岄�傚簲澶ц妯′釜鎬у寲鐢熶骇妯″紡涓嬪鐗╂祦缁勭粐妯″紡鏌旀�у寲銆佹櫤鑳藉寲銆侀�忔槑鍖栫殑鍙戝睍瑕佹眰銆�"
+  },
+  {
+    "name": "productcenter",
+    "label": "寰俊鍟嗗煄",
+    "menuId": "3",
+    "menuIds": "779402",
+    "title": "寰俊鍟嗗煄-鏄庣浜�",
+    "keywords": "寰俊鍟嗗煄",
+    "description": "鏄庣寰俊鍟嗗煄鐨勭壒鐐瑰湪浜庡彲浠ュ府鍔╀紒涓氭妸鍟嗗煄寮�鍒版瘡涓汉鐨勬墜鏈洪噷锛岃�屽悓鏃跺張鑳藉璁╂秷璐硅�呭彲浠ラ殢鏃堕殢鍦扮殑璐墿銆傚浜庝紒涓氭潵璇存渶濂界殑鏂瑰紡杩樻槸寤鸿鐙珛鐨勫井淇″晢鍩庡叿鏈夎緝澶х殑浼樺娍銆�"
+  },
+  {
+    "name": "casedetail",
+    "label": "绾㈠寘钀ラ攢",
+    "menuId": "4",
+    "menuIds": "C395B3",
+    "title": "绾㈠寘钀ラ攢-鏄庣浜�",
+    "keywords": "绾㈠寘钀ラ攢",
+    "description": "鏄庣绾㈠寘钀ラ攢灏嗙嚎涓嬩氦鏄撴櫤鑳藉湴杩炴帴鍒扮嚎涓婃潵锛岄櫎浜嗚娑堣垂鑰呮劅鍙楀埌绾㈠寘鏋侀�熷埌璐︾殑榄呭姏锛屽埡婵�浠栦滑鐨勫璐巼锛屽惛寮曟洿澶ц寖鍥寸殑鐩爣缇や綋澶栵紝瀵逛簬鍟嗗鑰岃█锛岃繕鏈夋洿閲嶅ぇ鐨勬剰涔夈��"
+  },
+  {
+    "name": "productcenter",
+    "label": "鐢靛晢ERP",
+    "menuId": "5",
+    "menuIds": "F2B0D5",
+    "title": "鐢靛晢ERP-ERP绯荤粺-ERP杞欢-鏄庣浜�",
+    "keywords": "ERP锛孍RP绯荤粺锛孍RP杞欢",
+    "description": "鏄庣鐢靛晢ERP鑳藉浣夸紒涓氳鍗曞鐞嗘洿鍔犻珮鏁堛�佽储鍔℃暟鎹洿鍔犳竻鏅般�佸簱瀛樼鐞嗘洿鍔犺鑼冦�傝�屼紒涓氭渶鏍稿績鐨勯渶姹傛棤闈炲氨鏄紑婧愯妭娴侊紝澧炴晥銆傚府鍔╀紒涓氭彁鍗囨晥鐜囪妭鐪佹垚鏈鍔犺鑼冨害锛屾槸鐢靛晢ERP鏈�澶х殑鏍稿績浠峰�笺��"
+  },
+  {
+    "name": "casedetail",
+    "label": "缁忛攢鍟嗗钩鍙�",
+    "menuId": "6",
+    "menuIds": "588806",
+    "title": "缁忛攢鍟嗗钩鍙�-鏄庣浜�",
+    "keywords": "缁忛攢鍟嗗钩鍙�",
+    "description": "鏄庣缁忛攢鍟嗗钩鍙版竻鏅扮鐞嗘笭閬撹鍗曘�佺簿鍑嗘帉鎻℃笭閬撳簱瀛樸�佸疄鏃舵礊瀵熷競鍦哄姩鎬併�佺簿鍑嗘帹琛屼績閿�绛栫暐锛屽凡缁忔垚涓轰紒涓氬仛濂芥笭閬撳垎閿�鐨勫厛鍐虫潯浠躲�傚熀浜庣Щ鍔ㄤ簰鑱旂綉鐞嗗康璁捐鐨勬暟鎹寲銆佹櫤鑳藉寲鐨勬笭閬撶Щ鍔ㄥ垎閿�骞冲彴涓轰紒涓氭瀯寤轰竴浣撳寲鐨勬笭閬撳垎閿�鍜岀粓绔鎺т綋绯伙紝甯姪浼佷笟鎻愬崌閿�鍞姏銆�"
+  },
+  {
+    "name": "casesolution",
+    "label": "瑙e喅鏂规",
+    "menuId": "",
+    "title": "鏁板瓧鍖栬В鍐虫柟妗�-鏄庣浜�",
+    "keywords": "鏁板瓧鍖栬В鍐虫柟妗�",
+    "description": "鏄庣AI涓嶪oT鎶�鏈渶缁堜細灏嗙墿鐞嗕笘鐣屾敼閫犱负涓囩墿浜掕仈涓栫晫锛屽悓鏃跺缓绔嬩竴涓叏鏂扮殑鏁板瓧鍖栦笘鐣屻�傚熀浜庤嚜韬牳蹇冪殑AI绠楁硶鑳藉姏涓庤蒋纭欢缁撳悎鑳藉姏锛屾槑绉戦潰鍚戞牳蹇冨簲鐢ㄥ満鏅紝鏋勫缓浜嗕粨鍌ㄧ墿娴併�佹櫤鑳藉埗閫犲拰鍟嗗煄钀ラ攢涓夊ぇ涓氬姟浣撶郴锛屽悓鏃朵篃閫氳繃寮�鏀惧熀纭�浜哄伐鏅鸿兘绠楁硶璧嬭兘寮�鍙戣�呭疄鐜板簲鐢ㄥ垱鏂般��"
+  },
+  {
+    "name": "casedetail",
+    "label": "MES鍒堕�犳墽琛岀郴缁�",
+    "menuId": "8",
+    "menuIds": "E88C35",
+    "title": "MES鍒堕�犳墽琛岀郴缁�-MES绯荤粺-MES杞欢-鏄庣浜�",
+    "keywords": "鎵х収鎵ц绯荤粺MES锛孧ES绯荤粺锛孧ES杞欢锛孧ES",
+    "description": "鏄庣浜慚ES鍒堕�犳墽琛岀郴缁熷彲鏍规嵁宸ュ巶瀹為檯杩愯浆鏂瑰紡鐏垫椿閰嶇疆锛屽伐鍘備腑鐨勬瘡涓鑹查兘鍙互蹇�熷湴鑾峰彇鍗忎綔鎵�闇�鐨勬暟鎹俊鎭紝甯姪鎮ㄦ洿濂界殑鏀瑰杽瀹為檯鐢熶骇鏁堢巼鍜岃川閲忥紝閫氳繃瀵圭敓浜ч渶姹傘�佺敓浜ц祫婧愬拰鐢熶骇鐩爣鍏ㄩ潰鎺屾彙锛屽厖鍒嗘縺鍙戜俊鎭�忔槑浼樺娍銆�"
+  },
+  {
+    "name": "productcenter",
+    "label": "璐ㄩ噺杩芥函QTS",
+    "menuId": "9",
+    "menuIds": "968C8D",
+    "title": "璐ㄩ噺杩芥函QTS-鏄庣浜�",
+    "keywords": "璐ㄩ噺杩芥函QTS",
+    "description": "浠ユ斂搴溿�佷紒涓氥�佹秷璐硅�呭叡璧负寤鸿鐩爣锛岀粨鍚堢墿鑱旂綉銆佷簯璁$畻銆佸ぇ鏁版嵁鍜孡BS鍦扮悊淇℃伅绛夋妧鏈紝閫氳繃鎰熺煡璁惧銆侀�氳缃戠粶RFID銆侀槻浼爣绛惧拰浜岀淮鐮佺瓑璁惧鎶�鏈紝涓洪鍝佸缓绔嬧�滆韩浠借瘉鈥濆埗搴︼紝瀹炵幇椋熷搧鐨勬簮澶淬�佸姞宸ャ�佹祦閫氥�佹秷璐圭瓑淇℃伅鐨勫叏绋嬪彲杩芥函锛屾墦閫犲畨鍏ㄥ仴搴风殑椋熷搧鍝佺墝銆�"
+  },
+  {
+    "name": "casedetail",
+    "label": "璐㈠姟浜戣绠�",
+    "menuId": "10",
+    "menuIds": "B7B32A",
+    "title": "璐㈠姟浜戣绠�-鏄庣浜�",
+    "keywords": "璐㈠姟浜戣绠�",
+    "description": "鏄庣浜戣储鍔′簯璁$畻瑙e喅鏂规FCC锛岀粨鍚堟槑绉戜赴瀵岀殑骞冲彴缁忛獙鍜屼紒涓氫簯鏈嶅姟鑳藉姏锛屾墦閫犲崜瓒婄殑绉诲姩璐㈠姟鍔炲叕瑙e喅鏂规锛岀洰鐨勫氨鏄府鍔╀紒涓氭瀯寤哄仴鍏ㄧ殑璐㈠姟浣撶郴锛屾惌寤轰究鎹风殑鎶ョ◣鐜锛屾彁楂樿储鍔′汉鍛樺姙鍏晥鐜囧拰璐ㄩ噺銆傚畬鎴愪笌渚涘簲鍟嗐�佸鍟嗙殑鏀朵粯娆惧崗鍚屻�佺エ鎹崗鍚屻��"
+  },
+  {
+    "name": "productcenter",
+    "label": "鏁板瓧鍖栬繍钀�",
+    "menuId": "11",
+    "menuIds": "6AA6BF",
+    "title": "鏁板瓧鍖栬繍钀�-鏄庣浜�",
+    "keywords": "鏁板瓧鍖栬繍钀�",
+    "description": "鏄庣浜戜互澶ф暟鎹�佷簯璁$畻銆佺墿鑱旂綉銆佷汉宸ユ櫤鑳界瓑鏂版妧鏈墍鎺ㄥ姩鐨勬暟瀛楀寲杞瀷姝h繀閫熺殑鏀瑰彉鐫�鎴戜滑鎵�澶勭殑鏃朵唬銆傚叾宸ㄥぇ鐨勫奖鍝嶅姏宸茬粡浠庨噺鍙樺埌璐ㄥ彉锛屽娑堣垂鑰呰涓恒�佸閮ㄥ晢涓氱幆澧冦�佷互鍙婁紒涓氳嚜韬殑杩愪綔妯″紡浜х敓浜嗛潻鍛芥�х殑褰卞搷銆傗�滄暟瀛楀寲鈥濆凡缁忎笉浠呬粎鏄惀閿�銆両T锛屾垨鑰呬緵搴旈摼绛夐儴闂ㄧ骇鍒殑璇濋锛屽叾宸茬粡涓婂崌鍒颁紒涓氶珮灞傦紝鎴愪负浼佷笟鎴樼暐涓笉鍙洖閬跨殑閲嶈璁銆�"
+  },
+  {
+    "name": "casedetail",
+    "label": "渚涘簲鍟嗗崗鍚�(鈥係RM鈥�)",
+    "menuId": "12",
+    "menuIds": "7982BF",
+    "title": "渚涘簲鍟嗗崗鍚岀鐞嗙郴缁�(鈥係RM鈥�)-鏄庣浜�",
+    "keywords": "渚涘簲鍟嗗崗鍚岀鐞嗙郴缁�(鈥係RM鈥�)",
+    "description": "鏄庣浜戜緵搴旈摼涓�鐩翠互浼佷笟鏍稿績ERP绯荤粺涓轰腑蹇冿紝鐢卞郊姝ゅ绔嬬殑搴旂敤鎻愪緵鏀寔銆�"
+  },
+  {
+    "name": "productcenter",
+    "label": "SAP寮�鍙�",
+    "menuId": "13",
+    "menuIds": "CE8F36",
+    "title": "sap绯荤粺-sap绯荤粺鏄粈涔堟剰鎬�-鏄庣浜�",
+    "keywords": "sap绯荤粺锛宻ap绯荤粺鏄粈涔堟剰鎬�",
+    "description": "鏄庣浜憇ap绯荤粺鍒╃敤闆嗘垚鐨勮嚜鍔ㄥ寲鏍稿績娴佺▼锛屽埗瀹氱敱鏁版嵁椹卞姩鐨勫喅绛栵紝瀹炴椂绠$悊缁╂晥锛屽�熷姪 SAP ERP 绯荤粺锛屼綘鍙互鎵撻�犱竴涓厖婊℃椿鍔涚殑鏁板瓧鍖栦紒涓氾紝娑堥櫎 IT 澶嶆潅鎬э紝骞跺垱閫犳簮婧愪笉鏂殑瀹炴椂淇℃伅銆�"
+  },
+  {
+    "name": "successcase",
+    "label": "鎴愬姛妗堜緥",
+    "menuId": "",
+    "title": "鎴愬姛妗堜緥-鏄庣浜�",
+    "keywords": "鏄庣浜戞垚鍔熸渚�,WMS",
+    "description": "鏄庣浜戞垚鍔熸渚嬫瘮杈冨锛屼负鍥藉唴鍚勫ぇ浼佷笟鎻愪緵寮哄ぇ鍔熻兘鐨勪骇鍝佺郴缁燂紝鍖呮嫭渚涘簲閾撅紝鏅鸿兘鍒堕�狅紝鍏ㄦ笭閬擄紝鍖昏嵂WMS锛岃川閲忚拷婧紝鏅鸿兘浠撳偍琛屼笟銆�"
+  },
+  {
+    "name": "successcaseindex",
+    "label": "鎴愬姛妗堜緥璇︽儏",
+    "menuId": "",
+    "title": "鎴愬姛妗堜緥-鏄庣浜�",
+    "keywords": "鏄庣浜戞垚鍔熸渚�,WMS",
+    "description": "鏄庣浜戞垚鍔熸渚嬫瘮杈冨锛屼负鍥藉唴鍚勫ぇ浼佷笟鎻愪緵寮哄ぇ鍔熻兘鐨勪骇鍝佺郴缁燂紝鍖呮嫭渚涘簲閾撅紝鏅鸿兘鍒堕�狅紝鍏ㄦ笭閬擄紝鍖昏嵂WMS锛岃川閲忚拷婧紝鏅鸿兘浠撳偍琛屼笟銆�"
+  },
+  {
+    "name": "partner",
+    "label": "娓犻亾鍚堜綔",
+    "menuId": "",
+    "title": "娓犻亾鍚堜綔-鏄庣浜�",
+    "keywords": "鏄庣浜戞笭閬撳悎浣�,WMS",
+    "description": "鏄庣浜戞笭閬撳悎浣滄湁钀ラ攢浼欎即锛屽疄鏂戒紮浼达紝鎺ㄥ箍浼欎即銆�"
+  },
+  {
+    "name": "news",
+    "label": "鏂伴椈璧勮",
+    "menuId": "",
+    "title": "鏂伴椈璧勮-鏄庣浜�",
+    "keywords": "鏄庣浜戞柊闂昏祫璁�",
+    "description": "鏄庣浜戞柊闂昏祫璁湁浼佷笟鍜ㄨ锛屼紒涓氭椿鍔紝琛屼笟鎶ュ憡涓夌被鍨嬶紝涓昏涓哄ぇ瀹朵粙缁峎MS浜у搧鐨勬渶鏂板姩鎬侊紝璐圭敤锛屼环鏍肩瓑淇℃伅銆�"
+  },
+  {
+    "name": "dynamicdetail",
+    "label": "鏂伴椈璧勮",
+    "menuId": "",
+    "title": "鏂伴椈璧勮-鏄庣浜�",
+    "keywords": "鏄庣浜戞柊闂昏祫璁�",
+    "description": "鏄庣浜戞柊闂昏祫璁湁浼佷笟鍜ㄨ锛屼紒涓氭椿鍔紝琛屼笟鎶ュ憡涓夌被鍨嬶紝涓昏涓哄ぇ瀹朵粙缁峎MS浜у搧鐨勬渶鏂板姩鎬侊紝璐圭敤锛屼环鏍肩瓑淇℃伅銆�"
+  },
+  {
+    "name": "company",
+    "label": "鍏充簬鏄庣",
+    "menuId": "",
+    "title": "鍏充簬鏄庣-鏄庣浜�",
+    "keywords": "鏄庣浜戝叧浜庢槑绉�",
+    "description": "鏄庣浜戝叧浜庢槑绉戞爮鐩粙缁嶆槑绉戜紒涓氭枃鍖栵紝鑽h獕璧勮川锛岃仈绯绘槑绉戯紝鍔犲叆鏄庣绛夊唴瀹广��"
+  },
+  {
+    "name": "companyprofile",
+    "label": "鍏充簬鏄庣",
+    "menuId": "",
+    "title": "鍏充簬鏄庣-鏄庣浜�",
+    "keywords": "鏄庣浜戝叧浜庢槑绉�",
+    "description": "鏄庣浜戝叧浜庢槑绉戞爮鐩粙缁嶆槑绉戜紒涓氭枃鍖栵紝鑽h獕璧勮川锛岃仈绯绘槑绉戯紝鍔犲叆鏄庣绛夊唴瀹广��"
+  },
+  {
+    "name": "aboutmingKe",
+    "label": "鍏充簬鏄庣",
+    "menuId": "",
+    "title": "鍏充簬鏄庣-鏄庣浜�",
+    "keywords": "鏄庣浜戝叧浜庢槑绉�",
+    "description": "鏄庣浜戝叧浜庢槑绉戞爮鐩粙缁嶆槑绉戜紒涓氭枃鍖栵紝鑽h獕璧勮川锛岃仈绯绘槑绉戯紝鍔犲叆鏄庣绛夊唴瀹广��"
+  },
+  {
+    "name": "joinmingke",
+    "label": "鍔犲叆鏄庣",
+    "menuId": "",
+    "title": "鍔犲叆鏄庣-鏄庣浜�",
+    "keywords": "鏄庣浜戝叧浜庢槑绉�",
+    "description": "鏄庣浜戝叧浜庢槑绉戞爮鐩粙缁嶆槑绉戜紒涓氭枃鍖栵紝鑽h獕璧勮川锛岃仈绯绘槑绉戯紝鍔犲叆鏄庣绛夊唴瀹广��"
+  }
+]
\ No newline at end of file
diff --git a/src/views/index/dynamicDetail.vue b/src/views/index/dynamicDetail.vue
index d55396e..90fcffa 100644
--- a/src/views/index/dynamicDetail.vue
+++ b/src/views/index/dynamicDetail.vue
@@ -3,8 +3,8 @@
     <div class="wrapper dynamic">
       <div class="dynamic_l">
         <h4>
-          鏄庣 > 鏂伴椈璧勮 
-          <span v-text="data.SubjClasName && '> ' + data.SubjClasName"></span>
+          鏄庣 > <span style="cursor: pointer;color: #1890ff;" @click="jumpview()">鏂伴椈璧勮</span> {{data.SubjClasName && '> '}}
+          <span v-text="data.SubjClasName" style="cursor: pointer;color: #1890ff;" @click="jumpview(data.SubjClasName)"></span>
           <span v-text="data.Title1 && '> ' + data.Title1"></span>
         </h4>
         <h2 class="dynamic_title" v-text="data.Title1"></h2>
@@ -64,6 +64,10 @@
     }
   },
   methods: {
+    jumpview (name) {
+      sessionStorage.setItem('newstype', name)
+      this.$router.push({name: 'news'})
+    },
     jumpmenu (menuId) {
       if (!menuId) return
       menuId = menuId + '.html'
@@ -77,6 +81,12 @@
       }
       this.Service.getParamData(param).then(res => {
         this.data = res
+
+        if (res.Title1) {
+          document.title = res.Title1 + '-鏄庣浜�'
+        } else {
+          document.title = '鏂伴椈璧勮-鏄庣浜�'
+        }
       })
     }
   },
diff --git a/src/views/news/index.vue b/src/views/news/index.vue
index 7bf6deb..d9027b7 100644
--- a/src/views/news/index.vue
+++ b/src/views/news/index.vue
@@ -58,6 +58,20 @@
           SubjClasCode: '',
           SubjClasName: '鍏ㄩ儴'
         })
+
+        try {
+          let newstype = sessionStorage.getItem('newstype')
+          if (newstype) {
+            let index = this.tabs.findIndex((item) => item.SubjClasName === newstype)
+            if (index > -1) {
+              this.cur = index
+            }
+          }
+          sessionStorage.removeItem('newstype')
+          console.log(this.cur)
+        } catch (e) {}
+
+        this.loaddata()
       })
     },
     loaddata () {
@@ -72,7 +86,6 @@
   },
   mounted () {
     this.loadtabs()
-    this.loaddata()
   }
 }
 </script>
@@ -96,6 +109,7 @@
       text-align: center;
       background-color: #F4F4F4;
       border-bottom: 0.01rem solid #D7D7D7;
+      transition: all 0.3s;
     }
     .active {
       background: #20B7FE;
@@ -176,6 +190,7 @@
       display: inline-block;
       font-size: 0.16rem;
       cursor: pointer;
+      transition: all 0.3s;
     }
     .contentTitle_before,.contentTitle_after {
       position: absolute;

--
Gitblit v1.8.0