From 9660afd3e2ed1b9bd87c9316f8b24c63ad4c9a4e Mon Sep 17 00:00:00 2001 From: 584911253@qq.com <584911253@qq.com> Date: 星期六, 25 二月 2023 17:28:22 +0800 Subject: [PATCH] 运维管理样式修改 --- src/views/AuthorizationManagement/userRoleAuthorization.vue | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/views/AuthorizationManagement/userRoleAuthorization.vue b/src/views/AuthorizationManagement/userRoleAuthorization.vue index b38f9c8..79b9a3b 100644 --- a/src/views/AuthorizationManagement/userRoleAuthorization.vue +++ b/src/views/AuthorizationManagement/userRoleAuthorization.vue @@ -52,7 +52,7 @@ :data="tableData" style="width: 100%" @row-click="singleElection" - height="calc(100% - 124px)" + height="calc(100% - 80px)" > <el-table-column align="center" width="55"> <template slot-scope="scope"> @@ -77,7 +77,7 @@ > </el-table-column> </el-table> - <div style="text-align: center; margin-top: 20px" class="pagination_box"> + <div style="text-align: center; margin-top: 10px" class="pagination_box"> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" @@ -135,7 +135,7 @@ <el-table :data="usertableData" style="width: 100%" - height="calc(100% - 124px)" + height="calc(100% - 80px)" @selection-change="handleSelectionChange" > <el-table-column type="selection" width="55"> </el-table-column> @@ -151,7 +151,7 @@ </el-table-column> </el-table> - <div style="margin-top: 20px; text-align: center" class="pagination_box"> + <div style="margin-top: 10px; text-align: center" class="pagination_box"> <el-pagination @size-change="userhandleSizeChange" @current-change="userhandleCurrentChange" @@ -337,12 +337,12 @@ resize[i].left = resize[i].offsetLeft; // 榧犳爣鎷栧姩浜嬩欢 document.onmousemove = function (e) { - + let endX = e.clientX; console.log(endX ,startX) let moveLen = resize[i].left + (endX - startX) - left1[i].offsetWidth ; // 锛坋ndx-startx锛�=绉诲姩鐨勮窛绂汇�俽esize[i].left+绉诲姩鐨勮窛绂�=宸﹁竟鍖哄煙鏈�鍚庣殑瀹藉害 let maxT = box[i].clientWidth - resize[i].offsetWidth; // 瀹瑰櫒瀹藉害 - 宸﹁竟鍖哄煙鐨勫搴� = 鍙宠竟鍖哄煙鐨勫搴� - + if (moveLen < 205) moveLen = 205; // 宸﹁竟鍖哄煙鐨勬渶灏忓搴︿负32px if (moveLen > maxT - 300) moveLen = maxT - 300; //鍙宠竟鍖哄煙鏈�灏忓搴︿负150px @@ -585,16 +585,18 @@ <style lang="less" scoped> //@import url(); 寮曞叆鍏叡css绫� .menuSettings_box { - height: 98%; + //height: 98%; + height: 100%; width: 98%; - padding: 1%; + padding: 0 1%; // position: relative; display: flex; justify-content: space-between; .menuSettings_tree { width: 33%; - height: 98%; + //height: 98%; + height: 100%; position: relative; padding: 10px; border-radius: 10px; @@ -621,6 +623,6 @@ .el-table /deep/ th, .el-table /deep/ tr { background-color: transparent !important; -} +} </style> - + -- Gitblit v1.9.3