<template>
  <div class="title">
    {{ title }}
  </div>
</template>
<script>
export default {
  name: "Title",
  props: {
    title: {
      type: String,
      default: "",
    },
  },
};
</script>
<style lang="less" scoped>
.title {
  font-size: 18px;
  color: #fff;
  line-height: 40px !important;
  text-align: center;
  background: url("@/assets/images/index/icon_toubg@2x.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.right-slot {
  float: right;
}
</style>