diff --git a/design/webgl.drawio b/design/webgl.drawio index ea30e30..ff59dae 100644 --- a/design/webgl.drawio +++ b/design/webgl.drawio @@ -1,6 +1,6 @@ - + @@ -566,11 +566,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -838,161 +865,650 @@ - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/vcd.css b/public/vcd.css index be950be..42e4510 100644 --- a/public/vcd.css +++ b/public/vcd.css @@ -4,7 +4,7 @@ --main-color: #CB81DA; --main-dark-color: #2D323B; --main-light-color: var(--main-color); - --sidebar-width: 230px; + --sidebar-width: 330px; --right-nav-width: 60px; --time-scale-height: 50px; --sidebar-padding: 10px; @@ -118,4 +118,13 @@ a { background-size: 100%; height: 200px; width: 200px; +} + +.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner { + opacity: 0.6; +} + +.el-select__wrapper.is-disabled { + opacity: 0.6; + box-shadow: unset !important; } \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 41e35c3..fb4b45e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -73,7 +73,7 @@ onMounted(async () => { // 设置全局宏 document.body.style.setProperty('--time-scale-height', '50px'); document.body.style.setProperty('--vcd-render-padding', '30px'); - document.body.style.setProperty('--sidebar-width', '230px'); + document.body.style.setProperty('--sidebar-width', '330px'); document.body.style.setProperty('--toolbar-height', '60px'); // signal height diff --git a/src/components/sidebar/group-context-menu.vue b/src/components/sidebar/group-context-menu.vue index 01ffed5..9934bd9 100644 --- a/src/components/sidebar/group-context-menu.vue +++ b/src/components/sidebar/group-context-menu.vue @@ -6,6 +6,7 @@ :ref="el => groupcontextmenu.groupNameInput = el" v-model="value" size="default" + @keydown.enter="onKeydownEnter()" >
@@ -71,11 +72,14 @@ const value = computed({ } }); - function onClick(item) { groupcontextmenu.currentGroupView.groupInfo.color = item.color; } +function onKeydownEnter() { + groupcontextmenu.show = false; +} +