<template>
  <div class="pop">
    <div
      style="width: 100%;height: 100vh;background-color: rgba(0,0,0,0.76);position: fixed;z-index: 11; left: 0;top: 0;"
    >
      <div class="mask">
        <div class="maskTit">
          <slot name="tit"></slot>
        </div>
        <div class="maskCon">
          <slot name="con"></slot>
        </div>
        <div class="maskBtn">
          <slot name="btn1"></slot>
          <slot name="btn2"></slot>

          <!-- <div class="btn" style="color: rgba(136,136,136,1);" @click="isShowMask = false">取消</div> -->
          <!-- <div class="btn" style="color: rgba(251,67,25,1);">确认</div> -->
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.mask {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 170px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 1);
  color: rgba(16, 16, 16, 1);
  font-size: 14px;
  text-align: center;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  font-family: Roboto;
  display: flex;
  flex-direction: column;
  .maskTit {
    flex: 0.5;
    display: flex;
    align-items: flex-end;
    font-weight: bold;
    font-size: 18px;
  }
  .maskCon {
    flex: 0.6;
    display: flex;
    align-items: center;
  }
  .maskBtn {
    width: 100%;
    height: 50px;
    display: flex;
    .btn {
      width: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}
</style>
