diff --git a/src/assets/styles/global.scss b/src/assets/styles/global.scss index a6e70c4..cb54c1a 100644 --- a/src/assets/styles/global.scss +++ b/src/assets/styles/global.scss @@ -58,6 +58,5 @@ a { background-color: #fff; } ::-webkit-scrollbar-thumb { - background-color: #e1e1e1; - border-radius: 5px; + background-color: #c1c1c1; } \ No newline at end of file diff --git a/src/components/Contextmenu/ContextmenuContent.vue b/src/components/Contextmenu/ContextmenuContent.vue index cf17931..61fe4d7 100644 --- a/src/components/Contextmenu/ContextmenuContent.vue +++ b/src/components/Contextmenu/ContextmenuContent.vue @@ -52,7 +52,7 @@ 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 da3efd9..0ae3e88 100644 --- a/src/views/Editor/Thumbnails/index.vue +++ b/src/views/Editor/Thumbnails/index.vue @@ -4,9 +4,7 @@ @mousedown="() => setThumbnailsFocus(true)" v-click-outside="() => setThumbnailsFocus(false)" > -
- + 添加幻灯片 -
+
+ 添加幻灯片
- +
+
{{tab.label}}
+
+
+ +
@@ -16,7 +72,35 @@ export default defineComponent({ .toolbar { border-left: solid 1px #eee; background-color: #fff; + display: flex; + flex-direction: column; +} +.tabs { + height: 40px; + font-size: 12px; + flex-shrink: 0; + display: flex; +} +.tab { + flex: 1; + display: flex; + justify-content: center; + align-items: center; + background-color: #f9f9f9; + border-bottom: 1px solid #eee; + cursor: pointer; + + &.active { + background-color: #fff; + border-bottom-color: #fff; + } + + & + .tab { + border-left: 1px solid #eee; + } +} +.content { + padding: 5px; overflow: auto; - padding: 5px 0; } \ No newline at end of file