.继承之前的写法 ↓
--------------------------------------------------------------------------------------------------------
老写法太复杂,看看新的写法↓↓↓
-------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------
案例:拖拽 先过完李立超的js课程再看此案例