增加配置组件
This commit is contained in:
parent
e1ca6fdde4
commit
87698622cd
|
|
@ -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>
|
||||
Loading…
Reference in New Issue