<template>
    <div>
        <el-badge :value="1" class="item">
            <svg-icon
                class-name="size-icon"
                icon-class="message_1"
                @click="handleClick"
                style="font-size: 22px; cursor: pointer"
            />
        </el-badge>
    </div>
</template>

<script>
export default {
    data() {},

    methods: {
        handleClick() {
            this.$router.push('/construction-person/to-do')
        },
    },
}
</script>

<style scoped>
::v-deep .el-badge__content.is-fixed {
    top: 10px;
}
</style>
