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
06a2ef54
Commit
06a2ef54
authored
Oct 23, 2023
by
18224442217
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5c60b864
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1001 additions
and
4 deletions
+1001
-4
airTicketList.vue
pages/airTicket/airTicketList.vue
+4
-4
day.js
pages/airTicket/components/sign/day.js
+104
-0
index.vue
pages/airTicket/components/sign/index.vue
+893
-0
No files found.
pages/airTicket/airTicketList.vue
View file @
06a2ef54
...
...
@@ -169,8 +169,8 @@
data
()
{
return
{
typeList
:[
{
Name
:
'单程'
,
Id
:
1
},
{
Name
:
'往返'
,
Id
:
2
},
{
Name
:
'单程'
,
Id
:
1
},
],
DepartureCityList
:[],
ArrivalCity
:[],
...
...
@@ -187,7 +187,7 @@
ArriveCityId
:
0
,
DepartCityId
:
0
,
AirLineID
:
''
,
TicketType
:
1
,
//1单程 2往返
TicketType
:
2
,
//1单程 2往返
},
StartDateObj
:{},
NewDateList
:[],
...
...
@@ -204,7 +204,7 @@
DepartCityId
:
0
,
//343
ArriveCityId
:
0
,
//653
AirLineID
:
0
,
TicketType
:
1
,
//1单程 2往返
TicketType
:
2
,
//1单程 2往返
},
pageCount
:
0
,
showTimePreviwe
:
false
,
...
...
@@ -382,7 +382,7 @@
})
});
this
.
NewDataList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
dataList
))
this
.
StartDateObj
=
this
.
NewDateList
.
length
>
0
?
this
.
NewDateList
[
0
]:{}
this
.
StartDateObj
=
this
.
NewDateList
.
length
>
0
&&
this
.
NewDateList
.
length
==
1
?
this
.
NewDateList
[
0
]:{}
}
uni
.
hideLoading
()
});
...
...
pages/airTicket/components/sign/day.js
0 → 100644
View file @
06a2ef54
//节假日信息
const
day
=
[
{
year
:
2022
,
month
:
1
,
festival
:[
{
name
:
'元旦'
,
day
:
1
},
{
name
:
'除夕'
,
day
:
31
},
]
},
{
year
:
2022
,
month
:
2
,
festival
:[
{
name
:
'春节'
,
day
:
1
},
{
name
:
'元宵'
,
day
:
15
},
{
name
:
'情人节'
,
day
:
14
}
]
},
{
year
:
2022
,
month
:
3
,
festival
:[
{
name
:
'妇女节'
,
day
:
8
},
]
},
{
year
:
2022
,
month
:
4
,
festival
:[
{
name
:
'清明'
,
day
:
4
},
]
},
{
year
:
2022
,
month
:
5
,
festival
:[
{
name
:
'劳动节'
,
day
:
1
},
{
name
:
'青年节'
,
day
:
4
},
{
name
:
'母亲节'
,
day
:
10
},
]
},
{
year
:
2021
,
month
:
6
,
festival
:[
{
name
:
'儿童节'
,
day
:
1
},
{
name
:
'父亲节'
,
day
:
21
},
{
name
:
'端午'
,
day
:
14
},
]
},
{
year
:
2021
,
month
:
7
,
festival
:[
{
name
:
'建党节'
,
day
:
1
}
]
},
{
year
:
2021
,
month
:
8
,
festival
:[
{
name
:
'建军节'
,
day
:
1
},
{
name
:
'七夕'
,
day
:
14
},
{
name
:
'中元节'
,
day
:
22
},
]
},
{
year
:
2021
,
month
:
9
,
festival
:[
{
name
:
'教师节'
,
day
:
10
},
{
name
:
'中秋'
,
day
:
21
}
]
},
{
year
:
2021
,
month
:
10
,
festival
:[
{
name
:
'国庆'
,
day
:
1
},
{
name
:
'重阳'
,
day
:
14
}
]
},
{
year
:
2021
,
month
:
11
,
festival
:[
{
name
:
'感恩节'
,
day
:
26
}
]
},
{
year
:
2021
,
month
:
12
,
festival
:[
{
name
:
'平安夜'
,
day
:
24
},
{
name
:
'圣诞节'
,
day
:
25
}
]
}
]
export
default
day
\ No newline at end of file
pages/airTicket/components/sign/index.vue
0 → 100644
View file @
06a2ef54
This diff is collapsed.
Click to expand it.
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