Commit 2516b32f authored by youjie's avatar youjie

优化

parent 33f489b4
......@@ -163,10 +163,10 @@
this.busInfor.oriLatitude = items.Lat
this.busInfor.oriLongitude = items.Lng
if(this.busInfor.CarType==1){
this.busInfor.startaddress = item.CountryName+items.CityName+items.AirportName
this.busInfor.startaddress = `${item.CountryName} ${items.CityName} ${items.AirportName}`
}
if(this.busInfor.CarType==2){
this.busInfor.destination = item.CountryName+items.CityName+items.AirportName
this.busInfor.destination = `${item.CountryName} ${items.CityName} ${items.AirportName}`
}
console.log(item)
......
......@@ -222,7 +222,7 @@
}else{
// 选地址
if(this.type<3){
this.busInfor.destination = this.busInfor.desCountryName+this.busInfor.desCityName+(this.busInfor.desCityName!=item.name?item.name:'')
this.busInfor.destination = this.busInfor.desCountryName+' '+this.busInfor.desCityName+' '+(this.busInfor.desCityName!=item.name?item.name:'')
this.busInfor.desLatitude = item.latitude
this.busInfor.desLongitude = item.longitude
if(this.type==1){
......@@ -231,7 +231,7 @@
this.$emit('change',this.busInfor)
}
}else{
this.busInfor.startaddress = this.busInfor.CountryName+this.busInfor.CityName+(this.busInfor.CityName!=item.name?item.name:'')
this.busInfor.startaddress = this.busInfor.CountryName+' '+this.busInfor.CityName+' '+(this.busInfor.CityName!=item.name?item.name:'')
this.busInfor.oriLatitude = item.latitude
this.busInfor.oriLongitude = item.longitude
this.$emit('change',this.busInfor)
......
......@@ -644,6 +644,7 @@
background: #EDEEEE;
position: relative;
border-top-right-radius: 18rpx;
border-top-left-radius: 18rpx;
}
.bus-home-header .title-box .titleBox {
position: absolute;
......
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