From af97afdfc673efbd05ff21f02da8f93eb9b721e6 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 08 四月 2021 17:20:52 +0800 Subject: [PATCH] 统一样式-图层控制面板折叠效果添加。 --- src/components/LayerController/LayerController.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/LayerController/LayerController.vue b/src/components/LayerController/LayerController.vue index e494157..fe80364 100644 --- a/src/components/LayerController/LayerController.vue +++ b/src/components/LayerController/LayerController.vue @@ -247,14 +247,19 @@ background: #0E3565; } .el-button--default{ - padding: 15px 3px; + padding: 0; background:@background-color4; color:@color-tool; position: absolute; - top:0; - left: 100%; - margin-left: .02rem; - border:1px solid @color-tool; + top:24px; + right:0.02rem; + border:none;//1px solid @color-tool; + width: 0.2rem; + height: 0.2rem; + text-align: center; + line-height: 0.2rem; + margin-top: -0.1rem; + border-radius: 50%; // border-radius: 0.03rem 50% 50% 0.03rem; } .el-button--default:hover{ -- Gitblit v1.8.0