标题栏
使用方式
<template>
<sp-title :title="title"></sp-title>
</template>
<script>
data() {
return {
title: 'Spotlight'
}
}
</script>
sp-title
props/属性
参数 | 类型 | 默认值 | 作用 |
---|---|---|---|
title | String | Null | 显示的文本 |
type | String | base | 使用哪一种样式,目前只有base 一种可选 |