//js获取背景颜色
var Airport=$("#Airport").css('background-color');
js设置背景颜色
$("#intercity").css("background-color","#e8ebee");
document.getElementsByTagName('div')[0].style.pointerEvents='none';
//js获取背景颜色
var Airport=$("#Airport").css('background-color');
js设置背景颜色
$("#intercity").css("background-color","#e8ebee");
document.getElementsByTagName('div')[0].style.pointerEvents='none';
转载于:https://www.cnblogs.com/qq376324789/p/9896498.html