<template>
  <div class="titleHead">
    <div class="text">{{ text }}</div>
  </div>
</template>
<script>
export default {
  name: "TitleHead",
  props: {
    text: String,
  },
};
</script>
<style scoped lang="scss">
.titleHead {
  width: 100%;
  height: 80px;
  background-image: url("../assets/image/titleBg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  .text {
    width: 90%;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 12px;
    padding-top: 33px;
    margin-left: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
</style>
