<template>
    
    <div class="v-floating-layer" v-if="isShow" :style="layerStyle">

        <div v-if="content" v-html="content"></div>
        
        <div v-else-if="componentName">

            <component :is="componentName"></component>

        </div>

    </div>

</template>

<script>

import props from './mixins/props.js';//组件的配置属性
import events from './mixins/events.js';//组件的事件

export default {
    mixins:[props,events]
};

</script>

