From 8598ba0a788188327a577ffd8047a303acb37397 Mon Sep 17 00:00:00 2001 From: Kirigaya <1193466151@qq.com> Date: Sun, 24 Mar 2024 17:05:15 +0800 Subject: [PATCH] save --- public/vcd.css | 12 +- src/components/render/index.vue | 2 +- src/components/treeview/search.vue | 12 +- src/hook/render.js | 4 +- src/hook/wave-view/dom-container.js | 54 ++++-- src/hook/wave-view/gen-render-waves-gl.js | 206 ++++++++++++---------- src/hook/wave-view/mount-tree.js | 17 +- 7 files changed, 186 insertions(+), 121 deletions(-) diff --git a/public/vcd.css b/public/vcd.css index e83f307..5e12dc9 100644 --- a/public/vcd.css +++ b/public/vcd.css @@ -92,7 +92,7 @@ a { color: var(--main-color); } -.wd-container { +.vcd-container { --right-panel-width: 0px; width: calc(100% - var(--right-panel-width)); transition: width .3s ease-out; @@ -103,17 +103,17 @@ a { right: 0; } -.wd-grid { +.vcd-vline { position: absolute; } -.wd-view { +.vcd-view { position: absolute; top: 24px; bottom: 24px; } -.wd-values { +.vcd-values { position: absolute; top: 24px; bottom: 24px; @@ -127,12 +127,12 @@ a { transition: width .3s ease-out; } -.wd-cursor { +.vcd-cursor { position: absolute; pointer-events: none; } -.wd-values text { +.vcd-values text { font-size: 14px; text-anchor: middle; fill: #fff; diff --git a/src/components/render/index.vue b/src/components/render/index.vue index f197952..fea2f18 100644 --- a/src/components/render/index.vue +++ b/src/components/render/index.vue @@ -4,7 +4,7 @@
-
+
diff --git a/src/components/treeview/search.vue b/src/components/treeview/search.vue index 474dba4..52ede22 100644 --- a/src/components/treeview/search.vue +++ b/src/components/treeview/search.vue @@ -1,5 +1,7 @@