<template>
    <!--打印预览-->
    <div id="print-view-container" class="print-view-container" style="display:none">
        <div class="print-view-title">
            <div class="print-view-title-name">{{ title }}</div>
            <div class="print-view-title-operate">
                <div id="print-view-title-operate-print" class="print-view-toolbar-button">
                    <i class="mc-icon mc-icon-print"></i>
                    {{ buttons[0].label }}
                </div>
                <div id="print-view-title-operate-close" class="print-view-toolbar-button">
                    <i class="mc-icon mc-icon-close"></i>
                    {{ buttons[1].label }}
                </div>
            </div>
        </div>
        <div id="print-view" title></div>
    </div>
</template>

<script>
import printView from '../../../../config/renderSet/preview';
export default {
    name: 'print-view',
    data: () => ({ ...printView }),
};
</script>

<style lang="scss">
@import './_printView.scss';
</style>
