From f704f4ad709bc561b48f2d4bd603655de171839e Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Fri, 31 Dec 2021 15:32:09 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20UI=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ElementStylePanel/ImageStylePanel.vue | 99 +----------- .../Editor/Toolbar/common/ElementFilter.vue | 141 ++++++++++++++++++ 2 files changed, 148 insertions(+), 92 deletions(-) create mode 100644 src/views/Editor/Toolbar/common/ElementFilter.vue diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue index 5f7af1b4..b9dffdb6 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/ImageStylePanel.vue @@ -5,6 +5,8 @@ :style="{ backgroundImage: `url(${handleElement.src})` }" > + + @@ -39,27 +41,8 @@ - - - - - - + + @@ -75,7 +58,7 @@ + + \ No newline at end of file