|
|
|
|
@ -26,7 +26,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="viewer.css"/>
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../../../static/bootstrap-3.3.7/bower_components/font-awesome/css/font-awesome.min.css"/>
|
|
|
|
|
<script src="compatibility.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -35,14 +35,11 @@ http://sourceforge.net/adobe/cmap/wiki/License/
|
|
|
|
|
<link rel="resource" type="application/l10n" href="locale/locale.properties"/>
|
|
|
|
|
<link rel="shortcut icon" href="/emr_medical_record/favicon.ico">
|
|
|
|
|
<script type="text/javascript" src="../../js/jquery-3.3.1.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../bootstrap-3.3.7/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../bootstrap-3.3.7/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
|
|
|
<script src="l10n.js"></script>
|
|
|
|
|
<script src="../build/pdf.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="debugger.js"></script>
|
|
|
|
|
<script src="viewer.js"></script>
|
|
|
|
|
<script src="debugger.js"></script>
|
|
|
|
|
<script src="viewer.js"></script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.loading {
|
|
|
|
|
@ -63,6 +60,32 @@ http://sourceforge.net/adobe/cmap/wiki/License/
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
|
|
|
|
|
}
|
|
|
|
|
.fullScreamBtn{
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
width: 150px;
|
|
|
|
|
height: 30px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
background: #898989;
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 2px;
|
|
|
|
|
left: calc(100vw / 2 - 75px);
|
|
|
|
|
z-index: 999;
|
|
|
|
|
transition: all 0.5s;
|
|
|
|
|
}
|
|
|
|
|
.fullScreamBtn i{
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
color: white;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
.fullScreamBtn i:first-child{
|
|
|
|
|
margin-left: 11px;
|
|
|
|
|
}
|
|
|
|
|
.page:hover~.fullScreamBtn,.fullScreamBtn:hover{
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
@ -442,49 +465,5 @@ http://sourceforge.net/adobe/cmap/wiki/License/
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
<script>
|
|
|
|
|
$("#loading").css("background","url(../../img/load.gif) no-repeat 10px 50%");
|
|
|
|
|
var interval = setInterval('loadPdf()', 1000);
|
|
|
|
|
function loadPdf() {
|
|
|
|
|
if (PDFViewerApplication.pdfDocument == null) {
|
|
|
|
|
$('#myModal').modal('show');
|
|
|
|
|
} else {
|
|
|
|
|
clearInterval(interval);
|
|
|
|
|
$('#myModal').remove();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//屏蔽鼠标右键
|
|
|
|
|
document.oncontextmenu = function(e) {
|
|
|
|
|
var e = e || window.event;
|
|
|
|
|
e.returnValue = false;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
//禁止快捷键打印
|
|
|
|
|
function disabledPrint(){
|
|
|
|
|
if(event.keyCode==80 && event.ctrlKey){
|
|
|
|
|
event.keyCode=0;
|
|
|
|
|
event.returnValue=false;
|
|
|
|
|
}
|
|
|
|
|
if (event.ctrlKey && event.keyCode == 83) {
|
|
|
|
|
event.preventDefault();
|
|
|
|
|
event.returnValue = false;
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
/*$(function() {
|
|
|
|
|
//PDFFindBar.prototype.open(); //optional if you want to show the search bar
|
|
|
|
|
var keys = ['人','心','人心'];
|
|
|
|
|
for (var i = 0; i < keys.length; i++) {
|
|
|
|
|
var event = document.createEvent('CustomEvent');
|
|
|
|
|
event.initCustomEvent('find' + 'again', true, true, {
|
|
|
|
|
query: keys[i],
|
|
|
|
|
highlightAll: true,
|
|
|
|
|
findPrevious: false
|
|
|
|
|
});
|
|
|
|
|
window.dispatchEvent(event);
|
|
|
|
|
}
|
|
|
|
|
//return window.dispatchEvent(event);
|
|
|
|
|
})*/
|
|
|
|
|
</script>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|