33 lines
543 B
Vue
33 lines
543 B
Vue
<template>
|
|
<div class="base-title">
|
|
<span></span>
|
|
<span>{{ title }}</span>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
const props = defineProps({
|
|
title: {
|
|
type: String,
|
|
default: ''
|
|
}
|
|
})
|
|
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.base-title {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
margin: 15px 0;
|
|
font-weight: bold;
|
|
>span:first-child {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 20px;
|
|
background: #BEA266;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
</style> |