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

订单报价样式

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