You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8 KiB

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看填报详情</title>
<link rel="stylesheet" href="../../component/pear/css/pear.css" />
<style mce_bogus="1">
body {
margin: 0px;
}
iframe {
border: 0px;
}
</style>
</head>
<body scroll="no">
<div id="pdfView"></div>
<script id="pdfScript" type="text/html">
<iframe id="frame3d" name="frame3d" frameborder="0" width="100%" scrolling="auto"
onload="this.style.height=document.body.clientHeight" height="100%" src="{{d.url}}"></iframe>
</script>
<script src="../../component/layui/layui.js"></script>
<script src="../../component/pear/pear.js"></script>
<script src="../../component/pear/base64.js"></script>
<script>
layui.use(function () {
var $ = layui.jquery;
var laytpl = layui.laytpl;
var _url = Base64.decode(GetQueryString("url"));
// $(document).attr("title", "查看");
var data = { "url": _url };
var pdfTpl = pdfScript.innerHTML,
pdfView = document.getElementById('pdfView');
laytpl(pdfTpl).render(data, function (html) {
pdfView.innerHTML = html;
});
function GetQueryString(name, istop) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
if (typeof (istop) != "undefined") r = top.location.search.substr(1).match(reg);
if (r != null) return unescape(r[2]);
return null;
}
});
</script>
</body>
</html>