|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>欣税通管理系统</title>
|
|
|
|
<link rel="shortcut icon" href="static/favicon.ico">
|
|
|
|
<style>
|
|
|
|
.base-font {
|
|
|
|
font-family: "PingFangSC-Regular, sans-serif","Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue", Helvetica,
|
|
|
|
tahoma, arial, Verdana, sans-serif
|
|
|
|
}
|
|
|
|
html,body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
html::-webkit-scrollbar-track {
|
|
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
|
|
border-radius: 10px;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
}
|
|
|
|
html::-webkit-scrollbar {
|
|
|
|
width: 5px;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
}
|
|
|
|
html::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 5px;
|
|
|
|
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
|
|
background-color: #999;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
// 监听页面高度发生变化
|
|
|
|
window.onload = () => {
|
|
|
|
let MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver
|
|
|
|
let target = document.querySelector('#body')
|
|
|
|
let observer = new MutationObserver(function (mutations) {
|
|
|
|
mutations.forEach(function (mutation) {
|
|
|
|
let height = target.scrollHeight
|
|
|
|
// 判断是否有遮招层
|
|
|
|
let display = document.querySelector('.el-dialog__wrapper') ? document.querySelector('.el-dialog__wrapper').style.display : ''
|
|
|
|
if (document.querySelector('.el-dialog__wrapper') && display !== 'none') {
|
|
|
|
height = document.querySelector('.el-dialog__wrapper').scrollHeight
|
|
|
|
}
|
|
|
|
parent.postMessage({height}, '*')
|
|
|
|
})
|
|
|
|
})
|
|
|
|
var config = {
|
|
|
|
attributes: true,
|
|
|
|
childList: true,
|
|
|
|
characterData: true
|
|
|
|
}
|
|
|
|
observer.observe(target, config)
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="hold-transition skin-blue sidebar-mini base-font" id="body">
|
|
|
|
<div id="app"></div>
|
|
|
|
<!-- <script src="/static/dll/vendor.dll.js"></script> -->
|
|
|
|
</body>
|
|
|
|
</html>
|