<!--二级标题-->
<template>
  <div class="secondary-title">
    <div class="_icon"></div>
    <div class="_title">{{ title }}</div>
    <div class="_right">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "PeakThirdLevelLabel",
  props: {
    longBg: {
      type: Boolean,
      default: false
    },
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style scoped lang="less">
@import "assets/styles/mixin";

.secondary-title {
  width: 100%;
  height: 16px;
  .clear-fix;

  ._icon {
    width: 10px;
    height: 16px;
    .bg("~/assets/peakCoalMonitoring/right/charts-title-icon.png");
    float: left;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }

  ._title {
    height: 100%;
    line-height: 16px;
    padding-left: 20px;
    float: left;
    font-family: PingFangSC-Medium;
    font-size: 16px;
    color: #D8F0FF;
    letter-spacing: 0;
    text-shadow: 0 0 11px #0091FF;
    font-weight: 500;
  }

  ._right {
    float: right;
    height: 100%;
  }
}

/*
.longBg {
  width: 100%;
  height: 84px;
  background: url("assets/peakCoalImages/common/long-seconfary-title-bg.png") no-repeat;
  background-size: 100% 100%;
}*/
</style>
