Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-ssr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lixy
vue-ssr
Commits
0cbd1057
Commit
0cbd1057
authored
Sep 11, 2019
by
linjw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改seo
parent
35f0bdb2
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
42 additions
and
30 deletions
+42
-30
nuxt.config.js
nuxt.config.js
+2
-2
aboutXx.vue
pages/aboutXx.vue
+10
-9
activity.vue
pages/activity.vue
+3
-3
_id.vue
pages/activityList/_id.vue
+5
-0
campsite.vue
pages/campsite.vue
+3
-3
index.vue
pages/index.vue
+2
-2
news.vue
pages/news.vue
+3
-3
_id.vue
pages/newsList/_id.vue
+3
-3
tour.vue
pages/tour.vue
+3
-3
vehicle.vue
pages/vehicle.vue
+3
-2
_id.vue
pages/vehicleList/_id.vue
+5
-0
No files found.
nuxt.config.js
View file @
0cbd1057
...
...
@@ -6,8 +6,8 @@ module.exports = {
meta
:
[
{
charset
:
'utf-8'
},
{
name
:
'viewport'
,
content
:
'width=device-width, initial-scale=1'
},
// {
name:'keywords', 'content': '欣新房车,房车旅游,房车,房车租赁,房车销售,房车价格,房车之家,房车经济,房车高峰论坛' },
//
{ hid: 'description', name: 'description', content: '欣新房车是一家专业从事房车销售,房车租赁,房车旅游,房车托管及房车产业配套与服务的免费异地取车异地还车已在全国各地举办多届房车经济峰会的集团股份公司' }
{
hid
:
'keywords'
,
name
:
'keywords'
,
'content'
:
'欣新房车,房车旅游,房车,房车租赁,房车销售,房车价格,房车之家,房车经济,房车高峰论坛'
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
'欣新房车是一家专业从事房车销售,房车租赁,房车旅游,房车托管及房车产业配套与服务的免费异地取车异地还车已在全国各地举办多届房车经济峰会的集团股份公司'
}
],
link
:
[
{
rel
:
'icon'
,
type
:
'image/x-icon'
,
href
:
'https://mgmt.dfangche.com/xxfccn/image/1/app/5d9c62b7412efd926f70e0ed5efb19a.png'
},
...
...
pages/aboutXx.vue
View file @
0cbd1057
...
...
@@ -112,6 +112,15 @@
import
vehicleBanner
from
"../components/vehicleBanner"
import
GoTop
from
"../components/goTop"
;
export
default
{
head
()
{
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
},
transition
:
"bounce"
,
components
:
{
GoTop
,
...
...
@@ -222,15 +231,7 @@
bannerClick
()
{
},
},
head
()
{
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
],
}
}
};
</
script
>
...
...
pages/activity.vue
View file @
0cbd1057
...
...
@@ -148,9 +148,9 @@
head
()
{
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
meta
:
[
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
}
...
...
pages/activityList/_id.vue
View file @
0cbd1057
...
...
@@ -140,8 +140,13 @@
swiper
:
galleryThumbs
}
});
},
head
()
{
return
{
title
:
"活动详情"
,
}
}
}
</
script
>
<
style
scoped
>
.isFixed
{
...
...
pages/campsite.vue
View file @
0cbd1057
...
...
@@ -201,9 +201,9 @@ export default {
head
()
{
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
meta
:
[
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
}
...
...
pages/index.vue
View file @
0cbd1057
...
...
@@ -485,8 +485,8 @@ export default {
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
}
...
...
pages/news.vue
View file @
0cbd1057
...
...
@@ -148,9 +148,9 @@
head
()
{
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
meta
:
[
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
}
...
...
pages/newsList/_id.vue
View file @
0cbd1057
...
...
@@ -112,9 +112,9 @@
head
()
{
return
{
title
:
this
.
detail
.
tagTitle
,
meta
:
[
{
name
:
'keywords'
,
content
:
this
.
detail
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
detail
.
description
}
meta
:
[
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
detail
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
detail
.
description
}
],
}
}
...
...
pages/tour.vue
View file @
0cbd1057
...
...
@@ -177,9 +177,9 @@
head
()
{
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
meta
:
[
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
},
...
...
pages/vehicle.vue
View file @
0cbd1057
...
...
@@ -106,6 +106,7 @@
this
.
getAll
();
this
.
getBanner
();
// this.getHead()
},
mounted
()
{
window
.
addEventListener
(
"scroll"
,
this
.
scrollHandle
);
// 绑定页面的滚动事件
...
...
@@ -173,8 +174,8 @@
return
{
title
:
this
.
headList
.
title
,
meta
:
[
{
name
:
"keywords"
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
"description"
,
content
:
this
.
headList
.
description
}
{
hid
:
'keywords'
,
name
:
'keywords'
,
content
:
this
.
headList
.
keywords
},
{
hid
:
'description'
,
name
:
'description'
,
content
:
this
.
headList
.
description
}
],
}
}
...
...
pages/vehicleList/_id.vue
View file @
0cbd1057
...
...
@@ -226,8 +226,13 @@
swiper
:
galleryThumbs
}
});
},
head
()
{
return
{
title
:
"租赁详情"
,
}
}
}
</
script
>
<
style
scoped
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment