<!--
* 通用标题栏
-->
<script setup lang="ts">
interface Props {
title: string;
}
const props = withDefaults(defineProps<Props>(), {
title: '',
});
</script>
<template>
<div class="com-title">{{ props.title }}</div>
</template>
<style lang="scss" scoped>
.com-title {
width: 100%;
min-height: 50px;
padding: 0 5px;
color: #5e4f4c;
font-family: 'Gill Sans Extrabold', sans-serif;
box-sizing: border-box;
border-bottom: 4px solid #5e4f4c;
font-size: 20px;
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: flex-start;
}
</style>
-
hucy authoredfe24dabc