index.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport"
  6. content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <title>鸦片战争博物馆</title>
  9. <meta name="description" content="四维时代">
  10. <meta property="og:title" content="四维时代">
  11. <meta property="og:description" content="四维时代">
  12. <meta property="og:image:type" content="image/jpg">
  13. <link rel="icon" type="image/png" sizes="32x32" href="./favicon.ico" class="keep">
  14. <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/oldVer/main0.css" />
  15. <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/css/main.css?v=2.25" />
  16. <!-- <link rel="stylesheet" href="<%= VUE_APP_STATIC_DIR %>/CAD/cad.css?v=2.25"/> -->
  17. <style>
  18. </style>
  19. <script>
  20. // 移动端和pc端的切换
  21. if (
  22. window.navigator.userAgent.match(
  23. /(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i
  24. )
  25. ) {
  26. // 移动端
  27. if (window.location.href.includes("scene")) {
  28. window.location.href = window.location.href.replace("scene", "sceneM");
  29. setTimeout(() => {
  30. location.reload(true);
  31. }, 200);
  32. }
  33. }
  34. </script>
  35. <script>
  36. var number = window.location.href.substring(window.location.href.indexOf("=") + 1);
  37. if (number.indexOf("&") != -1) {
  38. number = number.substring(0, number.indexOf("&"));
  39. }
  40. if (number.indexOf("#") != -1) {
  41. number = number.substring(0, number.indexOf("#"));
  42. }
  43. </script>
  44. <script class="build keep">
  45. if (window.performance) {
  46. window.navigationStart = window.performance.timing.navigationStart;
  47. } else {
  48. window.navigationStart = Date.now() + 300;
  49. }
  50. </script>
  51. </head>
  52. <body>
  53. <div id="app"></div>
  54. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/jquery-2.1.1.min.js" class="build keep"></script>
  55. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/player-0.0.12.min.js" class="build keep"></script>
  56. <script src="<%= VUE_APP_STATIC_DIR %>/js/Tween.js"></script>
  57. <script src="<%= VUE_APP_STATIC_DIR %>/js/myShow.js"></script>
  58. <script src="<%= VUE_APP_STATIC_DIR %>/js/manage.js"></script>
  59. <!-- <script src="<%= VUE_APP_STATIC_DIR %>/js/overlay.js"></script> -->
  60. <script src="<%= VUE_APP_STATIC_DIR %>/js/Hot.js"></script>
  61. <script src="<%= VUE_APP_STATIC_DIR %>/js/main_2020_show.js" defer></script>
  62. <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/OBJLoader.js"></script>
  63. <!-- <script src="<%= VUE_APP_STATIC_DIR %>/js/CAD/bundle.js"></script> -->
  64. <script src="<%= VUE_APP_STATIC_DIR %>/js/loadCAD.js"></script>
  65. </body>
  66. </html>