<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <div id="big" style="width:50px; height:50px; background:red;" onmouseover="t(this)">多少</div> </body> <script> function t(pic) { pic.style.background = "blue"; } </script> </html>