<template>
  <div class="m-title">
    <img class="title_img" src="@/assets/images/index/list-logo.png" alt />
    <div class="tip_title">{{ title }}</div>
    <div class="title_line"></div>
    <slot></slot>
  </div>
</template>
<script>

export default {
  name: "dataTitle",
  props: {
    title: {
      type: String,
      default: "详情",
    },
  },
  components: {
  },
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
.m-title {
  display: flex;
  align-items: center;
  margin-top: 15px;

  .title_img {
    width: 17px;
    height: 17px;
  }
  .tip_title {
    margin-left: 8px;
    font-size: 16px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #ffffff;
    line-height: 22px;
  }

  .title_line {
    margin-left: 8px;
    width: 244px;
    height: 1px;
    background: linear-gradient(
      270deg,
      rgba(55, 198, 255, 0.1) 0%,
      #1995ff 100%
    );
  }
}
</style>
