<template>
<div class="contain">
<div class="title">
<span>{{ title }}</span>
</div>
<slot></slot>
</div>
</template>
<script>
export default {
name: 'containBox',
props: { title: String },
data() {
return {}
},
methods: {},
mounted() {}
}
</script>
<style lang="less" scoped>
.contain {
border-bottom: 1px solid rgb(209, 214, 224);
.title {
font-size: 15px;
font-weight: bold;
padding: 8px 0px 8px 6px;
}
}
</style>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)