Model.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <meta name="viewport"
  5. content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  6. <link rel="shortcut icon" href="./img/favicon.ico" type="image/x-icon">
  7. <link rel="stylesheet" href="css/index.css">
  8. <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
  9. <head>
  10. <title>河南博物院</title>
  11. <script src="js/4dage.js"></script>
  12. <style>
  13. html {
  14. overflow: hidden;
  15. }
  16. .back {
  17. z-index: 9999;
  18. cursor: pointer;
  19. width: 30px;
  20. height: 30px;
  21. position: absolute;
  22. top: 10px;
  23. left: 10px;
  24. }
  25. .back img {
  26. width: 100%;
  27. height: 100%;
  28. }
  29. </style>
  30. </head>
  31. <body>
  32. <div class="back" onclick="javascript:history.go(-1);">
  33. <img src="./images/back.png" alt="">
  34. </div>
  35. <div id="ui">
  36. </div>
  37. <script src="js/jquery.js"></script>
  38. <script>
  39. var number = getQueryVariable("m");
  40. /* window.autoRotate = true; */ // 是否自动旋转
  41. fdage.embed('/goods/model/' + number, {
  42. width: 800,
  43. height: 600,
  44. autoStart: true,
  45. fullFrame: true,
  46. pagePreset: false
  47. });
  48. </script>
  49. </body>
  50. </html>