js下拉菜单用到了js中节点。子节点,lis=nav.children使lis获得nav所有子节点,lis[0]是第一个小li,lis[1]就是第二个ullis.length节点长度children是元素节点