Commit 3175100d authored by linjw's avatar linjw

修改营地旅游

parent 66706c7b
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<span>{{detail.name}}</span> <span>{{detail.name}}</span>
</div> </div>
<div class="clearfix" style="background-color:#fff;padding:42px 20px 36px 40px;width:1120px;height:536px"> <div class="clearfix" style="background-color:#fff;padding:42px 20px 36px 40px;width:1120px;height:536px">
<div style="float:left;width:540px"> <div style="float:left;width:544px">
<div class="gallery-top-box" style="width:100%"> <div class="gallery-top-box" style="width:100%">
<div class="swiper-container gallery-top" ref="mySwiper"> <div class="swiper-container gallery-top" ref="mySwiper">
<div class="swiper-wrapper" > <div class="swiper-wrapper" >
...@@ -28,10 +28,11 @@ ...@@ -28,10 +28,11 @@
<div class="swiper-container gallery-thumbs"> <div class="swiper-container gallery-thumbs">
<div class="swiper-wrapper swiper-wrapper-thu"> <div class="swiper-wrapper swiper-wrapper-thu">
<div <div
class="swiper-slide" class="swiper-slide imgWidth"
v-for="(item,index) in detail.pictureList" v-for="(item,index) in detail.pictureList"
:key="index" :key="index"
@click="changeImgIndex(index,detail.pictureList.length)" @click="changeImgIndex(index,detail.pictureList.length)"
> >
<img <img
:src="item.imgUrl" :src="item.imgUrl"
...@@ -221,6 +222,10 @@ export default { ...@@ -221,6 +222,10 @@ export default {
.swiper-container{ .swiper-container{
height: auto; height: auto;
} }
.imgWidth{
height:64px;
width:100px!important
}
.swiper-wrapper-thu { .swiper-wrapper-thu {
/*max-width: 293px;*/ /*max-width: 293px;*/
margin: 0 !important; margin: 0 !important;
...@@ -258,6 +263,7 @@ export default { ...@@ -258,6 +263,7 @@ export default {
color: #fff; color: #fff;
background: #1bbb9f; background: #1bbb9f;
} }
</style> </style>
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<span>{{detail.name}}</span> <span>{{detail.name}}</span>
</div> </div>
<div class="clearfix" style="background-color:#fff;padding:42px 20px 36px 40px;width:1120px;height:536px"> <div class="clearfix" style="background-color:#fff;padding:42px 20px 36px 40px;width:1120px;height:536px">
<div style="float:left;width:540px"> <div style="float:left;width:544px">
<div class="gallery-top-box" style="width:100%"> <div class="gallery-top-box" style="width:100%">
<div class="swiper-container gallery-top" ref="mySwiper"> <div class="swiper-container gallery-top" ref="mySwiper">
<div class="swiper-wrapper" > <div class="swiper-wrapper" >
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
:src="item.cover" :src="item.cover"
:class="preIndex==index?'active':''" :class="preIndex==index?'active':''"
alt alt
style="width:103px;height:64px" style="width:100px;height:64px"
/> />
</div> </div>
</div> </div>
......
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