css 修改element組件自動生成後的樣式: 修改背景顏色,內邊距。
大於號表示子級,更精確
.report-content-detail > div:nth-child(2){
padding: 0px !important;
>.el-card>.el-card__body{
background-color: rgb(245,247,249);
}
}
點表示子級
// .report-content-detail > div{
// padding: 0px !important;
// .el-card__body{
//
// }
// }