<template>
  <div>
  </div>
</template>

<script>
import { Iframe } from '../../../plugins/iframe'

export default {
  props: {
    ifrAction: null
  },
  data() {
    return {
      iframeShow: false,
      isLoading: false,
      // fullScreenHeight: document.documentElement.clientHeight - 82 + 'px',
      // iframeHeight: document.documentElement.clientHeight - 300 + 'px',
      iframeHeader: '原始记录添加'
    }
  },
  methods: {
    /** 自定义iframe**/
    _createIframe(bindUri, params) {
      Iframe.iframe(bindUri, params)
    },
    /** 自定义iframe的使用**/
    _closeIframe() {
      Iframe.closeModalDiv()
    }
  }
}
</script>


<style>
.record-modal {
  width: 800px;
  height: 500px;
  border: 1px solid #0079fd;
  position: fixed;
  box-shadow: 0 0 10px #505050;
  top: 0;
  left: 0;
  display: block;
}

.record-modal-header {
  width: 100%;
  height: 30px;
  background-color: #ffffff;
  position: relative;
  border-bottom: 1px solid #ffffff;
}

.record-modal-title {
  width: 200px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 30px;
  margin-left: 10px;
}

.record-modal-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 120px;
  height: 100%;
  margin-top: 0;
  /*margin-left: 680px;*/
}

.record-modal-btn > div {
  float: left;
  width: 40px;
  height: 100%;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  cursor: default;
  user-select: none;
}

.record-modal-max {
  font-weight: bold;
}

.record-modal-min:hover,
.record-modal-max:hover {
  background-color: #e5e5e5;
}

.record-modal-close {
  font-size: 24px !important;
}

.record-modal-close:hover {
  background-color: #e81123 !important;
}

.record-modal-content {
  width: 100%;
  height: 470px;
  position: relative;
  background-color: #ffffff;
}

.record-loading-content {
  background-color: #ffffff;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
</style>
