Commit 06a2ef54 authored by 18224442217's avatar 18224442217

no message

parent 5c60b864
......@@ -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()
});
......
//节假日信息
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
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment