Commit 1febd5a7 authored by lixy's avatar lixy

首页seo优化

parent e47fed5e
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@
width: 100%;
height: 300px;
position: relative;
background:url("../assets/images/footer.jpg") no-repeat;
background:url(https://mgmt.dfangche.com/xxfccn/image/home/background04.jpg) no-repeat;
color: #fff;
margin-top: -5px;
}
......
.show-go-top{
position: fixed;
right: 40px;
bottom: 80px;
width: 40px;
height: 40px;
text-align: center;
background: #333;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 9;
}
.show-go-top:hover .goTop{
display: block !important;
}
.goTop {
display: none;
position: fixed;
right: 40px;
bottom: 80px;
width: 40px;
height: 40px;
font-size: 12px;
padding: 3px;
text-align: center;
background: #1bbb9f;
color: #fff;
cursor: pointer;
z-index: 9;
}
.goTop:hover .goTopIcon {
color: rgba(51, 153, 255, 1);
}
.goTopIcon {
font-size: 20px;
color: rgba(51, 153, 255, 0.8);
}
......@@ -5,7 +5,7 @@
width: 100%;
height: 100%;
position: relative;
background:url(https://mgmt.dfangche.com/xxfccn/image/home/backgroud03.jpg) no-repeat;
background:url(https://mgmt.dfangche.com/xxfccn/image/home/background03.jpg) no-repeat;
}
@media screen and (max-width:1120px){
......
html {
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
word-spacing: 1px;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
}
.button--green {
display: inline-block;
border-radius: 4px;
border: 1px solid #3b8070;
color: #3b8070;
text-decoration: none;
padding: 10px 30px;
}
.button--green:hover {
color: #fff;
background-color: #3b8070;
}
.button--grey {
display: inline-block;
border-radius: 4px;
border: 1px solid #35495e;
color: #35495e;
text-decoration: none;
padding: 10px 30px;
margin-left: 15px;
}
.button--grey:hover {
color: #fff;
background-color: #35495e;
}
html{
font-family:"微软雅黑 Light" !important;
}
......
......@@ -152,28 +152,11 @@
display: flex;
justify-content: center;
}
/*@media screen and (max-width:1366px){*/
/*.box{*/
/*position:relative;*/
/*height:380px;*/
/*min-height: 350px;*/
/*}*/
/*}*/
/*@media screen and (min-width:1366px) and (max-width:1920px){*/
/*.box{*/
/*position:relative;*/
/*height:420px;*/
/*min-height: 350px;*/
/*}*/
/*}*/
/*@media screen and (min-width:1920px){*/
.box{
position:relative;
height:560px;
min-height: 350px;
}
/*}*/
span{
display:block;
height:40px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -63,46 +63,3 @@
}
};
</script>
<style scoped>
.show-go-top{
position: fixed;
right: 40px;
bottom: 80px;
width: 40px;
height: 40px;
text-align: center;
background: #333;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
z-index: 9;
}
.show-go-top:hover .goTop{
display: block !important;
}
.goTop {
display: none;
position: fixed;
right: 40px;
bottom: 80px;
width: 40px;
height: 40px;
font-size: 12px;
padding: 3px;
text-align: center;
background: #1bbb9f;
color: #fff;
cursor: pointer;
z-index: 9;
}
.goTop:hover .goTopIcon {
color: rgba(51, 153, 255, 1);
}
.goTopIcon {
font-size: 20px;
color: rgba(51, 153, 255, 0.8);
}
</style>
......@@ -150,25 +150,10 @@
display: flex;
justify-content: center;
}
/*@media screen and (max-width:1200px){*/
/*.box{*/
/*position:relative;*/
/*height:150px;*/
/*}*/
/*}*/
/*@media screen and (min-width:1201px) and (max-width:1920px){*/
/*.box{*/
/*position:relative;*/
/*height:180px;*/
/*}*/
/*}*/
/*@media screen and (min-width:1920px){*/
.box{
position:relative;
height:240px;
}
/*}*/
span{
display:block;
height:40px;
......
......@@ -3,50 +3,3 @@
<nuxt/>
</div>
</template>
<style>
html {
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
word-spacing: 1px;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
}
.button--green {
display: inline-block;
border-radius: 4px;
border: 1px solid #3b8070;
color: #3b8070;
text-decoration: none;
padding: 10px 30px;
}
.button--green:hover {
color: #fff;
background-color: #3b8070;
}
.button--grey {
display: inline-block;
border-radius: 4px;
border: 1px solid #35495e;
color: #35495e;
text-decoration: none;
padding: 10px 30px;
margin-left: 15px;
}
.button--grey:hover {
color: #fff;
background-color: #35495e;
}
</style>
......@@ -11,19 +11,20 @@ module.exports = {
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: 'https://mgmt.dfangche.com/xxfccn/image/1/app/5d9c62b7412efd926f70e0ed5efb19a.png' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic' }
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/main.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/menu.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/footer.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/index.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/goTop.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/swiper.min.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/el/index.css' }
],
script: [
{ src: 'https://dev.dfangche.com/h5/appHtml/js/util.js' },
],
},
css: [
'~/assets/main.css',
'~/assets/menu.css',
'~/assets/footer.css',
'swiper/dist/css/swiper.min.css',
'element-ui/lib/theme-chalk/index.css'
],
css: [ ],
loading: '~/components/loading.vue',
......
......@@ -246,7 +246,6 @@
</div>
</template>
<style lang="css">@import "../assets/index.css";</style>
<script>
import axios from '../plugins/axios'
import banner from "../components/banner"
......@@ -424,7 +423,6 @@ export default {
{id: 4, url:'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/8.jpg', name:'奔驰斯宾特',sUrl:"https://mgmt.dfangche.com/xxfccn/image/2019-09-02/8.jpg"}
];
}
},
/**
* 缩略图点击切换大图
......
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
\ No newline at end of file
// import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
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