Commit e68eee19 authored by 仇晓婷's avatar 仇晓婷

订单报价样式

parent b8e00f52
<template>
<div class="tree-type">
<div class="zh-tree">
<h3 class="zh-title">产品结构</h3>
<div class="zh-box">
<Input placeholder="输入内容" style="width: auto" v-model="treeInputSearch">
......@@ -81,7 +81,5 @@ export default {
</script>
<style lang="less" scoped>
.tree-content {
margin-top: 15px;
}
</style>
<template>
<Layout class="quotation">
<!-- 左侧树 -->
<Sider hide-trigger :style="{background: '#fff'}" width="260">
<div class="zh-tree" :style="{ height: treeHeight + 'px' }">
<Tree-Type @func="getMsgFormSon"></Tree-Type>
</div>
<Sider hide-trigger :style="{background: '#fff',marginRight:'10px'}" width="260">
<Tree-Type @func="getMsgFormSon" :style="{ height: treeHeight + 'px' }"></Tree-Type>
</Sider>
<!-- 右侧内容 -->
<Content class="content">
......@@ -364,8 +362,8 @@ export default {
};
},
created() {
this.treeHeight = window.innerHeight - 150;
this.tableHeight = window.innerHeight - 280;
this.treeHeight = window.innerHeight - 140;
this.tableHeight = window.innerHeight - 210;
this.newColumn = this.column;
this.tableTata(this.selectName);
},
......@@ -377,8 +375,8 @@ export default {
///浏览器窗口大小变化
return (() => {
window.screenHeight = window.innerHeight;
this.treeHeight = window.screenHeight - 150;
this.tableHeight = window.innerHeight - 280;
this.treeHeight = window.screenHeight - 140;
this.tableHeight = window.innerHeight - 210;
})();
};
},
......@@ -817,6 +815,13 @@ export default {
};
</script>
<style lang="less" scoped>
.quotation {
margin-right: 10px;
.zh-tree {
margin-left: 15px;
height: inherit !important;
}
}
.table {
margin-top: 15px;
}
......@@ -824,9 +829,4 @@ export default {
margin-top: 15px;
}
</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