title组件修复
This commit is contained in:
parent
05736161fb
commit
ea6d5376da
|
@ -1,16 +1,16 @@
|
|||
<template>
|
||||
<div class="content-title">
|
||||
<div>
|
||||
{{ title }}
|
||||
</div>
|
||||
<div>{{ title }}</div>
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import contentTitle from "./content-title";
|
||||
export default {
|
||||
name: "contentTitle",
|
||||
props: {
|
||||
title: String,
|
||||
title: String
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
@ -20,8 +20,9 @@ export default {
|
|||
height: 48px;
|
||||
line-height: 48px;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;;
|
||||
// color: #fff;
|
||||
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue