<script> //第一步 咱們首先 須要獲取你要操做的DOM元素 var olis = document.querySelectorAll('') 對應的標籤名 //第二步,咱們要給每一行設置顏色 for(var i = 0;) </script> 複製代碼