<%
if((list.guestTypeCode==2)||(list.guestTypeCode==3)||(list.guestTypeCode==4)||(list.guestTypeCode==5)||(list.specAuth=='Y' && list.specType=='3S')||(list.specAuth=='Y' && list.specType=='2S')||(list.specAuth=='Y' && list.specType=='SS')||(list.conformTravelPolicy=='Y' && !self.store.getMyInfo().defaultSetup)||(self.isBCD && list.specAuth=='Y' )){
%>
<%
var iconInfo='';
if(list.conformTravelPolicy=='Y' && !self.store.getMyInfo().defaultSetup){
iconInfo+='';
}
if(list.specAuth=='Y' && list.specType=='3S'){
iconInfo+='';
}
//console.log(list.roomTypeName+'--'+list.specType+'---'+self.appConfig.isShow2SProtocolImg);
if(self.isAmex){
if(list.specAuth=='Y' && list.specType=='2S'){
//两方协议资源标示是否显示
if(self.appConfig.isShow2SProtocolImg!="N"){
iconInfo+='';
}
}
if(list.specAuth=='Y' && list.specType=='SS'){
iconInfo+='';
}
if(list.guestTypeCode==2){
iconInfo+='';
}
if(list.guestTypeCode==3||list.guestTypeCode==4||list.guestTypeCode==5){
iconInfo+='';
}
}else if(self.isBCD){//specType优选状态(如果是CREC显示星星图标)“推荐”,isSpecAuthHotel协议状态(如果是Y显示握手图标)“协议”
if(list.specAuth=='Y'){
//两方协议资源标示是否显示
if(self.appConfig.isShow2SProtocolImg!="N" || list.specType!="2S"){
iconInfo+='';
}
}
if(list.specType=='CREC'){
iconInfo+='';
}
}else{
if(list.specAuth=='Y' && list.specType=='2S'&&list.specTmc.toUpperCase()=='HRG'){
//两方协议资源标示是否显示
if(self.appConfig.isShow2SProtocolImg!="N"){
iconInfo+='';
}
}else if(list.isSpecAuthHotel=='Y' && list.specType=='2S'&&list.specTmc.toUpperCase()=='BJS723'){
//两方协议资源标示是否显示
if(self.appConfig.isShow2SProtocolImg!="N"){
iconInfo+='';
}
}else{
if(list.specAuth=='Y' && list.specType=='2S'){
//两方协议资源标示是否显示
if(self.appConfig.isShow2SProtocolImg!="N"){
iconInfo+='';
}
}
}
}
%>
<%=iconInfo%>
<%}%>
<%if(!self.utils.ifEmpty(list.bedType)||!self.utils.ifEmpty(list .firstRoomMeal)){%>
<%
var bedType='',roomMeal='',internet='';
if(list.bedType){
if(self.isAmex){//运通 DOUBLE BEDS(双床) KING SIZE BED(大床)
if((list.bedType.indexOf("双床")!=-1||list.bedType.indexOf("DOUBLE")!=-1)&&(list.bedType.indexOf("大床")==-1||list.bedType.indexOf("KING")==-1)){
bedType='';
}else if((list.bedType.indexOf("双床")==-1||list.bedType.indexOf("DOUBLE")==-1)&&(list.bedType.indexOf("大床")!=-1||list.bedType.indexOf("KING")!=-1)){
bedType='';
}else{
bedType='';
}
}else if(self.isBCD){//(D,K,Q)-大床 (T)-双床 (O)-大/双人床
if(list.bedType=='O'){
bedType='';
}else if(list.bedType=='D'||list.bedType=='K' || list.bedType=='Q'){
bedType='';
}else if(list.bedType=='T'){
bedType='';
}
}else{
if(list.bedType.indexOf("大床")!=-1&&list.bedType.indexOf("双床")==-1){
bedType='';
}else if(list.bedType.indexOf("双床")!=-1&&list.bedType.indexOf("大床")==-1){
bedType='';
}else{
bedType='';
}
}
}
var firstRoomMeal = list .firstRoomMeal;
if(firstRoomMeal && firstRoomMeal!=null){//"0":"无早","1":"单早","2":"双早","99":"含早","-1":"早"
if(firstRoomMeal =='0'){
roomMeal ='';
}else if(firstRoomMeal =='1'){
roomMeal ='';
}else if(firstRoomMeal =='2'){
roomMeal ='';
}else if(firstRoomMeal =='99'){
roomMeal ='';
}else{
firstRoomMeal =firstRoomMeal+' '+lang.breakfast['-1'];
roomMeal =''+firstRoomMeal+'';
}
}
//宽带
if(self.isBCD && list.internetCode && list.internetCode!=null){
if(list.internetCode=='Y'){
internet='';
}
}
%>
<%=bedType+roomMeal+internet%>
<%}%>