<template>
  <div class="enabled" v-show="!enabled">
    <div class="enabled_box">
      <img class="enabled_img" src="../assets/img/tingyong.png" />
    </div>
  </div>
</template>
  
  <script>
export default {
  props: {
    enabled: {
      type: Number,
      required: true,
      default: 1,
    },
  },
};
</script>
  
  <style lang="less" scoped>
.enabled {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  .enabled_box {
    width: 400px;
    height: 400px;
    background-color: #fff;
    border-radius: 4px;
    .enabled_img {
      width: 100%;
      height: 100%;
    }
  }
}
</style>