|
@@ -8,7 +8,9 @@
|
|
|
<el-col :span="24" class="info" :style="{ height: clientHeight + 'px' }">
|
|
|
<model v-for="(i, index) in list" :key="`mod-${index}`" :data="i" />
|
|
|
</el-col>
|
|
|
- <page :limit="limit" :total="total" @search="search" />
|
|
|
+ <el-col :span="24" class="page">
|
|
|
+ <page :limit="limit" :total="total" @search="search" />
|
|
|
+ </el-col>
|
|
|
<el-col :span="24" class="foot">
|
|
|
<foot :type="2"></foot>
|
|
|
</el-col>
|
|
@@ -45,7 +47,7 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
mounted() {
|
|
|
- let clientHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 135;
|
|
|
+ let clientHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 130;
|
|
|
this.$set(this, `clientHeight`, clientHeight);
|
|
|
},
|
|
|
methods: {
|
|
@@ -84,9 +86,15 @@ export default {
|
|
|
.info {
|
|
|
overflow-x: hidden;
|
|
|
overflow-y: auto;
|
|
|
+ background-color: #f9f9f9;
|
|
|
+ padding: 5px;
|
|
|
+ }
|
|
|
+ .page {
|
|
|
+ height: 50px;
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
.foot {
|
|
|
- height: 40px;
|
|
|
+ height: 50px;
|
|
|
overflow: hidden;
|
|
|
border-top: 1px solid #f1f1f1;
|
|
|
}
|