Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
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
华国豪
Athena
Commits
c38eb47c
Commit
c38eb47c
authored
Jan 15, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
fb33018a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
newTrip.vue
src/components/mall/newTrip.vue
+4
-0
tripMobile.vue
src/components/mall/tripMobile.vue
+9
-8
No files found.
src/components/mall/newTrip.vue
View file @
c38eb47c
...
...
@@ -1103,6 +1103,10 @@
<p
:key=
"subIndex"
>
{{
subItem
.
childItem
.
title
}}
</p>
</
template
>
</div>
<div
class=
"articleCont articleTxt"
v-if=
"dataList.warmTipList[index].description!=''"
>
<p>
温馨提示:
</p>
<div
v-html=
"dataList.warmTipList[index].description"
></div>
</div>
<div
class=
"agendaSection"
>
<div
class=
"slideSubHeader"
>
<span
class=
"subTitle"
>
D{{index+1}} 日程安排
</span>
...
...
src/components/mall/tripMobile.vue
View file @
c38eb47c
...
...
@@ -792,7 +792,7 @@
</div>
</div>
<!-- 行程开始 -->
<div
class=
"swiper-slide"
v-for=
"(item,index) in dataList.dayList"
:
id=
"'dayList'+(index+1)"
:key=
"index
"
>
<div
class=
"swiper-slide"
v-for=
"(item,index) in dataList.dayList"
:
key=
"index"
:id=
"'dayList'+(index+1)
"
>
<div
class=
"tripComInner"
>
<div
class=
"slideHeader"
style=
"position:relative;"
>
<div
class=
"dayNum"
>
D{{index+1}}
</div>
...
...
@@ -820,6 +820,10 @@
<p
:key=
"subIndex"
>
{{
subItem
.
childItem
.
title
}}
</p>
</
template
>
</div>
<div
class=
"tripArticleCont"
v-if=
"dataList.warmTipList[index].description!=''"
>
<p>
温馨提示:
</p>
<div
v-html=
"dataList.warmTipList[index].description"
></div>
</div>
<div
class=
"tripSection"
>
<div
class=
"tripSlideHeader"
>
<span
class=
"tripSubTitle"
>
D{{index+1}} 日程安排
</span>
...
...
@@ -844,11 +848,7 @@
</div>
<div
class=
"detailSection"
style=
"margin-top:0;"
v-if=
"subItem.childItem.playTimeHour||subItem.childItem.playTimeMinutes"
>
<div
class=
"item"
>
<span
class=
"label"
>
建议游玩时间
</span>
<span
class=
"text"
>
约
<template
v-if=
"subItem.childItem.playTimeHour"
>
{{
subItem
.
childItem
.
playTimeHour
}}
小时
</
template
>
<
template
v-if=
"subItem.childItem.playTimeMinutes"
>
{{
subItem
.
childItem
.
playTimeMinutes
}}
分钟
</
template
>
<span
class=
"label"
>
建议游玩时间
</span>
<span
class=
"text"
>
约
<template
v-if=
"subItem.childItem.playTimeHour"
>
{{
subItem
.
childItem
.
playTimeHour
}}
小时
</
template
><
template
v-if=
"subItem.childItem.playTimeMinutes"
>
{{
subItem
.
childItem
.
playTimeMinutes
}}
分钟
</
template
>
</span>
</div>
</div>
...
...
@@ -973,7 +973,7 @@
<span>
日程安排
</span>
</div>
<div
class=
"btnDayList"
>
<div
class=
"btnDay"
v-for=
"(item,index) in dataList.dayList"
@
click=
"goDaySwiper(index)"
:key=
"index"
>
D{{index+1}}
</div>
<div
class=
"btnDay"
v-for=
"(item,index) in dataList.dayList"
@
click=
"goDaySwiper(index
,'dayList'+(index+1)
)"
:key=
"index"
>
D{{index+1}}
</div>
</div>
</div>
</div>
...
...
@@ -1124,9 +1124,10 @@
this
.
swiperV
.
slideTo
(
index
,
100
,
false
);
this
.
showDialog
=
false
;
},
goDaySwiper
(
index
)
{
goDaySwiper
(
index
,
id
)
{
var
index
=
index
+
3
;
// index为指定将要切换到的slide的索引
this
.
swiperV
.
slideTo
(
index
,
100
,
false
);
this
.
swiperV
.
slides
[
index
].
scrollTop
=
0
;
this
.
showDialog
=
false
;
},
//加载所有坐标点
...
...
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