最新回答 / 慕碼人0290569
map()是數(shù)組遍歷的一種方法;map()中的參數(shù)為一個(gè)回調(diào)函數(shù),其中的 v 表示當(dāng)前元素,i? 表示索引;使用map()方法時(shí)須通過 return 返回一個(gè)新的數(shù)組;
2023-04-18
最新回答 / CSRM
上級(jí)容器沒有設(shè)定高度#sports_main {? ? position: fixed;? ? top:50px;? ? bottom:0;? ? /* height: calc(100vh-50px); */}
2021-12-26