Commit 80870de9 authored by 仇晓婷's avatar 仇晓婷

报价-样式

parent 90462a65
<template> <template>
<Layout class="full"> <Layout class="quotation">
<!-- 左侧树 --> <!-- 左侧树 -->
<Sider hide-trigger :style="{background: '#fff'}" width="260"> <Sider hide-trigger :style="{background: '#fff'}" width="260">
<div class="zh-tree" :style="{ height: treeHeight + 'px' }"> <div class="zh-tree" :style="{ height: treeHeight + 'px' }">
...@@ -364,8 +364,8 @@ export default { ...@@ -364,8 +364,8 @@ export default {
}; };
}, },
created() { created() {
this.treeHeight = window.innerHeight - 155; this.treeHeight = window.innerHeight - 150;
this.tableHeight = window.innerHeight - 290; this.tableHeight = window.innerHeight - 280;
this.newColumn = this.column; this.newColumn = this.column;
this.tableTata(this.selectName); this.tableTata(this.selectName);
}, },
...@@ -377,8 +377,8 @@ export default { ...@@ -377,8 +377,8 @@ export default {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight; window.screenHeight = window.innerHeight;
this.treeHeight = window.screenHeight - 155; this.treeHeight = window.screenHeight - 150;
this.tableHeight = window.innerHeight - 290; this.tableHeight = window.innerHeight - 280;
})(); })();
}; };
}, },
...@@ -823,4 +823,9 @@ export default { ...@@ -823,4 +823,9 @@ export default {
margin-top: 15px; margin-top: 15px;
} }
</style> </style>
<style>
.ivu-layout.ivu-layout-has-sider > .ivu-layout {
overflow-y: hidden !important;
}
</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