使用
<full-screen-dialog :visible.sync="dialog.visible" title="详情" class="dialog-middle" @close="close">
<div>弹窗中间内容</div>
<div slot="footer"></div> </full-screen-dialog>
1.template部分
<template> <transition name="fullscreen" @after-enter="afterEnter" @after-leave="afterLeave">//动画 <div v-if="visible" class="fullscreen-dialog-wrapper"