<template>
    <van-popup v-model="show" class="slot-popup">
        <slot></slot>
        <div class="c-t-center mt30" @click="$emit('close', false)"><img width="30" src="@/assets/images/guanbi_btn.png"/></div>
    </van-popup>
</template>

<script>
export default {
    model: {
        prop: 'show',
        event: 'close'
    },
    props: ["show"],
    data() {
        return {
        }
    }
}
</script>

<style lang="scss">
.slot-popup {
  background-color: transparent;
}
.slot-dialog {
  background-color: #fff;
  width: 80vw;
  border-radius: 20px;
}
</style>