<template>
  <div>
    <div class="title">
      <slot name="title"></slot>
    </div>
    <div class="subTitle">
      <slot name="subTitle"></slot>
    </div>
  </div>
</template>

<script>

export default {
  name: 'TitleGroup',
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
@import "~@/style.less";

.title {
  padding-top: 4.2vw;
  width: 100%;
  text-align: center;
  font-size: 2.5vw;
  letter-spacing: 4px;
  color: #0003;
}

.subTitle {
  padding-top: 0.4vw;
  width: 100%;
  text-align: center;
  font-size: 1.9vw;
  letter-spacing: 2px;
  color: #000;
}

</style>
