From 5461dde2c8682615cf4bf05e5ead4dd35fc9e76e Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Sun, 20 Dec 2020 12:41:24 +0800 Subject: [PATCH] update --- public/index.html | 2 +- src/views/Editor/CanvasTool/index.vue | 49 ++++++++++++++++++++++++++- src/views/Editor/Thumbnails/index.vue | 24 +++++++++++-- 3 files changed, 71 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index 77fc4c4..e3f9d2d 100644 --- a/public/index.html +++ b/public/index.html @@ -15,6 +15,6 @@
- + diff --git a/src/views/Editor/CanvasTool/index.vue b/src/views/Editor/CanvasTool/index.vue index 5b3b00c..43657e2 100644 --- a/src/views/Editor/CanvasTool/index.vue +++ b/src/views/Editor/CanvasTool/index.vue @@ -1,6 +1,25 @@ @@ -14,7 +33,35 @@ export default defineComponent({ \ No newline at end of file diff --git a/src/views/Editor/Thumbnails/index.vue b/src/views/Editor/Thumbnails/index.vue index 2f667d5..e1094b7 100644 --- a/src/views/Editor/Thumbnails/index.vue +++ b/src/views/Editor/Thumbnails/index.vue @@ -4,6 +4,9 @@ @mousedown="() => setThumbnailsFocus(true)" v-click-outside="() => setThumbnailsFocus(false)" > +
+ + 添加幻灯片 +
{{ fillDigit(index + 1) }}
- +
@@ -152,9 +155,26 @@ export default defineComponent({ display: flex; flex-direction: column; overflow: auto; - padding: 5px 0; user-select: none; } +.add-slide { + height: 40px; + font-size: 12px; + display: flex; + justify-content: center; + align-items: center; + + span { + cursor: pointer; + padding: 5px; + &:hover { + border: 1px solid #eee; + } + } +} +.thumbnail-list { + padding: 5px 0; +} .thumbnail-wrapper { display: flex; justify-content: center;