Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
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
zhengke
jz_Travel
Commits
855f4bbd
Commit
855f4bbd
authored
Oct 24, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
af1a82ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
TicketOrderList.vue
pages/airTicket/TicketOrderList.vue
+0
-1
airTicketList.vue
pages/airTicket/airTicketList.vue
+4
-5
airTicketList.vue
pages/airTicket/components/airTicketList.vue
+1
-1
No files found.
pages/airTicket/TicketOrderList.vue
View file @
855f4bbd
...
...
@@ -145,7 +145,6 @@
y
.
duration
=
`
${
x
.
arrivalTime
.
days
>
0
?
x
.
arrivalTime
.
days
+
'd '
:
''
}${
x
.
arrivalTime
.
hours
>
0
?
x
.
arrivalTime
.
hours
+
'h '
:
''
}${
x
.
arrivalTime
.
minutes
>
0
?
x
.
arrivalTime
.
minutes
+
'm '
:
''
}
`
x
.
NewFlightList
.
push
(
y
)
}
// x.NewFlightList[0].frequency = y.frequency
})
})
if
(
this
.
msg
.
pageIndex
===
1
)
{
...
...
pages/airTicket/airTicketList.vue
View file @
855f4bbd
...
...
@@ -306,13 +306,13 @@
let
obj
=
{}
obj
=
{
duration
:
`
${
y
.
DepartureTime
.
Days
>
0
?
y
.
DepartureTime
.
Days
+
'd '
:
''
}${
y
.
DepartureTime
.
Hours
>
0
?
y
.
DepartureTime
.
Hours
+
'h '
:
''
}${
y
.
DepartureTime
.
Minutes
>
0
?
y
.
DepartureTime
.
Minutes
+
'm '
:
''
}
`
,
Days
:
1
,
Days
:
0
,
...
z
}
if
(
index
){
obj
=
{
duration
:
`
${
y
.
ArrivalTime
.
Days
>
0
?
y
.
ArrivalTime
.
Days
+
'd '
:
''
}${
y
.
ArrivalTime
.
Hours
>
0
?
y
.
ArrivalTime
.
Hours
+
'h '
:
''
}${
y
.
ArrivalTime
.
Minutes
>
0
?
y
.
ArrivalTime
.
Minutes
+
'm '
:
''
}
`
,
Days
:
1
,
Days
:
0
,
...
z
}
}
...
...
@@ -343,16 +343,15 @@
NewFlightDates2
=
FlightDates2
.
slice
(
0
,
FlightDates2
.
length
-
1
)
Days2
=
new
Set
(
NewFlightDates2
)
}
let
obj
=
{
duration
:
`
${
y
.
DepartureTime
.
Days
>
0
?
y
.
DepartureTime
.
Days
+
'd '
:
''
}${
y
.
DepartureTime
.
Hours
>
0
?
y
.
DepartureTime
.
Hours
+
'h '
:
''
}${
y
.
DepartureTime
.
Minutes
>
0
?
y
.
DepartureTime
.
Minutes
+
'm '
:
''
}
`
,
frequency
:
FlightList
.
length
-
1
,
Days
:
Array
.
from
(
Days
).
length
>
1
?
Array
.
from
(
Days
).
length
:
1
,
Days
:
Array
.
from
(
Days
).
length
-
1
>
1
?
Array
.
from
(
Days
).
length
-
1
:
0
,
...
y
.
FlightList
[
0
]
}
let
obj2
=
{
duration
:
`
${
y
.
ArrivalTime
.
Days
>
0
?
y
.
ArrivalTime
.
Days
+
'd '
:
''
}${
y
.
ArrivalTime
.
Hours
>
0
?
y
.
ArrivalTime
.
Hours
+
'h '
:
''
}${
y
.
ArrivalTime
.
Minutes
>
0
?
y
.
ArrivalTime
.
Minutes
+
'm '
:
''
}
`
,
Days
:
Array
.
from
(
Days2
).
length
>
1
?
Array
.
from
(
Days2
).
length
:
1
,
Days
:
Array
.
from
(
Days2
).
length
-
1
>
1
?
Array
.
from
(
Days2
).
length
-
1
:
0
,
frequency
:
FlightList2
.
length
-
1
,
...
y
.
FlightList
[
y
.
FlightList
.
length
-
1
]
}
...
...
pages/airTicket/components/airTicketList.vue
View file @
855f4bbd
...
...
@@ -49,7 +49,7 @@
<text
class=
"fz36 fontBold"
>
{{childs.Arrival_time}}
</text>
<text
class=
"fz22 MT5 width100 ellipsis1"
>
{{childs.aName}}
</text>
</view>
<view
class=
"FlightDirection-time absolute colorFF5858 fz20 nowrap"
>
<view
class=
"FlightDirection-time absolute colorFF5858 fz20 nowrap"
v-if=
"childs.Days"
>
<text>
+
</text>
<text
class=
"ML5"
>
{{childs.Days}}
</text>
<text
class=
"ML5"
>
天
</text>
...
...
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