提交 e3517d86 编写于 作者: zhentian.jia's avatar zhentian.jia

统一table的css

上级 89c71834
......@@ -69,7 +69,7 @@
<el-button class="add-button" size="small" type="primary" @click="toPage()">新建项目</el-button>
</el-form-item>
</el-form>
<el-table :data="tableData" :header-cell-style="{background:'#FAFAFA',color:'#000'}">
<el-table :data="tableData" style="width: 100%">
<el-table-column prop="id" label="ID编号" min-width="100" align="center"></el-table-column>
<el-table-column prop="projectName" label="项目名称" min-width="100" align="center"></el-table-column>
<el-table-column prop="createdName" label="创建人" align="center"></el-table-column>
......@@ -380,19 +380,12 @@ export default {
color: #449284;
border-bottom: 1px solid #efefef;
}
.table-option span {
color: #409eff;
}
// .table-option span {
// color: #409eff;
// }
.add-button {
float: right;
}
.el-table .cell {
color: #929292;
}
.el-table th > .cell {
font-weight: bold;
color: #000;
}
}
}
</style>
\ No newline at end of file
......@@ -59,7 +59,7 @@
</el-row>
<el-table
:data="tableData"
:header-cell-style="{background:'#FAFAFA',color:'#000'}"
style="width: 100%"
>
<el-table-column prop="userId" label="用户ID" align="center"></el-table-column>
<el-table-column prop="userName" label="姓名" align="center"></el-table-column>
......
......@@ -41,8 +41,7 @@
</el-form>
</el-row>
<el-table
:data="tableData"
:header-cell-style="{background:'#FAFAFA',color:'#000'}"
:data="tableData" style="width: 100%"
>
<el-table-column prop="id" label="ID编号" min-width="100" align="center"></el-table-column>
<el-table-column prop="projectName" label="项目名称" min-width="100" align="center"></el-table-column>
......@@ -178,19 +177,16 @@ export default {
.to-right {
float: right;
}
.table-option span {
color: #409eff;
}
.add-button {
float: right;
}
.el-table .cell {
color: #929292;
}
.el-table th > .cell {
font-weight: bold;
color: #000;
}
// .el-table .cell {
// color: #929292;
// }
// .el-table th > .cell {
// font-weight: bold;
// color: #000;
// }
}
}
</style>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册