diff --git a/js/flight/flight.book.js b/js/flight/flight.book.js
index fac714e..4f5834c 100644
--- a/js/flight/flight.book.js
+++ b/js/flight/flight.book.js
@@ -31,7 +31,7 @@ function readData() {
DepartFlightInfo = JSON.parse(DepartFlightInfo);
DepartCabinInfo = JSON.parse(DepartCabinInfo);
let citys = DepartFlightInfo.departCityIataNameEn + " - " + DepartFlightInfo.arriveCityIataNameEn;
- let iconSrc = "/china-flights/images/icon/" + DepartFlightInfo.airLineIcon + ".gif";
+ let iconSrc = "https://data.chinahighlights.com/china-flights/images/icon/" + DepartFlightInfo.airLineIcon + ".gif";
$('#selected__one_airlineicon').attr('src', iconSrc);
$('#selected__one_airlineicon').attr('alt', DepartFlightInfo.showAirLineCompany);
$('#selected__one_airline').html(DepartFlightInfo.showAirLineCompany);
@@ -46,20 +46,20 @@ function readData() {
$('#selected__one_fromairport').html(DepartFlightInfo.departAirportNameEn + '(' + DepartFlightInfo.departAirportTerminal + ')');
$('#selected__one_toairport').html(DepartFlightInfo.arriveAirportNameEn + '(' + DepartFlightInfo.arriveAirportTerminal + ')');
$('#selected__one_duration').html(DepartFlightInfo.duration);
- let stopPic = '/images/airArrowDirect.png';
+ let stopPic = '/airArrowDirect.png';
if (parseInt(DepartFlightInfo.stopNum) > 0) {
- stopPic = '/images/airArrowStop.png';
+ stopPic = '/airArrowStop.png';
let stopinfo = DepartFlightInfo.showStopCityName + "," + DepartFlightInfo.stoparrivalTime + "-" + DepartFlightInfo.stopdepartrueTime;
let stopinfoHtml = '' + DepartFlightInfo.stopCityCode + '';
$('#selected__one_stopinfo').html(stopinfoHtml);
}
- $('#selected__one_stoppic').attr('src', 'https://www.trainspread.com'+stopPic);
+ $('#selected__one_stoppic').attr('src', 'https://data.chinahighlights.com/css/images/flight'+stopPic);
}
if (ArriveFlightInfo && roundTrip == 'true') {
ArriveFlightInfo = JSON.parse(ArriveFlightInfo);
ArriveCabinInfo = JSON.parse(ArriveCabinInfo);
let citys = ArriveFlightInfo.departCityIataNameEn + " - " + ArriveFlightInfo.arriveCityIataNameEn;
- let iconSrc = "/china-flights/images/icon/" + ArriveFlightInfo.airLineIcon + ".gif";
+ let iconSrc = "https://data.chinahighlights.com/china-flights/images/icon/" + ArriveFlightInfo.airLineIcon + ".gif";
$('#selected__two_airlineicon').attr('src', iconSrc);
$('#selected__two_airlineicon').attr('alt', ArriveFlightInfo.showAirLineCompany);
$('#selected__two_airline').html(ArriveFlightInfo.showAirLineCompany);
@@ -74,14 +74,14 @@ function readData() {
$('#selected__two_fromairport').html(ArriveFlightInfo.departAirportNameEn + '(' + ArriveFlightInfo.departAirportTerminal + ')');
$('#selected__two_toairport').html(ArriveFlightInfo.arriveAirportNameEn + '(' + ArriveFlightInfo.arriveAirportTerminal + ')');
$('#selected__two_duration').html(ArriveFlightInfo.duration);
- let stopPic = '/images/airArrowDirect.png';
+ let stopPic = '/airArrowDirect.png';
if (parseInt(ArriveFlightInfo.stopNum) > 0) {
- stopPic = '/images/airArrowStop.png';
+ stopPic = '/airArrowStop.png';
let stopinfo = ArriveFlightInfo.showStopCityName + "," + ArriveFlightInfo.stoparrivalTime + "-" + ArriveFlightInfo.stopdepartrueTime;
let stopinfoHtml = '' + ArriveFlightInfo.stopCityCode + '';
$('#selected__two_stopinfo').html(stopinfoHtml);
}
- $('#selected__two_stoppic').attr('src', 'https://www.trainspread.com'+stopPic);
+ $('#selected__two_stoppic').attr('src', 'https://data.chinahighlights.com/css/images/flight'+stopPic);
$('#selected__two').removeClass('hidden');
}
}