xjc %!s(int64=4) %!d(string=hai) anos
pai
achega
64c58d4e8e
Modificáronse 2 ficheiros con 9 adicións e 9 borrados
  1. 1 1
      src/router.js
  2. 8 8
      src/views/Home.vue

+ 1 - 1
src/router.js

@@ -14,7 +14,7 @@ export default new Router({
       name: '首页',
       icon: 'el-icon-s-home',
       component: () => import('./views/Home.vue'),
-      show: 1,
+      show: 0,
       isLeaf: 1,
       children: [{
         path: '/index/index',

+ 8 - 8
src/views/Home.vue

@@ -10,8 +10,8 @@
 	<el-container>
 		<el-header>
 			<div class="header">
-				<!-- <img class="logo" src="../assets/logo.png" alt=""> -->
-				<!-- <div class="siteTitle">中科院期刊微信公众号集中管理平台</div> -->
+				<img class="logo" src="../assets/logo.png" alt="">
+				<div class="siteTitle">中科院期刊微信公众号集中管理平台</div>
 			</div>	
 			<div class="nav">
 				<!-- <router-link :class="act?'active':''" to="/index/index" @click.native='active(1)'>首页</router-link>
@@ -143,13 +143,13 @@ export default {
 		},
 		initNav(){
 			let data = [
-				{ act: true, to: '/index/index', name: '首页' },
-				{ act: false, to: '/journal/journal', name: '刊群导览' },
-				{ act: false, to: '/learning/activity', name: '学术交流' },
-				{ act: false, to: '/article/article', name: '精品导读' },
-				{ act: false, to: '/conference/conference', name: '会议系统' },
+				// { act: true, to: '/index/index', name: '首页' },
+				// { act: false, to: '/journal/journal', name: '刊群导览' },
+				// { act: false, to: '/learning/activity', name: '学术交流' },
+				// { act: false, to: '/article/article', name: '精品导读' },
+				// { act: false, to: '/conference/conference', name: '会议系统' },
 				{ act: false, to: '/message/message', name: '信息管理' },
-				{ act: false, to: '/system/account', name: '系统管理' },
+				// { act: false, to: '/system/account', name: '系统管理' },
 			];
 			let mod = this.$route.path.split("/")[1];
 			this.$router.options.routes.forEach((element,i) => {