diff --git a/idea.md b/idea.md index b2df7a0..a7fa099 100644 --- a/idea.md +++ b/idea.md @@ -60,3 +60,5 @@ [x] 对 vnode 进行简单的包装,提供出显示文字、显示图片等 api 以及修改 css 的 api [] 楼传新增跳过无宝石无怪物的地图 [] 楼传在小地图中显示10层塔的缩略图 +[] 自定义工具栏新增文件夹功能,里面可以放多个工具 +[] 自定义工具新增杂项,包括点击后打开工具栏、拖动大地图等 diff --git a/src/ui/toolEditor.vue b/src/ui/toolEditor.vue index fb551dd..6cd5589 100644 --- a/src/ui/toolEditor.vue +++ b/src/ui/toolEditor.vue @@ -3,41 +3,64 @@ 返回
- -
-
- {{ item.id }} - 删除 -
-
+
+ +
-    - 新增工具栏 + {{ item.id }} + 删除
-
- +
+
+    + 新增工具栏 +
+
+ +
+
+
+ + +
+
+
+
- +
- -
+ +
{ .tool-list-scroll { height: 100%; - width: 30%; + width: 100%; +} + +#tool-left { + flex-basis: 30%; + display: flex; + height: 100%; } #tool-list { @@ -507,4 +536,41 @@ onUnmounted(() => { .divider { height: 100%; } + +@media screen and (max-width: 600px) { + #tool-editor { + padding-top: 15%; + flex-direction: column; + width: 100%; + height: 100%; + } + + #tool-left { + width: 100%; + height: 100%; + max-height: 40vh; + display: flex; + flex-direction: row; + + .tool-list-scroll { + height: 100%; + flex-basis: 50%; + } + + #tool-preview { + flex-basis: 50%; + height: 100%; + } + } + + #tool-info { + width: 100%; + height: 100%; + } + + .divider { + height: auto; + width: 100%; + } +}