统一信息维护正式化外壳样式
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="formal-table-shell">
|
||||
<el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="名称" align="center" prop="name" :show-overflow-tooltip="true" />
|
||||
@@ -74,3 +74,43 @@ export default {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.formal-table-shell {
|
||||
padding: 4px 0 16px;
|
||||
border: 1px solid #dde3ec;
|
||||
border-radius: 3px;
|
||||
background: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.formal-table-shell ::v-deep .el-table th {
|
||||
background: #f6f8fb;
|
||||
color: #607086;
|
||||
padding: 9px 0;
|
||||
}
|
||||
|
||||
.formal-table-shell ::v-deep .el-table td,
|
||||
.formal-table-shell ::v-deep .el-table th.is-leaf {
|
||||
border-bottom-color: #edf1f5;
|
||||
}
|
||||
|
||||
.formal-table-shell ::v-deep .el-table td {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.formal-table-shell ::v-deep .el-table th > .cell,
|
||||
.formal-table-shell ::v-deep .el-table td > .cell {
|
||||
text-align: left;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.formal-table-shell ::v-deep .fixed-width .cell,
|
||||
.formal-table-shell ::v-deep .el-table-column--selection .cell {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.formal-table-shell ::v-deep .pagination-container {
|
||||
padding: 16px 20px 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user