TitlePage.vue 590 Bytes
Newer Older
hucy's avatar
hucy committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<!--
 * 通用标题栏
  -->
<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>