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
db9f769d
Commit
db9f769d
authored
Jan 03, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/athena
parents
a63da1b9
6a283618
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
12 deletions
+31
-12
newTrip.vue
src/components/mall/newTrip.vue
+31
-12
No files found.
src/components/mall/newTrip.vue
View file @
db9f769d
...
...
@@ -947,17 +947,23 @@
<span
class=
"subTitle"
>
酒店安排
</span>
</div>
<
template
v-for=
"(item,index) in dataList.dayList"
>
<template
v-for=
"(subItem,subIndex) in item.dayArray"
v-if=
"subItem.type==3"
>
<div
class=
"col-md-12 col-sm-12"
>
<div
class=
"arrangementSubContainer"
>
<div
class=
"header hotel"
>
<span
class=
"dayIndex"
>
D
{{
item
.
dayNum
}}
</span>
<div
class=
"city"
>
<span>
{{
subItem
.
childItem
.
cityName
}}
</span>
</div>
<div
class=
"col-md-12 col-sm-12"
>
<div
class=
"arrangementSubContainer"
>
<div
class=
"header hotel"
>
<span
class=
"dayIndex"
>
D
{{
item
.
dayNum
}}
</span>
<div
class=
"city"
>
<span>
<template
v-for=
"(subItem,subIndex) in getHotelArray(item.dayArray)"
v-if=
"subIndex==0"
>
{{
subItem
.
childItem
.
cityName
}}
</
template
>
</span>
</div>
<div
class=
"content"
>
</div>
<div
class=
"content"
>
<
template
v-for=
"(subItem,subIndex) in item.dayArray"
v-if=
"subItem.type==3"
>
<div
class=
"name hotel"
>
<span
class=
"left"
>
<i
class=
"iconfont icon-bed"
></i>
...
...
@@ -969,10 +975,11 @@
v-else
>
{{
subItem
.
childItem
.
hotelName
}}
</
template
>
</span>
</div>
</
div
>
</
template
>
</div>
</div>
</template>
</div>
</template>
</div>
</div>
...
...
@@ -1186,6 +1193,7 @@
this
.
apipost
(
'b2b_get_GetB2BTravelInfoV1'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
;
console
.
log
(
this
.
dataList
,
'datalist'
);
this
.
isShow
=
true
;
this
.
getAllPoint
();
//装载景点酒店图片以供预览
...
...
@@ -1334,6 +1342,17 @@
this
.
travelLngLat
=
Arr
;
}
},
getHotelArray
(
hotelArray
)
{
var
newArray
=
[];
if
(
hotelArray
!=
null
&&
hotelArray
.
length
>
0
)
{
hotelArray
.
forEach
(
item
=>
{
if
(
item
.
type
==
3
)
{
newArray
.
push
(
item
);
}
})
}
return
newArray
;
},
//滚动选中
handleScroll
()
{
try
{
...
...
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