<template>
  <div
    class="mini-map-dec"
    :class="{
      mobile: isMobile,
    }"
    :title="title"
  >
    {{ title }}
  </div>
</template>

<script>
export default {
  data() {
    return {
      title: '当前位置：文澜阁',
    }
  },
  methods: {
  }
}
</script>

<style lang="less" scoped>
.mini-map-dec {
  position: fixed;
  top: 7px;
  width: 254px;
  right: 0;
  height: 40px;
  background-image: url(@/assets/images/mini-map-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 998;
  padding-top: 12px;
  padding-left: 14px;
  font-size: 16px;
  font-weight: bold;
  color: #FFFFFF;
  overflow: hidden;
  white-space: pre;
  text-overflow: ellipsis;
}

.mobile.mini-map-dec {
  width: 159px !important;
  height: 142px !important;
  .roof {
    width: 170px;
    height: 12px;
  }
}
</style>
