Commit 0cbd1057 authored by linjw's avatar linjw

修改seo

parent 35f0bdb2
......@@ -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' },
......
......@@ -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>
......
......@@ -149,8 +149,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 }
],
}
}
......
......@@ -140,6 +140,11 @@
swiper: galleryThumbs
}
});
},
head () {
return {
title: "活动详情",
}
}
}
</script>
......
......@@ -202,8 +202,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 }
],
}
}
......
......@@ -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 }
],
}
}
......
......@@ -149,8 +149,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 }
],
}
}
......
......@@ -113,8 +113,8 @@
return {
title: this.detail.tagTitle,
meta: [
{name: 'keywords', content: this.detail.keywords },
{ hid: 'description', name: "description", content: this.detail.description }
{ hid: 'keywords', name: 'keywords', content: this.detail.keywords },
{ hid: 'description', name: 'description', content: this.detail.description }
],
}
}
......
......@@ -178,8 +178,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 }
],
}
},
......
......@@ -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 }
],
}
}
......
......@@ -226,6 +226,11 @@
swiper: galleryThumbs
}
});
},
head () {
return {
title: "租赁详情",
}
}
}
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment