a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16) 转载于:https://www.cnblogs.com/gopark/p/9401201.html