Commit ea3cbbf2 authored by AiNoeLiYa's avatar AiNoeLiYa

优化表格滚动条

Signed-off-by: 's avatarAiNoeLiYa <jzbcxy@gmail.com>
parent ac5e5e5a
<template>
<div>
<div style="height:600px;">
<el-scrollbar style="height: 600px;">
<div class="tableList" style="height:600px;">
<el-scrollbar style="height: 100%;">
<el-table
v-loading="loading"
class="processList"
......@@ -106,18 +106,21 @@ export default {
</script>
<style lang="scss" scoped>
//TODO: 这里是控制内容列表的样式
/* TODO: 这里是控制内容列表的样式 */
.processListBtns {
.el-button {
margin: 0 7px;
}
}
.el-scrollbar__wrap{
/* TODO: 深层穿透,解决底部滚动条问题 */
.tableList{
/deep/ .el-scrollbar__wrap{
overflow-x: hidden;
}
.el-scrollbar__bar.is-horizontal {
}
/deep/ .is-horizontal {
display: none;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment