feat: 添加幻灯片页码显示

This commit is contained in:
pipipi-pikachu 2022-07-16 09:54:51 +08:00
parent 4bdc772926
commit 4f192edc59

View File

@ -40,6 +40,8 @@
</div> </div>
</template> </template>
</Draggable> </Draggable>
<div class="page-number">幻灯片 {{slideIndex + 1}} / {{slides.length}}</div>
</div> </div>
</template> </template>
@ -323,4 +325,12 @@ const contextmenusThumbnailItem = (): ContextmenuItem[] => {
cursor: grabbing; cursor: grabbing;
} }
} }
.page-number {
height: 40px;
font-size: 12px;
border-top: 1px solid $borderColor;
line-height: 40px;
text-align: center;
color: #666;
}
</style> </style>