<template>
  <div class="example_modal">
    <div class="example_img">
      <img src="../assets/daka_example_modal.png" alt="">
    </div>
    <div class="example_btn" @click="closeDialog">
      我知道了
    </div>
  </div>
</template>

<script>
  export default {
    name: "ExampleModal",
    methods: {
      closeDialog() {
        this.$emit("close")
      }
    }
  }
</script>

<style scoped>
 .example_modal{
   width: 100%;
   height: 100%;
   position: fixed;
   top: 0;
   left: 0;
   background: rgba(0, 0, 0, 0.7);
   border: 1px solid transparent;
   z-index: 100;
   text-align: center;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
 }

  .example_img{
    width: 6.4rem;
  }

  .example_img img{
    width: 100%;
  }

  .example_btn{
    width: 2.8rem;
    height: .8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,1);
    font-size: .36rem;
    border-radius: .4rem;
    border: .01rem solid rgba(255,255,255,1);
    margin-top: .5rem;
  }
</style>
