article.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <title>员工学习</title>
  9. <link rel="stylesheet" href="/static/study/css/style.css" />
  10. <link rel="stylesheet" href="/static/study/css/pdfh5.css" />
  11. <link rel="stylesheet" href="/static/study/layer/need/layer.css" />
  12. <style>
  13. .pdfContent {
  14. width: 100%;
  15. height: 100%;
  16. overflow: hidden;
  17. background: #fff;
  18. position: relative;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <div class="pdfContent"></div>
  24. <script src="/static/study/js/pdf.js" type="text/javascript" charset="utf-8"></script>
  25. <script src="/static/study/js/pdf.worker.js" type="text/javascript" charset="utf-8"></script>
  26. <script src="/static/study/js/jquery-1.11.3.min.js" type="text/javascript" charset="utf-8"></script>
  27. <script src="/static/study/js/pdfh5.js" type="text/javascript" charset="utf-8"></script>
  28. <script src="/static/study/layer/layer.js" type="text/javascript" charset="utf-8"></script>
  29. <script type="text/javascript">
  30. var pdfView = new Pdfh5('.pdfContent', {
  31. pdfurl: "{$url}",
  32. });
  33. /*setTimeout(function() {
  34. $.ajax({
  35. url: 'record',
  36. type: "get",
  37. data: {
  38. 'id': '{$path['id']}',
  39. 'token': '{$token}',
  40. }
  41. });
  42. layer.open({
  43. content: '您已学习一次!',
  44. skin: 'msg',
  45. time: 2 //2秒后自动关闭
  46. });
  47. }, 1000*60);*/
  48. </script>
  49. </body>
  50. </html>