基础
前端框架
Appearance
const list = Array.from(document.querySelectorAll('li')) const index = list.indexOf(e.target)