<template>
    <!-- 页头提示 -->
        <el-page-header @back="goBack" :content="pageContent"> </el-page-header>
    <!--  -->
</template>

<script>
export default {
    name: 'PageHeader',
    props: {
        pageContent: {
            type: String,
            default: '详情',
        },
    },
    methods: {
        goBack() {
            this.$emit('goBack')
        },
    },
}
</script>

<style>
.el-page-header {
    padding-bottom: 5px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}
</style>