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 @@