Commit f0c5cf30 authored by honghuiliu's avatar honghuiliu 💬

Merge remote-tracking branch 'origin/master'

parents 1416c0b1 fbe383a6
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
} }
.gva-search-box { .gva-search-box {
flex-shrink: 0;
.el-collapse { .el-collapse {
border: none; border: none;
.el-collapse-item__header, .el-collapse-item__header,
...@@ -89,9 +90,13 @@ ...@@ -89,9 +90,13 @@
} }
.gva-table-box { .gva-table-box {
flex: 1;
display: flex;
flex-direction: column;
padding: 24px; padding: 24px;
background-color: #fff; background-color: #fff;
border-radius: 2px; border-radius: 2px;
overflow: hidden;
} }
.gva-pagination { .gva-pagination {
......
...@@ -645,6 +645,9 @@ li { ...@@ -645,6 +645,9 @@ li {
min-height: 100%; min-height: 100%;
margin-left: $width-aside; margin-left: $width-aside;
position: relative; position: relative;
display: flex;
flex-direction: column;
overflow: hidden;
} }
.hideside { .hideside {
.main-cont.el-main { .main-cont.el-main {
...@@ -680,11 +683,19 @@ li { ...@@ -680,11 +683,19 @@ li {
} }
} }
} }
.admin-box-content{
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
.admin-box { .admin-box {
min-height: calc(100vh - 200px); flex: 1;
padding: 12px 16px; padding: 12px 16px;
margin: 100px 2px 20px; margin: 0 2px 20px;
display: flex;
flex-direction: column;
overflow-y: auto;
.el-table--border { .el-table--border {
border-radius: 4px; border-radius: 4px;
margin-bottom: 14px; margin-bottom: 14px;
...@@ -1218,8 +1229,10 @@ $mainHight: 100vh; ...@@ -1218,8 +1229,10 @@ $mainHight: 100vh;
} }
.gva-btn-list { .gva-btn-list {
flex-shrink: 0;
margin-bottom: 12px; margin-bottom: 12px;
display: flex; display: flex;
overflow: hidden;
.el-button+.el-button { .el-button+.el-button {
margin-left: 12px; margin-left: 12px;
} }
......
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</div> </div>
</transition> </transition>
<router-view v-if="reloadFlag" v-slot="{ Component }" v-loading="loadingFlag" element-loading-text="正在加载中" class="admin-box"> <router-view v-if="reloadFlag" v-slot="{ Component }" v-loading="loadingFlag" element-loading-text="正在加载中" class="admin-box">
<div> <div class="admin-box-content">
<transition mode="out-in" name="el-fade-in-linear"> <transition mode="out-in" name="el-fade-in-linear">
<keep-alive :include="routerStore.keepAliveRouters"> <keep-alive :include="routerStore.keepAliveRouters">
<component :is="Component" /> <component :is="Component" />
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</div> </div>
</router-view> </router-view>
<BottomInfo /> <BottomInfo />
<setting /> <!--<setting />-->
</el-main> </el-main>
</el-container> </el-container>
......
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
</div> </div>
<el-table <el-table
ref="multipleTable" ref="multipleTable"
style="width: 100%" style="flex:1"
height="100%"
tooltip-effect="dark" tooltip-effect="dark"
:data="tableData" :data="tableData"
row-key="ID" row-key="ID"
......
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