From af941097f5b40d7597de3d0a7d6629b0841f22f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B4=C3=B3=C2=B8=C3=A7?= Date: Tue, 24 Feb 2026 13:20:57 +0800 Subject: [PATCH] fix --- src/assets/icons/dui.svg | 3 + src/components/dropdown-menu.vue | 21 ++++++- src/views/canvas/index.vue | 94 +++++++++++++++++++++++++------- src/views/home/setting/index.vue | 1 + src/views/login/login.vue | 1 - 5 files changed, 98 insertions(+), 22 deletions(-) create mode 100644 src/assets/icons/dui.svg diff --git a/src/assets/icons/dui.svg b/src/assets/icons/dui.svg new file mode 100644 index 0000000..9e73def --- /dev/null +++ b/src/assets/icons/dui.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/dropdown-menu.vue b/src/components/dropdown-menu.vue index 9306439..0d5b176 100644 --- a/src/components/dropdown-menu.vue +++ b/src/components/dropdown-menu.vue @@ -11,9 +11,13 @@ :key="item.value" :disabled="item.value === modelValue" @click="onItemClick(item.value)" - style="--el-font-size-base: 1.4rem; --el-text-color-regular: #000" > - {{ item.label }} + @@ -61,4 +65,17 @@ margin-left: 1.6rem; } } + .menu-item { + display: flex; + align-items: center; + width: 100%; + font-size: 1.4rem; + color: #000; + > .label { + margin-right: auto; + } + > .icon { + margin-left: 1.6rem; + } + } diff --git a/src/views/canvas/index.vue b/src/views/canvas/index.vue index 80e7178..90479b4 100644 --- a/src/views/canvas/index.vue +++ b/src/views/canvas/index.vue @@ -1,24 +1,64 @@