model.html 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <script src="./4dage.js"></script>
  8. <title>Document</title>
  9. <style>
  10. html {
  11. overflow: hidden;
  12. }
  13. .bacBox {
  14. opacity: 1;
  15. pointer-events: auto;
  16. position: absolute;
  17. z-index: 998;
  18. top: 0;
  19. left: 0;
  20. width: 100%;
  21. height: 100%;
  22. background-color: #cfcfd0;
  23. transition: all 1s;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="ui"></div>
  29. <div class="bacBox"></div>
  30. <script>
  31. let number = getQueryVariable("m");
  32. let num = getQueryVariable("n");
  33. // console.log('ppppppppp',number);
  34. window.autoRotate = true; // 是否自动旋转
  35. // 打包配置
  36. // fdage.embed( number, {
  37. fdage.embed(`http://192.168.20.55:8080/3Goods/${number}/main${num}.4dage`, {
  38. transparentBackground: true,
  39. width: 800,
  40. height: 600,
  41. autoStart: true,
  42. fullFrame: true,
  43. pagePreset: false
  44. });
  45. </script>
  46. </body>
  47. </html>