阻止事件冒泡、点击自身以外地方关闭层,2个知识点的例子: 网址:http://runjs.cn/code/lklb2syj 转载于:https://www.cnblogs.com/cag2050/p/5869660.html