增加配置组件

This commit is contained in:
BianLzhaoMin 2024-06-20 13:28:34 +08:00
parent e1ca6fdde4
commit 87698622cd
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<template>
<!-- 页头提示 -->
<el-page-header @back="goBack" :content="pageContent"> </el-page-header>
</template>
<script>
export default {
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>