<template>
  <div class="common-map-tool-title">
    <div class="top">
      <span class="t">{{title}}</span>
      <span class="close" @click="$emit('close')">x</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "CommonMapToolTitle",
  props:{
    title:{

    }
  }
}
</script>

<style scoped lang="scss">
.common-map-tool-title{
  .top{
    padding: 0 20px;
    height: 60px;
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    border-bottom:1px solid rgba(0, 170, 255, 0.4);
    .t{
      font-size: 18px;
      font-weight: bold;

    }
    .close{
      position: relative;
      top: -4px;
      font-size: 30px;
      cursor: pointer;
    }

  }
}
</style>
