PPTist/src/views/_common/_operate/AnimationIndex.vue
pipipi-pikachu a7176f8be6 update
2020-12-16 21:49:12 +08:00

38 lines
638 B
Vue

<template>
<div class="animation-index">
{{animationIndex}}
</div>
</template>
<script lang="ts">
import { PropType } from 'vue'
import { PPTAnimation } from '@/types/slides'
export default {
name: 'animation-index',
props: {
animationIndex: {
type: Number,
required: true,
},
},
}
</script>
<style lang="scss" scoped>
.animation-index {
position: absolute;
top: 0;
left: -22px;
font-size: 12px;
width: 20px;
height: 20px;
background-color: #fff;
color: #333;
border: 1px solid #666;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 3px;
}
</style>