element ui 表格样式
/*设置表格 边框*/
::v-deep.el-table{
margin-left: 2.5%;
margin-top: 1vh;
background-color: rgba(0,0,0,0)}
/*设置表头样式*/
::v-deep.el-table th {
font-size: 0.8vw;
padding: 0.3vw!important;
text-align: center!important;
background-color: rgba(54,100,139,0.5);
color: white;
}
::v-deep.el-table th>.cell{
color: white;
}
::v-deep.el-table tr{
background-color: rgba(0,0,0,0);
}
/*表格主体一些基本属性*/
::v-deep..el-table td{
font-size: 0.7vw;
color: whiite;
border: 1px solid rgba(0,0,0,0);
padding-top: 0.5vw!important;
padding-bottom: 0.5vw!importan
text-align: center!important;
}
/*用来设置鼠标划过时某一行高亮的颜色*/
/*::v-deep.el-table tbody tr:hover > td{*/
/* background: #CCCCCC!important;;*/
/*}*/
/*控制单元格内数据换行显示*/
::v-deep.el-table .cell {
whie-space: pre-line;
}
/*选中高亮颜色配置*/
/*::v-deep .el-table__body tr.current-row>td {*/
/* color: #fff;*/
/* background: #409EFF!important;*/
/*}*/