|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <div
|
|
|
|
|
|
+ <div
|
|
class="thumbnails"
|
|
class="thumbnails"
|
|
@mousedown="() => setThumbnailsFocus(true)"
|
|
@mousedown="() => setThumbnailsFocus(true)"
|
|
v-click-outside="() => setThumbnailsFocus(false)"
|
|
v-click-outside="() => setThumbnailsFocus(false)"
|
|
@@ -15,7 +15,7 @@
|
|
</Popover>
|
|
</Popover>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <Draggable
|
|
|
|
|
|
+ <Draggable
|
|
class="thumbnail-list"
|
|
class="thumbnail-list"
|
|
ref="thumbnailsRef"
|
|
ref="thumbnailsRef"
|
|
:modelValue="slides"
|
|
:modelValue="slides"
|
|
@@ -30,11 +30,11 @@
|
|
<div class="thumbnail-container">
|
|
<div class="thumbnail-container">
|
|
<div class="section-title"
|
|
<div class="section-title"
|
|
:data-section-id="element?.sectionTag?.id || ''"
|
|
:data-section-id="element?.sectionTag?.id || ''"
|
|
- v-if="element.sectionTag || (hasSection && index === 0)"
|
|
|
|
|
|
+ v-if="element.sectionTag || (hasSection && index === 0)"
|
|
v-contextmenu="contextmenusSection"
|
|
v-contextmenu="contextmenusSection"
|
|
>
|
|
>
|
|
- <input
|
|
|
|
- :id="`section-title-input-${element?.sectionTag?.id || 'default'}`"
|
|
|
|
|
|
+ <input
|
|
|
|
+ :id="`section-title-input-${element?.sectionTag?.id || 'default'}`"
|
|
type="text"
|
|
type="text"
|
|
:value="element?.sectionTag?.title || ''"
|
|
:value="element?.sectionTag?.title || ''"
|
|
placeholder="输入节名称"
|
|
placeholder="输入节名称"
|
|
@@ -58,7 +58,7 @@
|
|
>
|
|
>
|
|
<div class="label" :class="{ 'offset-left': index >= 99 }">{{ fillDigit(index + 1, 2) }}</div>
|
|
<div class="label" :class="{ 'offset-left': index >= 99 }">{{ fillDigit(index + 1, 2) }}</div>
|
|
<ThumbnailSlide class="thumbnail" :slide="element" :size="120" :visible="index < slidesLoadLimit" />
|
|
<ThumbnailSlide class="thumbnail" :slide="element" :size="120" :visible="index < slidesLoadLimit" />
|
|
-
|
|
|
|
|
|
+
|
|
<div class="note-flag" v-if="element.notes && element.notes.length" @click="openNotesPanel()">{{ element.notes.length }}</div>
|
|
<div class="note-flag" v-if="element.notes && element.notes.length" @click="openNotesPanel()">{{ element.notes.length }}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -473,12 +473,13 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.page-number {
|
|
.page-number {
|
|
- height: 40px;
|
|
|
|
- font-size: 12px;
|
|
|
|
|
|
+ height: 50px;
|
|
border-top: 1px solid $borderColor;
|
|
border-top: 1px solid $borderColor;
|
|
- line-height: 40px;
|
|
|
|
- text-align: center;
|
|
|
|
- color: #666;
|
|
|
|
|
|
+ line-height: 50px;
|
|
|
|
+ padding-left: 24px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #131415;
|
|
}
|
|
}
|
|
.section-title {
|
|
.section-title {
|
|
height: 26px;
|
|
height: 26px;
|
|
@@ -525,4 +526,4 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => {
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|