<template>
  <div class="containerBox">
    <div class="title">
      <div class="titleZn">{{ title }}</div>
      <div class="titleEn">{{ titleEn }}</div>
    </div>
    <div class="line"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  props: {
    title: {
      type: String,
      default: `区域排行`,
    },
    titleEn: {
      type: String,
      default: `Tongren Tobacco Planting Digital Management Platform`,
    },
  },
  mounted() {},
  methods: {
    getEchart() {},
  },
  beforeDestroy() {},
}
</script>

<style lang="less" scoped>
.containerBox {
  .title {
    background-image: url('~@/assets/img2/综合总览/编组_1.png');
    background-repeat: no-repeat;
    background-position: left center;
    display: flex;
    justify-content: space-between;
    .titleZn {
      font-size: 20px;
      text-indent: 28px;
    }
    .titleEn {
      width: 130px;
      color: rgba(255, 255, 255, 0.63);
      font-size: 8px;
      text-align: right;
      word-break: break-all;
      line-height: 1.2em;
    }
  }
  .line {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    margin-top: 2px;
    position: relative;
    &::before,
    &::after {
      background-color: #fff;
      height: 1px;
      width: 4px;
      right: 0;
      top: 0;
      position: absolute;
      content: ' ';
      display: block;
    }
    &::before {
      left: 0;
    }
  }
}
</style>
