fix
This commit is contained in:
22
src/pages/events/index.vue
Normal file
22
src/pages/events/index.vue
Normal file
@@ -0,0 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import Swiper from './swiper.vue'
|
||||
|
||||
defineExpose({})
|
||||
</script>
|
||||
<template>
|
||||
<div class="events">
|
||||
<div class="placeholder"></div>
|
||||
<Swiper />
|
||||
</div>
|
||||
</template>
|
||||
<style lang="less" scoped>
|
||||
.events{
|
||||
.placeholder{
|
||||
height: var(--main-header-height, 100px);
|
||||
width: 100%;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: #000;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user