图片样式修改

This commit is contained in:
夕阳微笑1 2024-12-23 19:36:11 +08:00
parent 709d9203a9
commit d8edf7034d

View File

@ -41,7 +41,7 @@
添加图片
</el-button>
</div>
<el-table :data="state.tableData.data" v-loading="state.tableData.loading" style="width: 100%">
<el-table :data="state.tableData.data" v-loading="state.tableData.loading" style="width: 100%" class="custom-table">
<el-table-column type="selection" width="55" />
<el-table-column prop="name" label="图片名称" show-overflow-tooltip width="180px"></el-table-column>
<el-table-column label="素材" width="300px" align="center">
@ -572,12 +572,20 @@ onMounted(() => {
flex-direction: column;
flex: 1;
overflow: auto;
.el-table {
flex: 1;
width: 100%;
table-layout: fixed;
}
}
};
::v-deep .el-table__body{
width: 100% !important;
}
::v-deep .el-image {
width: 250px; //
height: 150px; //