guonan
2025-04-14 9e860a560c5a4b81abe2042b8d8698e253730502
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<template>
    <div id="flow">
        <!-- <video src="@/assets/video/序列 01_1.mp4" @ended="endshowLayerManager ed" controls autoplay muted="true" /> -->
    </div>
</template>
 
<script setup>
    import { defineEmits } from "vue"
    const emit = defineEmits(["videoEnded"])
    function ended() {
        setTimeout(() => {
            emit("videoEnded")
        }, 1000)
    }
</script>
 
<style lang="less" scoped>
    #flow {
        width: 100vw;
        height: 100vh;
        position: absolute;
        // z-index: 1;
 
        :deep(video) {
            width: 100%;
            height: 100%;
            object-fit: cover !important;
            aspect-ratio: unset !important;
        }
    }
</style>