Commit 2ec0fb54 authored by guoyou's avatar guoyou

官网改版

parent 49261966
...@@ -11,7 +11,7 @@ let layouts = { ...@@ -11,7 +11,7 @@ let layouts = {
let resolvedLayouts = {} let resolvedLayouts = {}
export default { export default {
head: {"title":"欣新房车—房车·让生活更美好-房车销售丨房车租赁丨房车旅游丨房车托管","meta":[{"charset":"utf-8"},{"name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"keywords","name":"keywords","content":"欣新房车,房车旅游,房车,房车租赁,房车销售,房车价格,房车之家,房车经济,房车高峰论坛"},{"hid":"description","name":"description","content":"欣新房车是一家专业从事房车销售,房车租赁,房车旅游,房车托管及房车产业配套与服务的免费异地取车异地还车已在全国各地举办多届房车经济峰会的集团股份公司"}],"link":[{"rel":"icon","type":"image\u002Fx-icon","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fimage\u002F1\u002Fapp\u002F5d9c62b7412efd926f70e0ed5efb19a.png"},{"rel":"stylesheet","href":"https:\u002F\u002Ffonts.googleapis.com\u002Fcss?family=Roboto:300,400,500,700,400italic"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fmain.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fmenu.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Ffooter.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Findex.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Ficonfont.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002FgoTop.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fswiper.min.css"},{"rel":"stylesheet","href":"https:\u002F\u002Fwww.xxfangche.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fel\u002Findex.css"}],"script":[{"src":"https:\u002F\u002Fdev.dfangche.com\u002Fh5\u002FappHtml\u002Fjs\u002Futil.js"}],"style":[]}, head: {"title":"欣新房车—房车·让生活更美好-房车销售丨房车租赁丨房车旅游丨房车托管","meta":[{"charset":"utf-8"},{"name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"keywords","name":"keywords","content":"欣新房车,房车旅游,房车,房车租赁,房车销售,房车价格,房车之家,房车经济,房车高峰论坛"},{"hid":"description","name":"description","content":"欣新房车是一家专业从事房车销售,房车租赁,房车旅游,房车托管及房车产业配套与服务的免费异地取车异地还车已在全国各地举办多届房车经济峰会的集团股份公司"}],"link":[{"rel":"icon","type":"image\u002Fx-icon","href":"https:\u002F\u002Fmgmt.dfangche.com\u002Fxxfccn\u002Fimage\u002F1\u002Fapp\u002F5d9c62b7412efd926f70e0ed5efb19a.png"},{"rel":"stylesheet","href":"https:\u002F\u002Ffonts.googleapis.com\u002Fcss?family=Roboto:300,400,500,700,400italic"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fmain.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fmenu.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Ffooter.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Findex.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Ficonfont.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002FgoTop.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fswiper.min.css"},{"rel":"stylesheet","href":"http:\u002F\u002Fxxtest.upyuns.com\u002Fxxfccn\u002Fcss\u002Fpc\u002Fel\u002Findex.css"}],"script":[{"src":"https:\u002F\u002Fdev.dfangche.com\u002Fh5\u002FappHtml\u002Fjs\u002Futil.js"}],"style":[]},
render(h, props) { render(h, props) {
const loadingEl = h('nuxt-loading', { ref: 'loading' }) const loadingEl = h('nuxt-loading', { ref: 'loading' })
const layoutEl = h(this.layout || 'nuxt') const layoutEl = h(this.layout || 'nuxt')
......
.footer-container { .footer-container {
width: 100%; width: 100%;
height: 300px; height: 230px;
position: relative; position: relative;
background:url(https://mgmt.dfangche.com/xxfccn/image/home/background04.jpg) no-repeat; /* background:url(https://mgmt.dfangche.com/xxfccn/image/home/background04.jpg) no-repeat; */
color: #fff; color: #fff;
margin-top: -5px; margin-top: -5px;
background: #fff;
} }
.footer { .footer {
font-family: sans-serif; font-family: sans-serif;
padding: 10px 0;
display: flex; display: flex;
width: 1120px; width: 1120px;
margin: 0 auto; margin: 0 auto;
......
...@@ -156,9 +156,10 @@ li { ...@@ -156,9 +156,10 @@ li {
width: 49.5%; width: 49.5%;
float: left; float: left;
background: #fff; background: #fff;
padding-bottom: 10px; padding-bottom: 17px;
transition: all 0.2s linear; transition: all 0.2s linear;
overflow: hidden; overflow: hidden;
border: 1px solid #eee;
} }
.swiper-containerActivity .left:hover { .swiper-containerActivity .left:hover {
...@@ -210,6 +211,7 @@ li { ...@@ -210,6 +211,7 @@ li {
padding: 12px 10px; padding: 12px 10px;
margin-bottom: 10px; margin-bottom: 10px;
background: #fff; background: #fff;
border: 1px solid #eee;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
...@@ -548,7 +550,7 @@ li { ...@@ -548,7 +550,7 @@ li {
transition: all .3s ease; transition: all .3s ease;
color: #fff; color: #fff;
box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, .15); box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, .15);
background: rgba(27,187,159, 1); background: rgba(27, 187, 159, 1);
} }
.tourActive .tour-t-s, .tourActive .tour-t-s,
...@@ -565,11 +567,11 @@ li { ...@@ -565,11 +567,11 @@ li {
.hot-car { .hot-car {
background: rgb(68, 68, 68);
position: relative; position: relative;
background: rgb(245, 245, 245);
} }
.embellish-1, /* .embellish-1,
.embellish-2, .embellish-2,
.embellish-3 { .embellish-3 {
border-radius: 40px; border-radius: 40px;
...@@ -597,11 +599,8 @@ li { ...@@ -597,11 +599,8 @@ li {
height: 225px; height: 225px;
top: 97px; top: 97px;
right: -37px; right: -37px;
}
/* .hot-car .flex-aic-jcb a{
color: #fff;
} */ } */
.hot-car .min-win .v-type-ul { .hot-car .min-win .v-type-ul {
color: #fff; color: #fff;
width: 400px; width: 400px;
...@@ -624,14 +623,9 @@ li { ...@@ -624,14 +623,9 @@ li {
margin: 0; margin: 0;
} }
/* .hot-car .min-win a {
position: absolute;
top: 0;
right: 0;
} */
.hot-car .min-win ul .hotActiveBtn { .hot-car .min-win ul .hotActiveBtn {
background: #1bbb9f; background: #1bbb9f;
color: #fff !important;
} }
.hot-car .min-win .left, .hot-car .min-win .left,
...@@ -650,6 +644,7 @@ li { ...@@ -650,6 +644,7 @@ li {
.hot-car .min-win .left>ul>li { .hot-car .min-win .left>ul>li {
width: 49%; width: 49%;
background: #fff; background: #fff;
padding: 10px 0 10px 10px;
} }
.left-content { .left-content {
...@@ -666,12 +661,16 @@ li { ...@@ -666,12 +661,16 @@ li {
text-align: center; text-align: center;
line-height: 46px; line-height: 46px;
margin: 0 auto; margin: 0 auto;
margin-top: 13px; margin-bottom: 20.5px;
cursor: pointer; cursor: pointer;
} }
.left-content li:last-child {
margin-bottom: 0;
}
.pic-show { .pic-show {
width: 481px; width: 470px;
display: inline-block; display: inline-block;
position: relative; position: relative;
} }
...@@ -727,6 +726,14 @@ li { ...@@ -727,6 +726,14 @@ li {
color: #333; color: #333;
line-height: 30px; line-height: 30px;
padding: 30px 0; padding: 30px 0;
transition: all 0.2s linear;
border-radius: 5px;
border-top: 5px solid transparent;
}
.flex-fdc-jcc .right ul li:hover {
box-shadow: 0px 20px 40px 0px rgba(102, 102, 102, 0.3);
border-top: 5px solid #1bbb9f;
} }
.flex-fdc-jcc .right ul li>img { .flex-fdc-jcc .right ul li>img {
...@@ -842,10 +849,11 @@ li { ...@@ -842,10 +849,11 @@ li {
.flex-aic-jcb-warp .left { .flex-aic-jcb-warp .left {
width: 540px; width: 540px;
height: 426px; height: 426px;
background: rgb(242, 242, 242); background: #fff;
padding: 30px; padding: 30px;
display: inline-block; display: inline-block;
} }
.flex-aic-jcb-warp .left h3 { .flex-aic-jcb-warp .left h3 {
font-size: 16px; font-size: 16px;
margin-bottom: 20px; margin-bottom: 20px;
...@@ -889,21 +897,24 @@ li { ...@@ -889,21 +897,24 @@ li {
.flex-aic-jcb-warp .right li a { .flex-aic-jcb-warp .right li a {
color: #666; color: #666;
font-size: 14px; font-size: 16px;
} }
.flex-aic-jcb-warp .right li:hover { .flex-aic-jcb-warp .right li:hover {
background: #1bbb9f; background: #fff;
box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, .15);
} }
.flex-aic-jcb-warp .right li:hover a { .flex-aic-jcb-warp .right li:hover a {
color: #fff; /* color: #fff; */
font-size: 16px; /* font-size: 16px;
text-indent: 4px; text-indent: 4px; */
} }
.flex-aic-jcb-warp .right li:hover span:nth-child(2){
.flex-aic-jcb-warp .right li:hover span:nth-child(2) {
text-indent: 15px; text-indent: 15px;
} }
.flex-aic-jcb-warp .right li:hover span:nth-child(1) { .flex-aic-jcb-warp .right li:hover span:nth-child(1) {
width: 430px; width: 430px;
} }
...@@ -912,37 +923,42 @@ li { ...@@ -912,37 +923,42 @@ li {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
width: 454px; width: 445px;
margin-right: 13px; margin-right: 13px;
} }
.flex-aic-jcb-warp .right li span:nth-child(2) { .flex-aic-jcb-warp .right li span:nth-child(2) {
position: relative; float: right;
top: -17px;
} }
.city-covers { .city-covers {
width: 1120px; text-align: right;
margin: 0 auto; /* width: 1120px;
position: absolute; margin: 0 auto; */
/* position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin-top: -200px; margin-top: -200px;
margin-left: -565px; margin-left: -565px; */
} }
.introduce { .introduce {
width: 465px; width: 465px;
background: rgba(0, 0, 0, .4); background: #fff;
display: inline-block; display: inline-block;
height: 380px; /* height: 380px; */
margin-top: 13px; /* margin-top: 13px; */
padding: 30px; padding: 30px 30px 0 30px;
position: relative;
top: -156px;
/* right: 0; */
text-align: left;
} }
.introduce h3 { .introduce h3 {
font-size: 16px; font-size: 16px;
margin-bottom: 20px; margin-bottom: 20px;
color: #333;
} }
.introduce>p:nth-child(2) { .introduce>p:nth-child(2) {
...@@ -964,6 +980,7 @@ li { ...@@ -964,6 +980,7 @@ li {
.introduce ul li p:nth-child(1) { .introduce ul li p:nth-child(1) {
font-size: 50px; font-size: 50px;
color: #333;
} }
.introduce ul li p:nth-child(2) { .introduce ul li p:nth-child(2) {
...@@ -980,9 +997,11 @@ li { ...@@ -980,9 +997,11 @@ li {
cursor: pointer; cursor: pointer;
margin-top: 10px; margin-top: 10px;
} }
.look-info:hover{
background: rgba(18,156,132) !important; .look-info:hover {
background: rgba(18, 156, 132) !important;
} }
.campsite { .campsite {
width: 1120px; width: 1120px;
margin: 0 auto; margin: 0 auto;
...@@ -995,9 +1014,9 @@ li { ...@@ -995,9 +1014,9 @@ li {
} }
.campsite .left-title { .campsite .left-title {
background: #333; background: #1bbb9f;
color: #fff; color: #fff;
padding: 15px; padding: 12px;
} }
.campsite .left-title span:nth-child(2) { .campsite .left-title span:nth-child(2) {
...@@ -1009,12 +1028,14 @@ li { ...@@ -1009,12 +1028,14 @@ li {
/* padding: 15px; */ /* padding: 15px; */
/* transition: all 0.2s linear; */ /* transition: all 0.2s linear; */
} }
/* .campsite .left img:hover{ /* .campsite .left img:hover{
transform: scale(1.2); transform: scale(1.2);
} */ } */
.campsite .left ul { .campsite .left ul {
padding: 0 15px 20px 15px; padding: 0 15px 20px 15px;
} }
/* .head-img img{ /* .head-img img{
transition: all 0.2s linear;; transition: all 0.2s linear;;
} }
......
...@@ -212,14 +212,13 @@ h2{ ...@@ -212,14 +212,13 @@ h2{
} }
.more-container a{ .more-container a{
position: absolute; position: absolute;
right:20px; right:0;
color: #999; color: #999;
text-decoration: none; text-decoration: none;
z-index: 8; z-index: 8;
} }
.more-container a:hover{ .more-container a:hover{
/* right: 30px; */ right: -30px;
right: 0;
color: #1bbb9f; color: #1bbb9f;
/* box-shadow: 5px 5px 5px #888888; */ /* box-shadow: 5px 5px 5px #888888; */
} }
...@@ -249,7 +248,8 @@ h2{ ...@@ -249,7 +248,8 @@ h2{
cursor: pointer; cursor: pointer;
} }
.total-div{ .total-div{
margin: 20px 0; /* margin: 20px 0; */
margin-bottom: 20px;
color: #666; color: #666;
background: #fff; background: #fff;
font-size: 16px; font-size: 16px;
......
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
align-items: center; align-items: center;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
background-color: #333; background-color: #fff;
height: 50px; height: 50px;
} }
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
list-style-type: none; list-style-type: none;
display: flex; display: flex;
width: 1120px; width: 1120px;
height: 40px;
justify-content: space-between; justify-content: space-between;
margin: 0 auto; margin: 0 auto;
} }
...@@ -163,9 +164,9 @@ ...@@ -163,9 +164,9 @@
margin: 0 30px; margin: 0 30px;
padding: 10px 0; padding: 10px 0;
text-align: left; text-align: left;
color: #fff; color: #333;
text-decoration: none; text-decoration: none;
border-bottom: 3px solid #333; border-bottom: 3px solid #fff;
font-size: 16px; font-size: 16px;
} }
...@@ -240,7 +241,7 @@ a { ...@@ -240,7 +241,7 @@ a {
right: 0; right: 0;
top: 50%; top: 50%;
margin-top: -50px; margin-top: -50px;
background: #333; background: #1bbb9f;
} }
...@@ -268,11 +269,11 @@ a { ...@@ -268,11 +269,11 @@ a {
} }
.sidebar ul li span:hover { .sidebar ul li span:hover {
background: #1bbb9f; background: rgb(18, 156, 132) !important
} }
.sidebar ul li:hover span { .sidebar ul li:hover span {
background: #1bbb9f; background: rgb(18, 156, 132) !important
} }
.sidebar ul li:nth-child(1):hover p { .sidebar ul li:nth-child(1):hover p {
...@@ -286,7 +287,7 @@ a { ...@@ -286,7 +287,7 @@ a {
position: absolute; position: absolute;
left: -164px; left: -164px;
top: 0px; top: 0px;
background: #1bbb9f; background: rgb(18, 156, 132) !important;
color: #fff; color: #fff;
padding: 0 50px; padding: 0 50px;
display: none; display: none;
...@@ -301,7 +302,7 @@ a { ...@@ -301,7 +302,7 @@ a {
position: absolute; position: absolute;
left: -146px; left: -146px;
top: -70px; top: -70px;
background: #1bbb9f; background: rgb(18, 156, 132) !important;
color: #fff; color: #fff;
width: 146px; width: 146px;
padding: 10px; padding: 10px;
...@@ -334,7 +335,7 @@ a { ...@@ -334,7 +335,7 @@ a {
.sidebar ul li:nth-child(4) div { .sidebar ul li:nth-child(4) div {
display: none; display: none;
position: absolute; position: absolute;
background: #1bbb9f; background: rgb(18, 156, 132) !important;
color: #fff; color: #fff;
left: -147px; left: -147px;
top: -62px; top: -62px;
......
...@@ -85,7 +85,7 @@ export default { ...@@ -85,7 +85,7 @@ export default {
</script> </script>
<style> <style>
.my-outbox { .my-outbox {
width: 800px; width: 915px;
display: inline-block; display: inline-block;
color: #fff; color: #fff;
overflow: hidden; overflow: hidden;
...@@ -107,7 +107,7 @@ export default { ...@@ -107,7 +107,7 @@ export default {
line-height: 35px; line-height: 35px;
} }
.my-uname { .my-uname {
color: #ccc; color: #666;
transition: all 0.2s linear; transition: all 0.2s linear;
} }
.my-uname:hover { .my-uname:hover {
...@@ -119,11 +119,12 @@ export default { ...@@ -119,11 +119,12 @@ export default {
} }
.foot-content { .foot-content {
width: 100%; width: 100%;
border-bottom: 1px solid #444; border-bottom: 1px solid #eee;
} }
.links-title { .links-title {
display: inline-block; display: inline-block;
width: 169px; width: 169px;
color: #666;
} }
.links-title span:nth-child(1) { .links-title span:nth-child(1) {
font-weight: bold; font-weight: bold;
...@@ -145,7 +146,7 @@ export default { ...@@ -145,7 +146,7 @@ export default {
display: inline-block; display: inline-block;
} }
.hot-tel p:nth-child(1) { .hot-tel p:nth-child(1) {
color: #999; color: #666;
} }
.hot-tel p:nth-child(2) { .hot-tel p:nth-child(2) {
display: inline-block; display: inline-block;
...@@ -167,11 +168,11 @@ export default { ...@@ -167,11 +168,11 @@ export default {
} }
.bottom-main .adress p:nth-child(1) { .bottom-main .adress p:nth-child(1) {
font-size: 16px; font-size: 16px;
color: #ccc; color: #666;
} }
.bottom-main .adress p:nth-child(2) { .bottom-main .adress p:nth-child(2) {
font-size: 12px; font-size: 12px;
color: #999; color: #666;
margin-top: 20px; margin-top: 20px;
} }
</style> </style>
\ No newline at end of file
<template> <template>
<div> <div>
<div class="menu-container"> <div class="menu-container">
<div style="width: 100%;position: fixed;top: 0;z-index: 1000;border-bottom: 1px solid #eee;"> <div style="width: 100%;position: fixed;top: 0;z-index: 1000;border-bottom: 1px solid #eee;background:#f5f5f5">
<div <div
class="flex-aic-jcb" class="flex-aic-jcb"
style="width: 1120px; margin: 0 auto;font-size:12px;height: 40px;color: #666;position: relative" style="width: 1120px; margin: 0 auto;font-size:12px;height: 30px;color: #666;position: relative"
> >
<div>您好!欢迎进入欣新房车集团官方网站</div> <div>您好!欢迎进入欣新房车集团官方网站</div>
<div class="ft-14" style="position: relative;right:20px;"> <div class="ft-14" style="position: relative;right:20px;">
......
<template>
<div class="sidebar-list-a">
<h2>产品展示</h2>
<p>房车租赁</p>
<ul>
<li v-for="(item,index) in vehicleList" :key="index" @click="rentLink(item.id)">
<nuxt-link :to="'/vehicle?types='+item.id" :class='{activeList:activeRouter == "/vehicle?types="+item.id}'>{{item.name}}</nuxt-link>
</li>
</ul>
<p>房车旅游</p>
<ul>
<li v-for="(item,index) in tourList" :key="index" @click="links(item.id)">
<nuxt-link :to="'/tour?tagIds='+item.id" :class='{activeList:activeRouter == "/tour?tagIds="+item.id}'>{{item.name}}</nuxt-link>
</li>
</ul>
<p>房车营地</p>
<ul>
<li v-for="(item,index) in campsiteList" :key="index" @click="campsiteLink(item.id)">
<nuxt-link :to="'/campsite?types='+item.id" :class='{activeList:activeRouter == "/campsite?types="+item.id}'>{{item.name}}</nuxt-link>
</li>
</ul>
</div>
</template>
<script>
import axios from '../plugins/axios'
export default {
created() {
this.activeRouter = this.$route.fullPath
this.getType()
this.getVehicle()
this.getCampsite()
},
watch: {
$route(val,from) {
console.log(val);
console.log('新'+val.fullPath);
console.log('旧'+from.fullPath);
this.activeRouter = val.fullPath || ''
}
},
props: { productType: String },
data() {
return {
activeRouter:{},
tourList: [],
vehicleList: [],
campsiteList: []
}
},
methods: {
//旅游列表
async getType() {
const {
data: { data }
} = await axios.get('/api/uccn/app/unauth/tour/tagList')
data.unshift({ id: '', name: '全部' })
this.tourList = data
},
//房车租赁
async getVehicle() {
const {
data: { data }
} = await axios.get('/vehicle/cata/app/unauth/types')
data.unshift({ id: '', name: '全部' })
this.vehicleList = data
},
//房车营地
async getCampsite() {
const {
data: { data }
} = await axios.get('/api/campsite/campsiteTag/app/unauth/tags')
data.unshift({ id: '', name: '全部' })
this.campsiteList = data
},
//更新页面
links(val) {
this.$emit('fatherMethod',val);
},
rentLink(val){
this.$emit('fatherMethod',val);
},
campsiteLink(val){
this.$emit('fatherMethod',val);
}
}
}
</script>
<style>
.sidebar-list-a {
padding: 15px 0;
}
.sidebar-list-a h2 {
font-size: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}
.sidebar-list-a p {
font-size: 16px;
color: #333;
margin: 20px 0;
font-weight: bold;
}
.sidebar-list-a ul {
padding-left: 0;
}
.sidebar-list-a ul li {
margin-top: 15px;
}
.sidebar-list-a ul li a {
display: block;
}
.sidebar-list-a ul li a:hover {
color: #1bbb9f;
}
.activeList{
color: #1bbb9f
}
</style>
\ No newline at end of file
...@@ -10,22 +10,34 @@ module.exports = { ...@@ -10,22 +10,34 @@ module.exports = {
{ hid: 'description', name: 'description', content: '欣新房车是一家专业从事房车销售,房车租赁,房车旅游,房车托管及房车产业配套与服务的免费异地取车异地还车已在全国各地举办多届房车经济峰会的集团股份公司' } { hid: 'description', name: 'description', content: '欣新房车是一家专业从事房车销售,房车租赁,房车旅游,房车托管及房车产业配套与服务的免费异地取车异地还车已在全国各地举办多届房车经济峰会的集团股份公司' }
], ],
link: [ 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://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/iconfont.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://www.xxfangche.com/xxfccn/css/pc/el/index.css' }
{ rel: 'icon', type: 'image/x-icon', href: 'https://mgmt.dfangche.com/xxfccn/image/1/app/5d9c62b7412efd926f70e0ed5efb19a.png' }, { 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: 'http://xxtest.upyuns.com/xxfccn/css/pc/main.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/menu.css' }, { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/menu.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/footer.css' }, { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/footer.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/index.css' }, { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/index.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/iconfont.css' }, { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/iconfont.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/goTop.css' }, { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/goTop.css' },
{ rel: 'stylesheet', href: 'https://mgmt.dfangche.com/xxfccn/css/pc/swiper.min.css' }, { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/swiper.min.css' },
{ rel: 'stylesheet', href: 'https://www.xxfangche.com/xxfccn/css/pc/el/index.css' } { rel: 'stylesheet', href: 'http://xxtest.upyuns.com/xxfccn/css/pc/el/index.css' }
], ],
// http://xxtest.upyuns.com
//https://mgmt.dfangche.com/xxfccn
script: [ script: [
{ src: 'https://dev.dfangche.com/h5/appHtml/js/util.js' }, { src: 'https://dev.dfangche.com/h5/appHtml/js/util.js' },
], ],
}, },
// css: ['~/assets/index.css','~/assets/menu.css','~/assets/main.css','~/assets/font/iconfont.css'], // css: ['~/assets/index.css','~/assets/menu.css','~/assets/main.css','~/assets/font/iconfont.css','~/assets/footer.css'],
loading: '~/components/loading.vue', loading: '~/components/loading.vue',
plugins: [ plugins: [
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<template> <template>
<div class="container" style="background: #fff;"> <div class="container" style="background: #fff;" ref="topScroll">
<menu-modal></menu-modal> <menu-modal></menu-modal>
<div class="main-container" id="scroll-area"> <div class="main-container" id="scroll-area">
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
<!-- 热门房车,多款房车任你选择 --> <!-- 热门房车,多款房车任你选择 -->
<div class="flex-fdc-jcc hot-car" style="margin-top:80px;padding-bottom:80px"> <div class="flex-fdc-jcc hot-car" style="margin-top:80px;padding-bottom:80px">
<div class="tc title" style="color: #fff;"> <div class="tc title" ref="hotCar">
热门房车 热门房车
<span style="font-size: 16px;margin: 0 5px;"></span> 多款房车任你选择 <span style="font-size: 16px;margin: 0 5px;"></span> 多款房车任你选择
</div> </div>
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
<div style="width: 1120px;text-align: center"> <div style="width: 1120px;text-align: center">
<div class="line-title"></div> <div class="line-title"></div>
</div> </div>
<nuxt-link to="vehicle?types="> <nuxt-link to="vehicle?types=" style="top:61px">
<div> <div>
MORE MORE
<i class="iconfont iconsingle_arrow"></i> <i class="iconfont iconsingle_arrow"></i>
...@@ -227,9 +227,14 @@ ...@@ -227,9 +227,14 @@
</div> </div>
<div class="min-win"> <div class="min-win">
<ul class="v-type-ul"> <ul class="v-type-ul">
<li class="v-type" :class="tabIndex == 0 ? 'hotActiveBtn' : ''" @click="chooseHot(0)">房车租赁</li>
<li <li
style="margin-right:40px;" class="v-type"
style="color:#666"
:class="tabIndex == 0 ? 'hotActiveBtn' : ''"
@click="chooseHot(0)"
>房车租赁</li>
<li
style="margin-right:40px;color:#666"
class="v-type" class="v-type"
:class="tabIndex == 1 ? 'hotActiveBtn' : ''" :class="tabIndex == 1 ? 'hotActiveBtn' : ''"
@click="chooseHot(1)" @click="chooseHot(1)"
...@@ -404,14 +409,10 @@ ...@@ -404,14 +409,10 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="embellish-1"></div>
<div class="embellish-2"></div>
<div class="embellish-3"></div>
</div> </div>
<!-- 最新活动●从这里启程 --> <!-- 最新活动●从这里启程 -->
<div class="flex-fdc-jcc activity-container" style="padding-bottom: 30px;"> <div class="flex-fdc-jcc activity-container" style="padding-bottom: 30px;background:#fff">
<div class="tc title" style="color: #000;"> <div class="tc title" style="color: #000;">
最新活动 最新活动
<span style="font-size: 16px;margin: 0 5px;"></span> 从这里启程 <span style="font-size: 16px;margin: 0 5px;"></span> 从这里启程
...@@ -443,9 +444,9 @@ ...@@ -443,9 +444,9 @@
<p>活动地点:{{item[0].province}}{{item[0].city}}{{item[0].town}}{{item[0].address}}</p> <p>活动地点:{{item[0].province}}{{item[0].city}}{{item[0].town}}{{item[0].address}}</p>
</nuxt-link> </nuxt-link>
</div> </div>
<div v-for="(val,key) in item.slice(1)" :key="key"> <div>
<ul class="right"> <ul class="right">
<li> <li v-for="(val,key) in item.slice(1)" :key="key">
<nuxt-link :to="'activityList/'+val.id"> <nuxt-link :to="'activityList/'+val.id">
<h3>{{val.title}}</h3> <h3>{{val.title}}</h3>
</nuxt-link> </nuxt-link>
...@@ -473,7 +474,10 @@ ...@@ -473,7 +474,10 @@
</div> </div>
<!-- 新闻动态 --> <!-- 新闻动态 -->
<div class="flex-fdc-jcc" style="background: #fff;padding-bottom: 30px;"> <div
class="flex-fdc-jcc"
style="background: rgb(245,245,245);padding-bottom: 80px;margin-top: 55px;"
>
<div class="tc title"> <div class="tc title">
新闻动态 新闻动态
<span style="font-size: 16px;margin: 0 5px;"></span> 最新资讯与你分享 <span style="font-size: 16px;margin: 0 5px;"></span> 最新资讯与你分享
...@@ -522,8 +526,7 @@ ...@@ -522,8 +526,7 @@
</div> </div>
<!-- 城市覆盖区域 --> <!-- 城市覆盖区域 -->
<div class="map-container" style="margin-top:80px"> <div class="map-container" style='height:580px'>
<img style="width: 100%;" src="https://mgmt.dfangche.com/xxfccn/image/home/scope-bg.jpg" />
<div class="city-covers"> <div class="city-covers">
<div class="introduce"> <div class="introduce">
<h3>欣新房车是一家专业从事房车销售,房车租赁,房车旅游路线策划,房车托管及房车产业配套与服务一体化的企业。</h3> <h3>欣新房车是一家专业从事房车销售,房车租赁,房车旅游路线策划,房车托管及房车产业配套与服务一体化的企业。</h3>
...@@ -546,16 +549,13 @@ ...@@ -546,16 +549,13 @@
</nuxt-link> </nuxt-link>
</span> </span>
</div> </div>
<img <div style="display:inline-block"><img src="https://mgmt.dfangche.com/xxfccn/image/home/map_new.jpg" alt/></div>
src="https://mgmt.dfangche.com/xxfccn/image/home/map_new.jpg"
style="width:654px;float:right"
alt
/>
</div> </div>
</div> </div>
<!-- 房车营地,欣新房车集团 --> <!-- 房车营地,欣新房车集团 -->
<div class="campsite" style="margin:80px auto"> <div style="width:100%;background:rgb(245,245,245);padding:80px 0">
<div class="campsite" style="margin:0 auto">
<div class="left"> <div class="left">
<div class="left-title"> <div class="left-title">
<span>房车营地</span> <span>房车营地</span>
...@@ -576,7 +576,7 @@ ...@@ -576,7 +576,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="right" style="height:467px"> <div class="right" style="height:461px">
<div class="left-title"> <div class="left-title">
<span>欣新房车集团</span> <span>欣新房车集团</span>
<nuxt-link to="company" style="float:right;color:#fff"> <nuxt-link to="company" style="float:right;color:#fff">
...@@ -618,6 +618,7 @@ ...@@ -618,6 +618,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<!-- <go-top></go-top> --> <!-- <go-top></go-top> -->
<footer-modal></footer-modal> <footer-modal></footer-modal>
</div> </div>
...@@ -655,25 +656,29 @@ export default { ...@@ -655,25 +656,29 @@ export default {
id: 0, id: 0,
url: url:
'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/17.jpg', 'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/17.jpg',
link: '/vehicleList/48?name=【上汽】大通RV80旅居车' link:
'/vehicleList/48?name=%25E3%2580%2590%25E4%25B8%258A%25E6%25B1%25BD%25E3%2580%2591%25E5%25A4%25A7%25E9%2580%259ARV80%25E6%2597%2585%25E5%25B1%2585%25E8%25BD%25A6'
}, },
{ {
id: 0, id: 0,
url: url:
'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/9.jpg', 'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/9.jpg',
link: '/vehicleList/51?name=【金冠】格林卡诺C2' link:
'/vehicleList/51?name=%25E3%2580%2590%25E9%2587%2591%25E5%2586%25A0%25E3%2580%2591%25E6%25A0%25BC%25E6%259E%2597%25E5%258D%25A1%25E8%25AF%25BAC2'
}, },
{ {
id: 0, id: 0,
url: url:
'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/13.jpg', 'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/13.jpg',
link: '/vehicleList/53?name=【齐星】依维柯' link:
'/vehicleList/53?name=%25E3%2580%2590%25E9%25BD%2590%25E6%2598%259F%25E3%2580%2591%25E4%25BE%259D%25E7%25BB%25B4%25E6%259F%25AF'
}, },
{ {
id: 0, id: 0,
url: url:
'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/5.jpg', 'https://mgmt.dfangche.com/xxfccn/image/2019-09-02/5.jpg',
link: '/vehicleList/55?name=【奔驰】斯宾特' link:
'/vehicleList/55?name=%25E3%2580%2590%25E5%25A5%2594%25E9%25A9%25B0%25E3%2580%2591%25E6%2596%25AF%25E5%25AE%25BE%25E7%2589%25B9'
} }
], ],
hotActiveTitle: '0', hotActiveTitle: '0',
...@@ -703,6 +708,7 @@ export default { ...@@ -703,6 +708,7 @@ export default {
if (typeof window !== 'undefined') { if (typeof window !== 'undefined') {
window.addEventListener('scroll', this.handleScroll) window.addEventListener('scroll', this.handleScroll)
} }
this.lookInfo()
}, },
async asyncData({ env }) { async asyncData({ env }) {
function formatDate(date, fmt) { function formatDate(date, fmt) {
...@@ -848,6 +854,17 @@ export default { ...@@ -848,6 +854,17 @@ export default {
} }
}, },
methods: { methods: {
lookInfo() {
this.$nextTick(function() {
if (this.$route.query.isLook) {
this.tabIndex = 1
document.documentElement.scrollTop = 1500
console.log(document.documentElement.scrollTop + '////')
// window.scrollTo(0,1500)
console.log('数据渲染完成')
}
})
},
leave() { leave() {
this.grade.common = true this.grade.common = true
this.grade.gold = true this.grade.gold = true
...@@ -1032,12 +1049,6 @@ export default { ...@@ -1032,12 +1049,6 @@ export default {
// } // }
} }
}, },
/**
* 缩略图点击切换大图
*/
changeImgIndex(index) {
this.$refs.mySwiper.swiper.slideTo(index + 1, 1000, true)
},
// 点击下一页回调 // 点击下一页回调
prev() {}, prev() {},
// 点击下一页回调 // 点击下一页回调
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<menu-modal></menu-modal> <menu-modal></menu-modal>
<div class="main-container"> <div class="main-container">
<vehicle-banner <vehicle-banner
:list = "bannerList" :list="bannerList"
:looptime="looptime" :looptime="looptime"
:width="width" :width="width"
:height="height" :height="height"
...@@ -14,20 +14,37 @@ ...@@ -14,20 +14,37 @@
@next="next" @next="next"
@change="changeBanner" @change="changeBanner"
@click="bannerClick" @click="bannerClick"
class="mb-50"> class="mb-50"
</vehicle-banner> ></vehicle-banner>
<div class="wrap" style="background: #f1f1f1;"> <div class="wrap" style="background: #f1f1f1;">
<div class="bread-menu" style="margin-top: 20px;padding: 0"> <div class="bread-menu" style="margin-top: 20px;padding: 0">
<nuxt-link to="/">首页></nuxt-link> <nuxt-link to="/">首页></nuxt-link>
<span>新闻动态</span> <span>新闻动态</span>
</div> </div>
<div class="total-div">
{{totalCount}}篇新闻资讯 <div class="main-content">
<div class="journalism">
<h3>新闻资讯</h3>
<ul>
<li>
<nuxt-link to='/news'>欣新活动</nuxt-link>
</li>
<li>
<nuxt-link to='/activity' style="color:#1bbb9f">新闻动态</nuxt-link>
</li>
</ul>
</div> </div>
<div style="width:917px">
<div class="total-div">{{totalCount}}篇新闻资讯</div>
<ul class="campsiteDetail"> <ul class="campsiteDetail">
<li v-for="item in dataDetail" :key="item.id" class="new-item"> <li v-for="item in dataDetail" :key="item.id" class="new-item">
<nuxt-link :to="'/newsList/'+item.id"> <nuxt-link :to="'/newsList/'+item.id">
<img :src="item.coverImage" :alt="item.alt" style="width:270px !important;height: 172px !important" /> <img
:src="item.coverImage"
:alt="item.alt"
style="width:270px !important;height: 172px !important"
/>
<div style="margin-left:20px;width:802px" class="active-r"> <div style="margin-left:20px;width:802px" class="active-r">
<h2 class="ellipsis2">{{item.title }}</h2> <h2 class="ellipsis2">{{item.title }}</h2>
<div class="ellipsis2 epitome">导语:{{item.epitome}}</div> <div class="ellipsis2 epitome">导语:{{item.epitome}}</div>
...@@ -36,12 +53,19 @@ ...@@ -36,12 +53,19 @@
</nuxt-link> </nuxt-link>
</li> </li>
</ul> </ul>
<div class="pagination-container"> </div>
<el-pagination @current-change="handleCurrentChange" </div>
<div class="pagination-container" style="text-align:right">
<el-pagination
@current-change="handleCurrentChange"
:current-page.sync="listQuery.page" :current-page.sync="listQuery.page"
@size-change="handleSizeChange" @size-change="handleSizeChange"
:page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" :page-sizes="[10,20,30, 50]"
layout="total, sizes, prev, pager, next, jumper" :total="totalCount"></el-pagination> :page-size="listQuery.limit"
layout="total, sizes, prev, pager, next, jumper"
:total="totalCount"
></el-pagination>
</div> </div>
<div class="right"> <div class="right">
<nuxt-child :key="$route.params.id" /> <nuxt-child :key="$route.params.id" />
...@@ -54,13 +78,13 @@ ...@@ -54,13 +78,13 @@
</template> </template>
<script> <script>
import axios from '../plugins/axios'; import axios from '../plugins/axios'
import menuModal from "../components/menu"; import menuModal from '../components/menu'
import footerModal from "../components/footer"; import footerModal from '../components/footer'
import vehicleBanner from "../components/vehicleBanner" import vehicleBanner from '../components/vehicleBanner'
import GoTop from "../components/goTop"; import GoTop from '../components/goTop'
export default { export default {
transition: "bounce", transition: 'bounce',
components: { components: {
menuModal, menuModal,
footerModal, footerModal,
...@@ -71,115 +95,154 @@ ...@@ -71,115 +95,154 @@
return { return {
totalCount: 0, totalCount: 0,
dataDetail: [], dataDetail: [],
bannerList: [],//banner列表 bannerList: [], //banner列表
listQuery: { listQuery: {
type: "", type: '',
page: 1, page: 1,
limit: 10 limit: 10
}, },
looptime: 4000, // 循环时间 looptime: 4000, // 循环时间
width: 400, width: 400,
height:200, height: 200,
background: 'red', background: 'red',
color: '#fff', color: '#fff',
fontSize: '70px', fontSize: '70px'
}; }
}, },
created() { created() {
this.getAll(); this.getAll()
this.getBanner(); this.getBanner()
}, },
mounted() { mounted() {
window.addEventListener("scroll", this.scrollHandle); // 绑定页面的滚动事件 window.addEventListener('scroll', this.scrollHandle) // 绑定页面的滚动事件
}, },
methods: { methods: {
// 点击下一页回调 // 点击下一页回调
prev () { prev() {},
},
// 点击下一页回调 // 点击下一页回调
next () { next() {},
},
// 鼠标移入状态点回调 // 鼠标移入状态点回调
changeBanner () { changeBanner() {},
}, bannerClick() {},
bannerClick () {
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.listQuery.page = val; this.listQuery.page = val
this.getAll(); this.getAll()
}, },
handleSizeChange(val) { handleSizeChange(val) {
this.listQuery.limit = val; this.listQuery.limit = val
this.listQuery.page = 1; this.listQuery.page = 1
this.getAll(); this.getAll()
}, },
/** /**
* 获取车型列表页banner * 获取车型列表页banner
*/ */
async getBanner(){ async getBanner() {
//新闻banner 0:首页,1:旅游 2:营地 3:房车 4:活动 5:新闻 6:关于欣新 //新闻banner 0:首页,1:旅游 2:营地 3:房车 4:活动 5:新闻 6:关于欣新
let tempBannerData = await axios.get( '/api/app/banner/app/unauth/findBannerlist?type=5&platform=1'); let tempBannerData = await axios.get(
let banner = tempBannerData.data.data; '/api/app/banner/app/unauth/findBannerlist?type=5&platform=1'
this.bannerList = banner; )
let banner = tempBannerData.data.data
this.bannerList = banner
}, },
chooseSelect(e) { chooseSelect(e) {
console.log(e.target.value); console.log(e.target.value)
this.listQuery.type = e.target.value; this.listQuery.type = e.target.value
this.getAll(); this.getAll()
}, },
async getAll() { async getAll() {
let { let {
data: { data } data: { data }
} = await axios.get(`/api/uccn/article/app/unauth/list?type=1&page=${this.listQuery.page}&limit=${this.listQuery.limit}` ); } = await axios.get(
`/api/uccn/article/app/unauth/list?type=1&page=${this.listQuery.page}&limit=${this.listQuery.limit}`
)
// console.log(data); // console.log(data);
this.totalCount = data.total; this.totalCount = data.total
data.list.map(function(item){ data.list.map(function(item) {
item.addTime = item.addTime.substring(0, 10); item.addTime = item.addTime.substring(0, 10)
}) })
this.dataDetail = data.list; this.dataDetail = data.list
}, }
}, },
async asyncData() { async asyncData() {
let headData = await axios.get(
let headData = await axios.get('/api/uccn/seo/app/unauth/officialWebsite/6'); '/api/uccn/seo/app/unauth/officialWebsite/6'
let head = headData.data.data; )
return { headList : head} let head = headData.data.data
return { headList: head }
}, },
head () { head() {
return { return {
title: this.headList.title, title: this.headList.title,
meta: [ meta: [
{ hid: 'keywords', 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
} }
]
} }
}; }
}
</script> </script>
<style scoped> <style scoped>
.active-r{ .main-content {
display: flex;
-webkit-box-pack: justify;
justify-content: space-between;
margin-top: 30px;
}
.journalism {
width: 190px;
background: #fff;
padding: 15px 0;
text-align: center;
height: 225px;
}
.journalism h3 {
font-size: 15px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
color: #333; color: #333;
} font-weight: normal;
.campsiteDetail { }
.journalism ul {
margin:40px 0;
padding: 0;
}
.journalism ul li {
margin-bottom: 40px;
}
.journalism ul li a:hover{
color: #1bbb9f;
}
.active-r {
color: #333;
}
.campsiteDetail {
padding: 0; padding: 0;
margin: 0; margin: 0;
list-style: none; list-style: none;
} }
.campsiteDetail li a { .campsiteDetail li a {
padding: 0; padding: 0;
margin: 0; margin: 0;
list-style: none; list-style: none;
display: flex; display: flex;
text-decoration: none; text-decoration: none;
} }
.toDetail { .toDetail {
font-size: 16px; font-size: 16px;
} }
.buttonDetails { .buttonDetails {
width: 156px; /* 宽度 */ width: 156px; /* 宽度 */
height: 35px; /* 高度 */ height: 35px; /* 高度 */
border-width: 0px; /* 边框宽度 */ border-width: 0px; /* 边框宽度 */
...@@ -189,5 +252,5 @@ ...@@ -189,5 +252,5 @@
font-family: Microsoft YaHei; /* 设置字体 */ font-family: Microsoft YaHei; /* 设置字体 */
color: white; /* 字体颜色 */ color: white; /* 字体颜色 */
margin-left: 10px; margin-left: 10px;
} }
</style> </style>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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