<template>
  <div class="topTitle">
    <span class="name">{{name}}</span>
    <slot name="left"/>
    <slot></slot>
  </div>
</template>

<script>
export default {
  props:['name'],
  data() {
    return {};
  },
  methods: {},
  components: {}
};
</script>

<style lang="scss" scoped>
.topTitle {
  color: #3a3a3a;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #f4f7f9ff;
  .name {
    font-weight: bold;
    padding: 2px 0 2px 6px;
    border-left: 4px solid #FF6800;
  }
  >>>a{
    color: #fff !important;
  }
}
</style>
