<template>
  <div class="sale-item">
    <div class="close-btn" @click="closeSelf"></div>
    <div class="dec-title">待接入设备</div>
  </div>
</template>

<script>
export default {
  methods: {
    closeSelf() {
      this.$store.commit('SET_SALE_ITEM6', false)      
    }
  }
}
</script>

<style lang="scss" scoped>
  .sale-item {
    position: absolute;
    width: 687px;
    height: 399px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url('../../assets/images/弹框.png');
    background-size: 100% 100%;
    .close-btn {
      position: absolute;
      width: 32px;
      height: 34px;
      right: 3px;
      top: 23px;
      background: url('../../assets/images/关闭.png');
    }
    .dec-title {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 425px;
      height: 81px;
      background: #0F70C7;
      transform: translate(-50%, -50%);
      font-size: 43px;
      font-family: 'Source Han Sans CN';
      font-weight: bold;
      color: #DFEEF3;
      line-height: 81px;
      display: flex;
      justify-content: center;
    }
  }
</style> 