<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>员工学习</title> <link rel="stylesheet" href="/static/study/css/style.css" /> <link rel="stylesheet" href="/static/study/css/pdfh5.css" /> <link rel="stylesheet" href="/static/study/layer/need/layer.css" /> <style> .pdfContent { width: 100%; height: 100%; overflow: hidden; background: #fff; position: relative; } </style> </head> <body> <div class="pdfContent"></div> <script src="/static/study/js/pdf.js" type="text/javascript" charset="utf-8"></script> <script src="/static/study/js/pdf.worker.js" type="text/javascript" charset="utf-8"></script> <script src="/static/study/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script> <script src="/static/study/js/pdfh5.js" type="text/javascript" charset="utf-8"></script> <script src="/static/study/layer/layer.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript"> var pdfView = new Pdfh5('.pdfContent', { pdfurl: "{$url}", }); /*setTimeout(function() { $.ajax({ url: 'record', type: "get", data: { 'id': '{$path['id']}', 'token': '{$token}', } }); layer.open({ content: '您已学习一次!', skin: 'msg', time: 2 //2秒后自动关闭 }); }, 1000*60);*/ </script> </body> </html>