obj.style.z-index无效 obj.style.zIndex 有效 zIdex中I为大写 转载于:https://www.cnblogs.com/chuliangjiu/p/6704894.html