Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如标题所暗示的那样,有没有一种简单的方法可以设置拉力赛表中单元格的颜色?
不直接通过组件。您可以遍历表格生成的 dom 节点并将背景颜色样式设置为您想要的颜色。或者,如果你想为一列或一行着色,你可以编写一个 CSS3 选择器来完成它(如果你使用的是现代浏览器——而不是 IE)