lhl 3 年之前
父節點
當前提交
6f3ac8265a
共有 4 個文件被更改,包括 8 次插入6 次删除
  1. 2 2
      package.json
  2. 4 2
      public/index.html
  3. 1 1
      src/main.js
  4. 1 1
      src/router.js

+ 2 - 2
package.json

@@ -4,8 +4,8 @@
   "private": true,
   "private": true,
   "scripts": {
   "scripts": {
     "serve": "vue-cli-service serve",
     "serve": "vue-cli-service serve",
-    "build": "vue-cli-service build",
-	"dev": "npm run serve"
+    "build": "vue-cli-service build",
+    "dev": "npm run serve"
   },
   },
   "dependencies": {
   "dependencies": {
     "axios": "^0.21.1",
     "axios": "^0.21.1",

+ 4 - 2
public/index.html

@@ -4,8 +4,10 @@
     <meta charset="utf-8">
     <meta charset="utf-8">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
-    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title>jzpc</title>
+    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
+	<meta name="keywords" content="鄂州市红十字会官方网站,鄂州市红十字会官方,鄂州市红十字会官网,鄂州红会官网,鄂州红会,鄂州市,鄂州,红十字会">
+    <title>鄂州市红十字会 - 官网</title>
+	<meta name="description" content="鄂州市红十字会位于湖北省鄂州市鄂城区滨湖南路60号,电话:027-60229380。鄂州市红十字会是在市委、市政府领导下从事人道主义工作的社会救助团体,依照《中华人民共和国红十字会法》,秉承“人道、博爱、奉献”红十字精神,履行法定职责,充分发挥党和政府在人道领域的桥梁和纽带作用。">
   </head>
   </head>
   <body>
   <body>
     <noscript>
     <noscript>

+ 1 - 1
src/main.js

@@ -16,7 +16,7 @@ Vue.use(ElementUI);
 	 //页面跳转时,页面位置重置为顶部
 	 //页面跳转时,页面位置重置为顶部
       window.scrollTo(0,0);
       window.scrollTo(0,0);
 	  //修改页面title
 	  //修改页面title
-	  window.document.title = to.meta.title == undefined?'荆州红十字会':to.meta.title
+	  window.document.title = to.meta.title == undefined?'荆州红十字会-官网':to.meta.title
  })
  })
 
 
 new Vue({
 new Vue({

+ 1 - 1
src/router.js

@@ -29,7 +29,7 @@ export default new Router({
       name: 'home',
       name: 'home',
       component: () => import('./views/Home.vue'),
       component: () => import('./views/Home.vue'),
       meta: {
       meta: {
-        title: '鄂州市红十字会'
+        title: '鄂州市红十字会 - 官网'
       }
       }
     },
     },
 	{
 	{