From 21ddc9ec1b1b76d2ce20e512328e65acaf1af2bf Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 16 一月 2023 10:35:15 +0800 Subject: [PATCH] 廊坊代码更新 --- src/views/datamanage/SpatialData.vue | 32 ++++++++++++++++---------------- 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/views/datamanage/SpatialData.vue b/src/views/datamanage/SpatialData.vue index a6712b5..3d4a4d2 100644 --- a/src/views/datamanage/SpatialData.vue +++ b/src/views/datamanage/SpatialData.vue @@ -7,7 +7,8 @@ <el-divider /> <div class="spatialContent"> <div class="spatial_leftTree"> - <el-tree + <div style="width:300px"> + <el-tree ref="treeDay" :data="tree" :props="defaultProps" @@ -16,6 +17,7 @@ :current-node-key="10" @node-click="handleNodeClick" ></el-tree> + </div> </div> <div class="spatial_rightContent"> <el-form @@ -33,7 +35,7 @@ :rows="2" resize='none' disabled - style="width: 650px;" + style="width: 545px;" ></el-input> </el-form-item> <el-form-item> @@ -66,13 +68,12 @@ </el-form-item> </el-form> <el-divider class="eldivider" /> - <div style="height=500px"> + <div> <el-table ref="filterTable" :data="tableData" - height="500px" border - style="width: 100%" + style="width: 100% " @selection-change="handleSelectionChange" > <el-table-column @@ -1049,29 +1050,28 @@ <style lang="less" scoped> //@import url(); 寮曞叆鍏叡css绫� .Spatialbox { - height: 81%; - width: 97%; - position: absolute; + height: 98%; + width: 98%; - box-sizing: border-box; + padding: 1%; .spatialContent { width: 100%; height: 92%; display: flex; justify-content: space-between; - .spatial_leftTree { - width: 15%; - height: 95%; + width: calc(15% - 0px); + height: 91%; border: 1px solid white; border-radius: 5px; padding: 1%; - max-height: 670px; overflow: auto; + + } .spatial_rightContent { width: 80%; - height: 95%; + height: 91%; border: 1px solid white; border-radius: 5px; padding: 1%; @@ -1130,13 +1130,13 @@ // 婊氬姩鏉″楂� .el-table__body-wrapper::-webkit-scrollbar { width: 5px; - height: 5px; + height: 10px; } .el-table__body-wrapper::-webkit-scrollbar { width: 5px; /*婊氬姩鏉″搴�*/ - height: 5px; + height: 10px; /*婊氬姩鏉¢珮搴�*/ } /*瀹氫箟婊氬姩鏉¤建閬� 鍐呴槾褰�+鍦嗚*/ -- Gitblit v1.9.3