diff --git a/src/views/Editor/Canvas/index.vue b/src/views/Editor/Canvas/index.vue index 7f4a5ee..2edff4e 100644 --- a/src/views/Editor/Canvas/index.vue +++ b/src/views/Editor/Canvas/index.vue @@ -203,10 +203,6 @@ export default defineComponent({ }, { text: '网格参考线', - children: [ - { text: '网格线', handler: toggleGridLines }, - { text: '参考线' }, - ], }, { text: '清空本页', diff --git a/src/views/Editor/EditorHeader/index.vue b/src/views/Editor/EditorHeader/index.vue index 908f201..65b8f75 100644 --- a/src/views/Editor/EditorHeader/index.vue +++ b/src/views/Editor/EditorHeader/index.vue @@ -5,8 +5,8 @@ @@ -18,6 +18,7 @@ 重做 添加页面 删除页面 + 网格参考线 diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ChartDataEditor.vue b/src/views/Editor/Toolbar/ElementStylePanel/ChartDataEditor.vue new file mode 100644 index 0000000..9c95b75 --- /dev/null +++ b/src/views/Editor/Toolbar/ElementStylePanel/ChartDataEditor.vue @@ -0,0 +1,296 @@ + + + + + \ No newline at end of file diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue index 56a3026..e007a3a 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/ChartStylePanel.vue @@ -1,18 +1,63 @@ @@ -24,4 +69,11 @@ export default defineComponent({ align-items: center; margin-bottom: 10px; } +.full-width-btn { + width: 100%; + margin-bottom: 10px; +} +.btn-icon { + margin-right: 3px; +} \ No newline at end of file diff --git a/src/views/Editor/Toolbar/ElementStylePanel/index.vue b/src/views/Editor/Toolbar/ElementStylePanel/index.vue index e6687ba..724145b 100644 --- a/src/views/Editor/Toolbar/ElementStylePanel/index.vue +++ b/src/views/Editor/Toolbar/ElementStylePanel/index.vue @@ -3,7 +3,7 @@
请先选中要编辑的元素
- + @@ -39,6 +39,7 @@ export default defineComponent({ }) return { + handleElement, currentPanelComponent, } },