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
3175100d
Commit
3175100d
authored
Sep 02, 2019
by
linjw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改营地旅游
parent
66706c7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
_id.vue
pages/campsiteDetails/_id.vue
+8
-2
_id.vue
pages/tourDetails/_id.vue
+2
-2
No files found.
pages/campsiteDetails/_id.vue
View file @
3175100d
...
...
@@ -9,7 +9,7 @@
<span>
{{
detail
.
name
}}
</span>
</div>
<div
class=
"clearfix"
style=
"background-color:#fff;padding:42px 20px 36px 40px;width:1120px;height:536px"
>
<div
style=
"float:left;width:54
0
px"
>
<div
style=
"float:left;width:54
4
px"
>
<div
class=
"gallery-top-box"
style=
"width:100%"
>
<div
class=
"swiper-container gallery-top"
ref=
"mySwiper"
>
<div
class=
"swiper-wrapper"
>
...
...
@@ -28,10 +28,11 @@
<div
class=
"swiper-container gallery-thumbs"
>
<div
class=
"swiper-wrapper swiper-wrapper-thu"
>
<div
class=
"swiper-slide"
class=
"swiper-slide
imgWidth
"
v-for=
"(item,index) in detail.pictureList"
:key=
"index"
@
click=
"changeImgIndex(index,detail.pictureList.length)"
>
<img
:src=
"item.imgUrl"
...
...
@@ -221,6 +222,10 @@ export default {
.swiper-container
{
height
:
auto
;
}
.imgWidth
{
height
:
64px
;
width
:
100px
!important
}
.swiper-wrapper-thu
{
/*max-width: 293px;*/
margin
:
0
!important
;
...
...
@@ -258,6 +263,7 @@ export default {
color
:
#fff
;
background
:
#1bbb9f
;
}
</
style
>
pages/tourDetails/_id.vue
View file @
3175100d
...
...
@@ -9,7 +9,7 @@
<span>
{{
detail
.
name
}}
</span>
</div>
<div
class=
"clearfix"
style=
"background-color:#fff;padding:42px 20px 36px 40px;width:1120px;height:536px"
>
<div
style=
"float:left;width:54
0
px"
>
<div
style=
"float:left;width:54
4
px"
>
<div
class=
"gallery-top-box"
style=
"width:100%"
>
<div
class=
"swiper-container gallery-top"
ref=
"mySwiper"
>
<div
class=
"swiper-wrapper"
>
...
...
@@ -37,7 +37,7 @@
:src=
"item.cover"
:class=
"preIndex==index?'active':''"
alt
style=
"width:10
3
px;height:64px"
style=
"width:10
0
px;height:64px"
/>
</div>
</div>
...
...
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