This commit is contained in:
chenjianxing 2020-04-26 09:45:36 +08:00
parent 288dd65b70
commit 4e98172502
4 changed files with 21 additions and 17 deletions

View File

@ -26,6 +26,18 @@
} }
</script> </script>
<style>
.tree-aside {
position: relative;
border: 1px solid #EBEEF5;
box-sizing: border-box;
background: white;
}
</style>
<style scoped> <style scoped>
</style> </style>

View File

@ -209,13 +209,6 @@
margin: 3%; margin: 3%;
} }
.tree-aside {
position: relative;
border: 1px solid #EBEEF5;
box-sizing: border-box;
background: white;
}
.case-container { .case-container {
height: calc(100vh - 150px); height: calc(100vh - 150px);
min-height: 600px; min-height: 600px;

View File

@ -122,13 +122,6 @@
min-height: 600px; min-height: 600px;
} }
.tree-aside {
position: relative;
border: 1px solid #EBEEF5;
box-sizing: border-box;
background: white;
}
.el-main { .el-main {
padding: 15px; padding: 15px;
} }

View File

@ -8,7 +8,7 @@
width="50%"> width="50%">
<el-container class="main-content"> <el-container class="main-content">
<el-aside class="node-tree" width="250px"> <el-aside class="tree-aside" width="250px">
<node-tree class="node-tree" <node-tree class="node-tree"
@nodeSelectEvent="nodeChange" @nodeSelectEvent="nodeChange"
@refresh="refresh" @refresh="refresh"
@ -18,7 +18,7 @@
<el-container> <el-container>
<el-main class="case-content" v-loading="result.loading"> <el-main class="case-content" v-loading="result.loading">
<el-scrollbar style="height:100%"> <el-scrollbar>
<el-table <el-table
:data="testCases" :data="testCases"
row-key="id" row-key="id"
@ -185,11 +185,17 @@
} }
.case-content { .case-content {
height: 100%; height: 500px;
/*border: 1px solid #EBEEF5;*/
} }
.main-content { .main-content {
min-height: 300px; min-height: 300px;
/*border: 1px solid #EBEEF5;*/
}
.el-scrollbar {
height: 100%;
} }
</style> </style>