iview实战 : 全屏去头去尾的弹窗

 

<template>    
    <Button @click="modal3 = true" >No title bar</Button>
    <Modal v-model="modal3" footer-hide fullscreen>
        <p>Content of dialog</p>
        <p>Content of dialog</p>
        <p>Content of dialog</p>
    </Modal>
    
    
</template>
<script>
    export default {
        data () {
            return {
                modal2: false,
                modal_loading: false,
                modal3: false,
                modal4: false,
                modal5: false
            }
        },
        methods: {
            del () {
                this.modal_loading = true;
                setTimeout(() => {
                    this.modal_loading = false;
                    this.modal2 = false;
                    this.$Message.success('Successfully delete');
                }, 2000);
            }
        }
    }
</script>

以上。

posted on 2019-06-04 16:56  fox_charon  阅读(1013)  评论(0编辑  收藏  举报

导航