From c5864725606384e1172bac4eb856ed645c55ce21 Mon Sep 17 00:00:00 2001 From: yuyu <1981343953@qq.com> Date: 星期五, 18 八月 2023 17:07:03 +0800 Subject: [PATCH] 8.18 bug修复 --- src/views/standardLibrary/index.vue | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/views/standardLibrary/index.vue b/src/views/standardLibrary/index.vue index a447d44..3a642f1 100644 --- a/src/views/standardLibrary/index.vue +++ b/src/views/standardLibrary/index.vue @@ -1,7 +1,7 @@ <template> <div class="standard-library-main"> <div class="content-main"> - <div class="library-bom"> + <div class="library-bom" style="width: 300px;"> <el-input v-model="filterText" placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�" @@ -9,6 +9,7 @@ <el-button type="text">鍏ㄩ儴</el-button> <el-tree ref="tree" + style="width: 100%;" class="filter-tree" :data="standardTree" :props="defaultProps" @@ -20,7 +21,7 @@ @node-click="nodeClick" /> </div> - <div class="library-table"> + <div class="library-table" style="width: 80%;"> <div class="table-header"> <div class="search-bar"> <el-form ref="form" :inline="true" :model="searchData"> @@ -384,7 +385,7 @@ // height: 800px; // } .standard-library-main{ - width: 100%; + width: 100vh; height: 100%; // 椤甸潰涓績鍐呭鍖哄煙 .content-main{ @@ -398,14 +399,15 @@ background: #fff; } .library-bom{ - flex: 2; - // width: 20%; + // padding-right: 10px; + width: 300px; // height: 100%; max-height: 100%; - margin-right: 12px; - overflow-y: scroll; + // margin-right: 12px; + // overflow-y: scroll; .el-tree { - // margin-top: 12px; + // margin-top: + width: 100%; ::v-deep .el-tree-node__content{ height: 24px !important; font-size: 18px; @@ -453,7 +455,7 @@ } .library-table{ // height: 100%; - flex: 8; + width: 170vh; max-height: 100%; // flex: 8; margin-left: 12px; -- Gitblit v1.9.3