<!-- 头部标题组件 -->
<template>
  <div class="title1">
    <div class="title-text">
      <slot name="title">农户实时交易</slot>
    </div>
  </div>
</template>

<style  scoped>
.title1 {
  /* height: 2.2rem; */
  background: url("../../../../assets/img/title1.png");
  background-size: 100% 100%;
  margin-bottom: 1rem;
}
.title-text {
  font-size: 1.8rem;
  font-weight: bold;
  font-family: PingFangSC-Medium, PingFang SC;
  color: #fff;
  padding-left: 3.5rem;
  line-height: 2.2rem;
}
</style>
