first commit
This commit is contained in:
26
components/Slide.vue
Normal file
26
components/Slide.vue
Normal file
@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div
|
||||
class="slide"
|
||||
@click="$emit('click')"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Slide'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus">
|
||||
.slide
|
||||
height 100%
|
||||
width 100%
|
||||
flex-shrink 0
|
||||
z-index 10
|
||||
overflow hidden
|
||||
|
||||
img
|
||||
-webkit-user-drag none
|
||||
</style>
|
Reference in New Issue
Block a user