<template>
    <div class="report">
        <a href="javascript:void 0;">举报</a>
        <a href="javascript:void 0;" v-if="showLook" @click="lookProof">查看校对</a>
    </div>
</template>

<script>
    export default{
        props:{
            showLook:{
                type:Boolean,
                default:true
            }
        },
        methods:{
            lookProof(){
                this.$router.push('/proof/1/look');
            }
        }
    }
</script>

<style scoped>
    .report{
        line-height:33px;
    }

    .report a{
        color:#000;
        font-weight:500;
    }

    .report a:nth-child(even){
        margin-left:10px;
    }
</style>
