<template>
    <div class="titbox">
        <h2>{{tooltit}}</h2>
        <div>
            <i class="el-icon-refresh" @click="iconCli(1)"></i>
            <i class="el-icon-full-screen" @click="iconCli(2)"></i>
           <!-- <i class="el-icon-folder-opened" @click="iconCli(3)"></i>
            <i class="el-icon-view" @click="iconCli(4)"></i>
            <i class="el-icon-more" @click="iconCli(5)"></i> -->
        </div>
    </div>
</template>

<script>
    export default {
        props: ['tooltit'],
        data() {
            return {

            }
        },
        methods: {
            //功能栏
            iconCli(v) {
                this.$emit('iconCli', v)
            },
        }
    }
</script>

<style scoped lang="scss">
    .titbox {
        h2 {
            font-weight: normal;
            display: inline-block;
        }
        div {
            float: right;
            margin-top: 5px;

            i {
                font-size: 22px;
                margin-left: 20px;
                cursor: pointer;
            }
        }
    }
</style>
