index.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="cache-control" content="no-cache"><meta http-equiv="expires" content="0"><meta http-equiv="pragma" content="no-cache"><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport"><link rel="icon" href="favicon.ico"><title>xdviewer0b</title><style>.ndp3-cover {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. z-index: 991;
  8. }
  9. .ndp3-waiter {
  10. margin: auto;
  11. position: absolute;
  12. top: 0;
  13. left: 0;
  14. bottom: 0;
  15. right: 0;
  16. width: 25%;
  17. visibility: visible;
  18. text-align: center;
  19. height: 12.5%;
  20. z-index: 991;
  21. }
  22. .ndp3-waiter > div {
  23. width: 12%;
  24. height: 0;
  25. padding-bottom: 12%;
  26. margin: 0 1.5%;
  27. background-color: #2b9ae8;
  28. border-radius: 100%;
  29. display: inline-block;
  30. animation: bouncedelay 1.4s infinite ease-in-out;
  31. -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  32. -moz-animation: bouncedelay 1.4s infinite ease-in-out;
  33. -o-animation: bouncedelay 1.4s infinite ease-in-out;
  34. animation-fill-mode: both;
  35. -webkit-animation-fill-mode: both;
  36. -moz-animation-fill-mode: both;
  37. -o-animation-fill-mode: both;
  38. }
  39. @keyframes bouncedelay {
  40. 0% {
  41. transform: scale(0);
  42. }
  43. 50% {
  44. transform: scale(1);
  45. }
  46. 100% {
  47. transform: scale(0);
  48. }
  49. }
  50. .ndp3-waiter .bounce1 {
  51. animation-delay: -0.75s;
  52. -webkit-animation-delay: -0.75s;
  53. -moz-animation-delay: -0.75s;
  54. -o-animation-delay: -0.75s;
  55. }
  56. .ndp3-waiter .bounce2 {
  57. animation-delay: -0.5s;
  58. -webkit-animation-delay: -0.5s;
  59. -moz-animation-delay: -0.5s;
  60. -o-animation-delay: -0.5s;
  61. }
  62. .ndp3-waiter .bounce3 {
  63. animation-delay: -0.25s;
  64. -webkit-animation-delay: -0.25s;
  65. -moz-animation-delay: -0.25s;
  66. -o-animation-delay: -0.25s;
  67. }</style><link href="css/chunk-vendors.0b7aed81.css" rel="stylesheet"><link href="css/index.32f1f8b2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but xdviewer0b doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div><div class="ndp3-waiter"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div><div class="ndp3-cover"></div></div></div><script>try {
  68. window.parent.postMessage("startloadViewer");
  69. } catch (error) {
  70. }</script><script src="./coreViewer/res/vue/vue3@3.2.31.js"></script><script src="./coreViewer/res/vue/vuex@4.0.2.js"></script><script src="./coreViewer/res/jquery-1.11.3.min.js"></script><script src="./coreViewer/res/html2canvas.min.js"></script><script src="./coreViewer/res/dom-to-image-more.min.js"></script><script src="./coreViewer/res/locales/Resource.js"></script><script src="./coreViewer/third-party/Detector.js?ver=4.1"></script><script src="./coreViewer/third-party/three.min.js?ver=4.1"></script><script src="./coreViewer/third-party/DracoDecoder.js"></script><script src="./coreViewer/third-party/ziplib.js"></script><script src="./coreViewer/NDSWebViewer.js"></script><script src="./coreViewer/NDSAnimation.js"></script><script src="./coreViewer/third-party/pako.min.js"></script><script src="./coreViewer/third-party/fingerPrint.js"></script><script src="./coreViewer/third-party/rsa.js"></script><script src="js/chunk-vendors.7b2c1b8c.js"></script><script src="js/index.948702c0.js"></script></body><script>function getBroswer(){ // 判断浏览器版本
  71. var Sys = {};
  72. var ua = navigator.userAgent.toLowerCase();
  73. var s;
  74. (s = ua.match(/edge\/([\d.]+)/)) ? Sys.edge = s[1] :
  75. (s = ua.match(/rv:([\d.]+)\) like gecko/)) ? Sys.ie = s[1] :
  76. (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] :
  77. (s = ua.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] :
  78. (s = ua.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] :
  79. (s = ua.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] :
  80. (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
  81. if (Sys.edge) return { broswer : "Edge", version : Sys.edge };
  82. if (Sys.ie) return { broswer : "IE", version : Sys.ie };
  83. if (Sys.firefox) return { broswer : "Firefox", version : Sys.firefox };
  84. if (Sys.chrome) return { broswer : "Chrome", version : Sys.chrome };
  85. if (Sys.opera) return { broswer : "Opera", version : Sys.opera };
  86. if (Sys.safari) return { broswer : "Safari", version : Sys.safari };
  87. return { broswer : "", version : "0" };
  88. }
  89. if(getBroswer().broswer == 'IE' || getBroswer().broswer == 'Edge') {
  90. var language = (nd_viewCtrl && nd_viewCtrl.language) || 'en';
  91. var html = '<div style="position: fixed;top: 30%;width: 100%;text-align: center;"><img src="./img/status-fail.png" style="width: 100px;" alt=""><div style="margin: 15px 0;font-size: 16px;">生成预览失败</div><div style="font-size: 13px;">失败原因:暂不支持该浏览器,请用其他浏览器打开。</div></div>';
  92. if(language == 'en') {
  93. html = '<div style="position: fixed;top: 30%;width: 100%;text-align: center;"><img src="./img/status-fail.png" style="width: 100px;" alt=""><div style="margin: 15px 0;font-size: 16px;">Preview Error</div><div style="font-size: 13px;">Reason:Sorry, your browser is not currently supported. Please download a supported browser to view this site.</div></div>';
  94. }
  95. document.write(html);
  96. document.getElementById('app').style.display = 'none';
  97. }</script></html>