浏览代码

feat(editor): 实现图层复制功能并优化图层管理

- 在图层菜单中添加复制选项
- 重构复制逻辑至 PictureEditor 的 layer mixin 中
- 移除旧的复制方法实现
- 优化图层排序以兼容 Vue3 响应式系统
- 修复图层删除后画布未重新渲染的问题
- 更新营销编辑器模板中的图层操作菜单
panqiuyao 6 天之前
父节点
当前提交
987f0ec60c

+ 1 - 1
frontend/src/views/components/PictureEditor/mixin/edit/index.scss

@@ -1,6 +1,6 @@
 .picture-editor-wrap_edit {
   position: fixed;
-  width: 210px;
+  width: 280px;
   right: 0px;
   top:80px;
   z-index: 100;

+ 1 - 1
frontend/src/views/components/PictureEditor/mixin/layer/index.scss

@@ -2,7 +2,7 @@
   position: fixed;
   top: 85px;
   left: 0;
-  width: 210px;
+  width: 280px;
   height: 410px;
   background: #ffffff;
   color: #222;

+ 1 - 1
frontend/src/views/components/marketingEdit/index.vue

@@ -564,7 +564,7 @@ export default {
     left: 0px;
     z-index: 10;
     bottom: 0;
-    width: 210px;
+    width: 280px;
 
     background:#fff;
     box-shadow: 0px 2px 4px 0px rgba(170,177,255,0.54);