<%if(internationalFlag){%>
<%}%>
<%if(!_.isEmpty(hisAirport)){%>
- <%= lang.recently%>
-
<%for(var i=0;i<_.size(hisAirport);i++){
var _his = hisAirport[i];
valW = utils.getStrWidth(_his.name,13);
twoline = valW > 95 ? 'grid-item-twoline':'';
var _hisName = _his.name;
if(showCity){//开通了城市查询
_hisName = _his.showCityFlag && _his.showCityFlag.length ? _his.name : _his.city;
}
%>
- <%= _hisName%>
<%}%>
<%}%>
<%if(!_.isEmpty(hotAirport)){%>
- <%= lang.hot%>
-
<%for(var i=0;i<_.size(hotAirport);i++){
var _hot = hotAirport[i];
valW = utils.getStrWidth(_hot.name,13);
twoline = valW > 95 ? 'grid-item-twoline':'';
%>
- <%= showCity ? _hot.city : _hot.name%>
<%}%>
<%}%>
<% for (var i = 0,len = data.length; i
<% var item = data[i];
if(item && !_.isString(item) && item.code.length == 1){
%>
- <%= item.name%>
<% }else{ %>
<%
if(appConfig && appConfig.international =="Y" && curCityType == "2" && item.isCtlShow && item.isOrderShow){
var _item = utils.convertCityAir(store,item);
var _nationName = _item.nation_name ? "(" +_item.nation_name+ ")" :"";
%>
- <%= _item.name%>/<%=_item.code%> <%= _nationName %>
<%
_item = null; _nationName =null;
}else{%>
- <%= item.name +"/"+ item.code %>
<%}%>
<% } %>
<%
item = null;
}
%>