shaogen1995 hace 1 mes
padre
commit
268d6a0665
Se han modificado 100 ficheros con 699 adiciones y 112 borrados
  1. BIN
      public/Beizhongshijie/Build/Build.data.unityweb
  2. BIN
      public/Beizhongshijie/Build/Build.framework.js.unityweb
  3. BIN
      public/Beizhongshijie/Build/Build.wasm.unityweb
  4. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/0c7d9fe059db2ee83f04ec4894355538.bundle
  5. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/0cfa26d92f2aa9ec3f6b127e37e19928.bundle
  6. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/12570a22233b8e31ae27644dbcfe8e98.bundle
  7. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/1f4f6856c5caec206fca42ebaaa7919f.bundle
  8. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/1fdbed01508125f1bbe8926c09ca0d2e.bundle
  9. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/2c352ba22942b872b574485b0b4384da.bundle
  10. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/2e10bd011dcfe194a54037622fdea2d9.bundle
  11. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/3b9adc28bc1734efbd67fd7d207cd380.bundle
  12. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/70dd350ae0c35589e9c5059d2523eeec.bundle
  13. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/7adf775361ca6e72918ffddb174b07ab.bundle
  14. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/84c50e06568f07e196412fa1bf98bee4.bundle
  15. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/9cf96dc4528eac0215c219b70cbcf4d4.bundle
  16. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/d078ced9a95dca98f3830330be5ace9c.bundle
  17. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/d1c8a5b8339fe0f585144eb59bb093c4.bundle
  18. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/de801cfbd560353b0e517bed99a133b6.bundle
  19. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/e3ff228125d82f0307b9fcd91d17330c.bundle
  20. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/ed5b1b75119bd2126a9d609a18d08a78.bundle
  21. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/f1791d0a6f5c2c029b608731c7e720bd.bundle
  22. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/f495ebcc1be471e80b1eeefb3b34f5e0.bundle
  23. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/f63c2a07093bd541f0c1f2104a82313d.bundle
  24. BIN
      public/Beizhongshijie/StreamingAssets/aa/WebGL/f9e6c2827344ae404bed18f5b511740d.bundle
  25. 1 1
      public/Beizhongshijie/StreamingAssets/aa/catalog.json
  26. BIN
      public/BeizhongshijiePc/Build/Build.data.unityweb
  27. BIN
      public/BeizhongshijiePc/Build/Build.framework.js.unityweb
  28. 1 0
      public/BeizhongshijiePc/Build/Build.loader.js
  29. BIN
      public/BeizhongshijiePc/Build/Build.wasm.unityweb
  30. 6 0
      public/BeizhongshijiePc/ServiceWorker.js
  31. 15 0
      public/BeizhongshijiePc/StreamingAssets/aa/AddressablesLink/link.xml
  32. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/0c7d9fe059db2ee83f04ec4894355538.bundle
  33. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/0cfa26d92f2aa9ec3f6b127e37e19928.bundle
  34. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/12570a22233b8e31ae27644dbcfe8e98.bundle
  35. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/1f4f6856c5caec206fca42ebaaa7919f.bundle
  36. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/1fdbed01508125f1bbe8926c09ca0d2e.bundle
  37. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/2c352ba22942b872b574485b0b4384da.bundle
  38. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/2e10bd011dcfe194a54037622fdea2d9.bundle
  39. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/3b9adc28bc1734efbd67fd7d207cd380.bundle
  40. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/70dd350ae0c35589e9c5059d2523eeec.bundle
  41. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/7adf775361ca6e72918ffddb174b07ab.bundle
  42. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/84c50e06568f07e196412fa1bf98bee4.bundle
  43. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/9cf96dc4528eac0215c219b70cbcf4d4.bundle
  44. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/d078ced9a95dca98f3830330be5ace9c.bundle
  45. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/d1c8a5b8339fe0f585144eb59bb093c4.bundle
  46. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/de801cfbd560353b0e517bed99a133b6.bundle
  47. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/e3ff228125d82f0307b9fcd91d17330c.bundle
  48. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/ed5b1b75119bd2126a9d609a18d08a78.bundle
  49. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f1791d0a6f5c2c029b608731c7e720bd.bundle
  50. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f495ebcc1be471e80b1eeefb3b34f5e0.bundle
  51. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f63c2a07093bd541f0c1f2104a82313d.bundle
  52. BIN
      public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f9e6c2827344ae404bed18f5b511740d.bundle
  53. 1 0
      public/BeizhongshijiePc/StreamingAssets/aa/catalog.json
  54. 1 0
      public/BeizhongshijiePc/StreamingAssets/aa/settings.json
  55. BIN
      public/BeizhongshijiePc/TemplateData/favicon.ico
  56. BIN
      public/BeizhongshijiePc/TemplateData/progress-bar-empty-dark.png
  57. BIN
      public/BeizhongshijiePc/TemplateData/progress-bar-empty-light.png
  58. BIN
      public/BeizhongshijiePc/TemplateData/progress-bar-full-dark.png
  59. BIN
      public/BeizhongshijiePc/TemplateData/progress-bar-full-light.png
  60. 50 0
      public/BeizhongshijiePc/TemplateData/style.css
  61. BIN
      public/BeizhongshijiePc/TemplateData/webmemd-icon.png
  62. 114 0
      public/BeizhongshijiePc/index.html
  63. 111 0
      public/BeizhongshijiePc/main.html
  64. 6 0
      public/BeizhongshijiePc/unityExport.js
  65. BIN
      public/beiyingzhihui/Build/Build.data.unityweb
  66. BIN
      public/beiyingzhihui/Build/Build.framework.js.unityweb
  67. BIN
      public/beiyingzhihui/Build/Build.wasm.unityweb
  68. BIN
      public/beiyingzhihui/TemplateData/img_bg.webp
  69. BIN
      public/beiyingzhihui/TemplateData/img_postcard.webp
  70. 6 16
      public/beiyingzhihui/index.css
  71. 27 46
      public/beiyingzhihui/index.html
  72. 2 2
      public/beiyingzhihui/index.js
  73. BIN
      public/beiyingzhihuiPc/Build/Build.data.unityweb
  74. BIN
      public/beiyingzhihuiPc/Build/Build.framework.js.unityweb
  75. 1 0
      public/beiyingzhihuiPc/Build/Build.loader.js
  76. BIN
      public/beiyingzhihuiPc/Build/Build.wasm.unityweb
  77. 6 0
      public/beiyingzhihuiPc/ServiceWorker.js
  78. BIN
      public/beiyingzhihuiPc/TemplateData/favicon.ico
  79. BIN
      public/beiyingzhihuiPc/TemplateData/img_bg.webp
  80. BIN
      public/beiyingzhihuiPc/TemplateData/img_postcard.webp
  81. BIN
      public/beiyingzhihuiPc/TemplateData/progress-bar-empty-dark.png
  82. BIN
      public/beiyingzhihuiPc/TemplateData/progress-bar-empty-light.png
  83. BIN
      public/beiyingzhihuiPc/TemplateData/progress-bar-full-dark.png
  84. BIN
      public/beiyingzhihuiPc/TemplateData/progress-bar-full-light.png
  85. 5 0
      public/beiyingzhihuiPc/TemplateData/style.css
  86. 53 0
      public/beiyingzhihuiPc/index.css
  87. 154 0
      public/beiyingzhihuiPc/index.html
  88. 58 0
      public/beiyingzhihuiPc/index.js
  89. 15 0
      public/beiyingzhihuiPc/manifest.webmanifest
  90. BIN
      src/assets/img/A2_quanwenEn.png
  91. BIN
      src/assets/img/A2_wenwuEn.png
  92. BIN
      src/assets/img/titleLogoEn.png
  93. 6 0
      src/pages/A0base/data.ts
  94. 1 1
      src/pages/A0base/index.module.scss
  95. 16 13
      src/pages/A0base/index.tsx
  96. 1 1
      src/pages/A1home2/index.tsx
  97. 27 20
      src/pages/A2yblm/components/Intro/index.module.scss
  98. 3 4
      src/pages/A2yblm/components/Intro/index.tsx
  99. 12 8
      src/pages/A2yblm/index.module.scss
  100. 0 0
      src/pages/A2yblm/index.tsx

BIN
public/Beizhongshijie/Build/Build.data.unityweb


BIN
public/Beizhongshijie/Build/Build.framework.js.unityweb


BIN
public/Beizhongshijie/Build/Build.wasm.unityweb


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/0c7d9fe059db2ee83f04ec4894355538.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/0cfa26d92f2aa9ec3f6b127e37e19928.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/12570a22233b8e31ae27644dbcfe8e98.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/1f4f6856c5caec206fca42ebaaa7919f.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/1fdbed01508125f1bbe8926c09ca0d2e.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/2c352ba22942b872b574485b0b4384da.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/2e10bd011dcfe194a54037622fdea2d9.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/3b9adc28bc1734efbd67fd7d207cd380.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/70dd350ae0c35589e9c5059d2523eeec.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/7adf775361ca6e72918ffddb174b07ab.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/84c50e06568f07e196412fa1bf98bee4.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/9cf96dc4528eac0215c219b70cbcf4d4.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/d078ced9a95dca98f3830330be5ace9c.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/d1c8a5b8339fe0f585144eb59bb093c4.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/de801cfbd560353b0e517bed99a133b6.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/e3ff228125d82f0307b9fcd91d17330c.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/ed5b1b75119bd2126a9d609a18d08a78.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/f1791d0a6f5c2c029b608731c7e720bd.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/f495ebcc1be471e80b1eeefb3b34f5e0.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/f63c2a07093bd541f0c1f2104a82313d.bundle


BIN
public/Beizhongshijie/StreamingAssets/aa/WebGL/f9e6c2827344ae404bed18f5b511740d.bundle


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
public/Beizhongshijie/StreamingAssets/aa/catalog.json


BIN
public/BeizhongshijiePc/Build/Build.data.unityweb


BIN
public/BeizhongshijiePc/Build/Build.framework.js.unityweb


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 0
public/BeizhongshijiePc/Build/Build.loader.js


BIN
public/BeizhongshijiePc/Build/Build.wasm.unityweb


+ 6 - 0
public/BeizhongshijiePc/ServiceWorker.js

@@ -0,0 +1,6 @@
+
+self.addEventListener('install', function (e) {
+    console.log('[Service Worker] Install');
+    
+});
+

+ 15 - 0
public/BeizhongshijiePc/StreamingAssets/aa/AddressablesLink/link.xml

@@ -0,0 +1,15 @@
+<linker>
+  <assembly fullname="Unity.Addressables, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
+    <type fullname="UnityEngine.AddressableAssets.Addressables" preserve="all" />
+  </assembly>
+  <assembly fullname="Unity.ResourceManager, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all">
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.AssetBundleProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.BundledAssetProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.InstanceProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.LegacyResourcesProvider" preserve="all" />
+    <type fullname="UnityEngine.ResourceManagement.ResourceProviders.SceneProvider" preserve="all" />
+  </assembly>
+  <assembly fullname="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
+    <type fullname="UnityEngine.Texture2D" preserve="all" />
+  </assembly>
+</linker>

BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/0c7d9fe059db2ee83f04ec4894355538.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/0cfa26d92f2aa9ec3f6b127e37e19928.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/12570a22233b8e31ae27644dbcfe8e98.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/1f4f6856c5caec206fca42ebaaa7919f.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/1fdbed01508125f1bbe8926c09ca0d2e.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/2c352ba22942b872b574485b0b4384da.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/2e10bd011dcfe194a54037622fdea2d9.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/3b9adc28bc1734efbd67fd7d207cd380.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/70dd350ae0c35589e9c5059d2523eeec.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/7adf775361ca6e72918ffddb174b07ab.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/84c50e06568f07e196412fa1bf98bee4.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/9cf96dc4528eac0215c219b70cbcf4d4.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/d078ced9a95dca98f3830330be5ace9c.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/d1c8a5b8339fe0f585144eb59bb093c4.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/de801cfbd560353b0e517bed99a133b6.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/e3ff228125d82f0307b9fcd91d17330c.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/ed5b1b75119bd2126a9d609a18d08a78.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f1791d0a6f5c2c029b608731c7e720bd.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f495ebcc1be471e80b1eeefb3b34f5e0.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f63c2a07093bd541f0c1f2104a82313d.bundle


BIN
public/BeizhongshijiePc/StreamingAssets/aa/WebGL/f9e6c2827344ae404bed18f5b511740d.bundle


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 0
public/BeizhongshijiePc/StreamingAssets/aa/catalog.json


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 0
public/BeizhongshijiePc/StreamingAssets/aa/settings.json


BIN
public/BeizhongshijiePc/TemplateData/favicon.ico


BIN
public/BeizhongshijiePc/TemplateData/progress-bar-empty-dark.png


BIN
public/BeizhongshijiePc/TemplateData/progress-bar-empty-light.png


BIN
public/BeizhongshijiePc/TemplateData/progress-bar-full-dark.png


BIN
public/BeizhongshijiePc/TemplateData/progress-bar-full-light.png


+ 50 - 0
public/BeizhongshijiePc/TemplateData/style.css

@@ -0,0 +1,50 @@
+html {}
+body { padding: 0; margin: 0 }
+#unity-container { position: fixed; width: 100%; height: 100%; }
+#unity-canvas { width: 100%; height: 100%; background:  url('bg.jpg') no-repeat center; background-size: cover; }
+#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
+#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
+#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
+#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
+
+@media all and (orientation: landscape) {
+    .landscape {
+        transform: rotate(0deg);
+        width: 100vw;
+        width: 100dvw;
+        height: 100vh;
+        height: 100dvh;
+        top: 0;
+        left: 0;
+    }
+    .portrait {
+        transform: rotate(90deg);
+        transform-origin: left top;
+        width: 100vh;
+        width: 100dvh;
+        height: 100vw;
+        height: 100dvw;
+        left: 100%;
+    }
+}
+
+@media all and (orientation: portrait) {
+    .landscape {
+        transform: rotate(90deg);
+        transform-origin: left top;
+        width: 100vh;
+        width: 100dvh;
+        height: 100vw;
+        height: 100dvw;
+        left: 100%;
+    }
+    .portrait {
+        transform: rotate(0deg);
+        width: 100vw;
+        width: 100dvw;
+        height: 100vh;
+        height: 100dvh;
+        top: 0;
+        left: 0;
+    }
+}

BIN
public/BeizhongshijiePc/TemplateData/webmemd-icon.png


+ 114 - 0
public/BeizhongshijiePc/index.html

@@ -0,0 +1,114 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title>Chenzhebei-ShanxiMuseum</title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+    <link rel="stylesheet" href="TemplateData/style.css">
+    <script src="./unityExport.js"></script>
+</head>
+<body>
+    <div id="unity-container">
+        <canvas id="unity-canvas" width=960 height=600 tabindex="-1"></canvas>
+        <div id="unity-loading-bar">
+            <div id="unity-progress-bar-empty">
+                <div id="unity-progress-bar-full"></div>
+            </div>
+        </div>
+        <div id="unity-warning"></div>
+    </div>
+</body>
+<script>
+
+    var container = document.querySelector("#unity-container");
+    var canvas = document.querySelector("#unity-canvas");
+    var loadingBar = document.querySelector("#unity-loading-bar");
+    var progressBarFull = document.querySelector("#unity-progress-bar-full");
+    var warningBanner = document.querySelector("#unity-warning");
+
+    // Shows a temporary message banner/ribbon for a few seconds, or
+    // a permanent error message on top of the canvas if type=='error'.
+    // If type=='warning', a yellow highlight color is used.
+    // Modify or remove this function to customize the visually presented
+    // way that non-critical warnings and error messages are presented to the
+    // user.
+    function unityShowBanner(msg, type) {
+        function updateBannerVisibility() {
+            warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
+        }
+        var div = document.createElement('div');
+        div.innerHTML = msg;
+        warningBanner.appendChild(div);
+        if (type == 'error') div.style = 'background: red; padding: 10px;';
+        else {
+            if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
+            setTimeout(function () {
+                warningBanner.removeChild(div);
+                updateBannerVisibility();
+            }, 5000);
+        }
+        updateBannerVisibility();
+    }
+
+    var buildUrl = "Build";
+    var loaderUrl = buildUrl + "/Build.loader.js";
+    var config = {
+        dataUrl: buildUrl + "/Build.data.unityweb",
+        frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
+        codeUrl: buildUrl + "/Build.wasm.unityweb",
+        streamingAssetsUrl: "StreamingAssets",
+        devicePixelRatio: 2,
+        companyName: "FDage",
+        productName: "Chenzhebei-ShanxiMuseum",
+        productVersion: "0.1",
+        showBanner: unityShowBanner,
+    };
+
+    // By default Unity keeps WebGL canvas render target size matched with
+    // the DOM size of the canvas element (scaled by window.devicePixelRatio)
+    // Set this to false if you want to decouple this synchronization from
+    // happening inside the engine, and you would instead like to size up
+    // the canvas DOM size and WebGL render target sizes yourself.
+    // config.matchWebGLToCanvasSize = false;
+
+    if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
+        // Mobile device style: fill the whole browser client area with the game canvas:
+        var meta = document.createElement('meta');
+        meta.name = 'viewport';
+        meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
+        document.getElementsByTagName('head')[0].appendChild(meta);
+        document.querySelector("#unity-container").className = "unity-mobile";
+        canvas.className = "unity-mobile";
+
+        // To lower canvas resolution on mobile devices to gain some
+        // performance, uncomment the following line:
+        // config.devicePixelRatio = 1;
+    }
+
+
+
+loadingBar.style.display = "block";
+    var script = document.createElement("script");
+    script.src = loaderUrl;
+    script.onload = () => {
+        createUnityInstance(canvas, config, (progress) => {
+            if (window.parent && window.parent !== window) {
+                window.parent.unityLoading(progress);
+            }
+            progressBarFull.style.width = 100 * progress + "%";
+        }).then((unityInstance) => {
+            loadingBar.style.display = "none";
+            window.unityInstance = unityInstance;
+
+            if (window.parent && window.parent !== window) {
+                window.parent.unityLoading(1);
+            }
+        }).catch((message) => {
+            alert(message);
+        });
+    };
+    document.body.appendChild(script);
+</script>
+
+</html>

+ 111 - 0
public/BeizhongshijiePc/main.html

@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Chenzhebei-ShanxiMuseum</title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+      <style>
+        * {
+          margin: 0;
+          padding: 0;
+          box-sizing: border-box;
+        }
+
+        body {
+          overflow: hidden;
+        }
+
+        .root {
+          position: absolute;
+        }
+
+        iframe {
+          width: 100%;
+          height: 100%;
+        }
+
+        @media all and (orientation: landscape) {
+          .landscape {
+            transform: rotate(0deg);
+            width: 100vw;
+            width: 100dvw;
+            height: 100vh;
+            height: 100dvh;
+            top: 0;
+            left: 0;
+          }
+          .portrait {
+            transform: rotate(90deg);
+            transform-origin: left top;
+            width: 100vh;
+            width: 100dvh;
+            height: 100vw;
+            height: 100dvw;
+            left: 100%;
+          }
+        }
+        
+        @media all and (orientation: portrait) {
+          .landscape {
+            transform: rotate(90deg);
+            transform-origin: left top;
+            width: 100vh;
+            width: 100dvh;
+            height: 100vw;
+            height: 100dvw;
+            left: 100%;
+          }
+          .portrait {
+            transform: rotate(0deg);
+            width: 100vw;
+            width: 100dvw;
+            height: 100vh;
+            height: 100dvh;
+            top: 0;
+            left: 0;
+          }
+        }
+      </style>
+  </head>
+  <body>
+    <div class="root">
+      <iframe
+        id="main"
+        frameborder="0">
+      </iframe>
+    </div>
+  </body>
+  <script>
+    const rootDom = document.querySelector('.root')
+    const iframe = document.querySelector('#main')
+    let isPortrait = false;
+
+    function internal_ChangeViewType(portrait){
+      if(portrait){
+        rootDom.classList.remove('landscape');
+        rootDom.classList.add('portrait');
+      }else{
+        rootDom.classList.add('landscape');
+        rootDom.classList.remove('portrait');
+      }
+    }
+    
+    window.changeViewType = function(landscape){
+      if (isPortrait !== landscape){
+        isPortrait = landscape;
+        internal_ChangeViewType(landscape);
+      }
+    }
+    internal_ChangeViewType(isPortrait);
+    
+    window.onUnityClickBack = function () {
+        if (window.parent && window.parent !== window) {
+            window.parent.onUnityClickBack();
+        }
+    }
+    
+    iframe.src = "./main.html"
+  </script>
+</html>

+ 6 - 0
public/BeizhongshijiePc/unityExport.js

@@ -0,0 +1,6 @@
+//碑中世界 - 点击主要热点时触发
+window.onClickMainHotspot = function(hotspotName){
+    if (window.parent && window.parent !== window) {
+        window.parent.onClickMainHotspot(hotspotName);
+    }
+}

BIN
public/beiyingzhihui/Build/Build.data.unityweb


BIN
public/beiyingzhihui/Build/Build.framework.js.unityweb


BIN
public/beiyingzhihui/Build/Build.wasm.unityweb


BIN
public/beiyingzhihui/TemplateData/img_bg.webp


BIN
public/beiyingzhihui/TemplateData/img_postcard.webp


+ 6 - 16
public/beiyingzhihui/index.css

@@ -9,7 +9,7 @@
     pointer-events: none;
 }
 
-.save-image-backgroup {
+.save-image-background {
     opacity: 0;
     pointer-events: none;
 }
@@ -26,11 +26,7 @@
     align-items: center;
 }
 
-#unity-loading-paper {
-    position: absolute;
-}
-
-#unity-loading-brush {
+#unity-loading-postcard {
     position: absolute;
 }
 
@@ -41,13 +37,6 @@
     height: 100%;
 }
 
-#unity-loading-video {
-    position: absolute;
-    object-fit: contain;
-    width: 100%;
-    height: 100%;
-}
-
 #unity-loading-progress{
     position: absolute;
     width: 30vh;
@@ -55,9 +44,10 @@
 }
 
 #unity-loading-progress-text{
-    position: relative;
-    left: 5px;
-    top: -9px;
+    position: absolute;
+    right: 8vh;
+    bottom: 5vh;
+    font-size: 5vh;
     z-index: 10;
     color: #fff;
 }

+ 27 - 46
public/beiyingzhihui/index.html

@@ -14,6 +14,8 @@
       <canvas id="unity-canvas" tabindex="-1"></canvas>
 
       <div id="unity-loading">
+        <img id="unity-loading-bg" src="./TemplateData/img_bg.webp" alt="" />
+        <img id="unity-loading-postcard" src="./TemplateData/img_postcard.webp" alt="" />
         <span id="unity-loading-progress-text"></span>
       </div>
       
@@ -21,7 +23,7 @@
     </div>
 
     <div class="save-image-block">
-      <img src="" class="save-image-backgroup" alt="">
+      <img src="" class="save-image-background" alt="">
     </div>
     <script>
 
@@ -84,6 +86,8 @@
 
       let isShowLoading = true;
       const loadingDom = document.querySelector('#unity-loading');
+      const loadingBgDom = document.querySelector('#unity-loading-bg');
+      const loadingPostcard = document.querySelector('#unity-loading-postcard');
       const progressText = document.querySelector('#unity-loading-progress-text');
 
       progressText.innerHTML = "0%";
@@ -92,10 +96,14 @@
         if (opacity > 0) {
           setTimeout(function() {
             opacity = opacity - 0.05;
+
+            loadingBgDom.style.opacity = opacity;
+            loadingPostcard.style.opacity = opacity;
+            progressText.style.opacity = opacity;
             fadeOutVideo();
           }, 20)
         } else {
-          window.removeEventListener('resize', refreshLoadingPaperBlockSize);
+          window.removeEventListener('resize', refreshLoadingBlockSize);
           loadingDom.remove();
         }
       }
@@ -114,59 +122,32 @@
       };
       document.body.appendChild(script);
 
-      function refreshLoadingPaperBlockSize() {
+      function refreshLoadingBlockSize() {
         // Unity画布宽高比
-        const unityCanvasWidth = 1515;
-        const unityCanvasHeight = 780;
-
-        const unityPanelWidth = 1150;
-        const unityPanelHeight = 740;
-        const unityPanelOffsetY = 0;
-        const unityPanelOffsetX = 0;
-
-        const unityPanelBrushWidth = 462;
-        const unityPanelBrushHeight = 608;
-        const unityPanelBrushOffsetY = -115;
-        const unityPanelBrushOffsetX = 555;
-        
-        const innerWidth = window.innerWidth;
-        const innerHeight = window.innerHeight;
-
-        const scale = (unityCanvasWidth / unityPanelHeight) >
-        (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvasHeight);
-
-        loadingPaperDom.style.width = (unityPanelWidth * scale) + 'px';
-        loadingPaperDom.style.height = (unityPanelHeight * scale) + 'px';
-        loadingBrushDom.style.width = (unityPanelBrushWidth * scale) + 'px';
-        loadingBrushDom.style.height = (unityPanelBrushHeight * scale) + 'px';
+        let unityCanvasWidth = 1515;
+        let unityCanvasHeight = 780;
+        let unityPanelWidth = 1150;
+        let unityPanelHeight = 740;
+        let unityPanelOffsetY = 0;
 
-        if (unityPanelOffsetY > 0) {
-          loadingPaperDom.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
-        } else {
-          loadingPaperDom.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
-        }
+        let innerWidth = window.innerWidth;
+        let innerHeight = window.innerHeight;
 
-        if (unityPanelOffsetX > 0) {
-          loadingPaperDom.style.marginLeft = (unityPanelOffsetX * scale * 2) + 'px';
-        } else {
-          loadingPaperDom.style.marginRight = (-unityPanelOffsetX * scale * 2) + 'px';
-        }
+        let scale = (unityCanvasWidth / unityPanelHeight) >
+        (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvasHeight);
 
-        if (unityPanelBrushOffsetY > 0) {
-          loadingBrushDom.style.marginTop = (unityPanelBrushOffsetY * scale * 2) + 'px';
-        } else {
-          loadingBrushDom.style.marginBottom = (-unityPanelBrushOffsetY * scale * 2) + 'px';
-        }
+        loadingPostcard.style.width = (unityPanelWidth * scale) + 'px';
+        loadingPostcard.style.height = (unityPanelHeight * scale) + 'px';
 
-        if (unityPanelBrushOffsetX > 0) {
-          loadingBrushDom.style.marginLeft = (unityPanelBrushOffsetX * scale * 2) + 'px';
+        if (unityPanelOffsetY > 0){
+          loadingPostcard.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
         } else {
-          loadingBrushDom.style.marginRight = (-unityPanelBrushOffsetX * scale * 2) + 'px';
+          loadingPostcard.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
         }
       }
 
-      refreshLoadingPaperBlockSize();
-      window.addEventListener('resize', refreshLoadingPaperBlockSize);
+      refreshLoadingBlockSize();
+      window.addEventListener('resize', refreshLoadingBlockSize);
     </script>
     <script src="./index.js"></script>
   </body>

+ 2 - 2
public/beiyingzhihui/index.js

@@ -32,7 +32,7 @@ function refreshShareBlockSize() {
 
     // Unity画布宽高比
     let unityCanvasWidth = 1515;
-    let unityCanvaslHeight = 780;
+    let unityCanvasHeight = 780;
     let unityPanelWidth = 1150;
     let unityPanelHeight = 740;
     let unityPanelOffsetY = 0;
@@ -41,7 +41,7 @@ function refreshShareBlockSize() {
     let innerHeight = window.innerHeight;
 
     let scale = (unityCanvasWidth / unityPanelHeight) >
-    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvaslHeight);
+    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvasHeight);
 
     saveDom.style.width = (unityPanelWidth * scale) + 'px';
     saveDom.style.height = (unityPanelHeight * scale) + 'px';

BIN
public/beiyingzhihuiPc/Build/Build.data.unityweb


BIN
public/beiyingzhihuiPc/Build/Build.framework.js.unityweb


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 0
public/beiyingzhihuiPc/Build/Build.loader.js


BIN
public/beiyingzhihuiPc/Build/Build.wasm.unityweb


+ 6 - 0
public/beiyingzhihuiPc/ServiceWorker.js

@@ -0,0 +1,6 @@
+
+self.addEventListener('install', function (e) {
+    console.log('[Service Worker] Install');
+    
+});
+

BIN
public/beiyingzhihuiPc/TemplateData/favicon.ico


BIN
public/beiyingzhihuiPc/TemplateData/img_bg.webp


BIN
public/beiyingzhihuiPc/TemplateData/img_postcard.webp


BIN
public/beiyingzhihuiPc/TemplateData/progress-bar-empty-dark.png


BIN
public/beiyingzhihuiPc/TemplateData/progress-bar-empty-light.png


BIN
public/beiyingzhihuiPc/TemplateData/progress-bar-full-dark.png


BIN
public/beiyingzhihuiPc/TemplateData/progress-bar-full-light.png


+ 5 - 0
public/beiyingzhihuiPc/TemplateData/style.css

@@ -0,0 +1,5 @@
+body { padding: 0; margin: 0 }
+#unity-container { position: fixed; width: 100%; height: 100%; }
+#unity-canvas { width: 100%; height: 100%; background: #231F20 }
+#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
+#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }

+ 53 - 0
public/beiyingzhihuiPc/index.css

@@ -0,0 +1,53 @@
+.save-image-block {
+    position: fixed;
+    width: 100%;
+    height: 100%;
+
+    display: flex;
+    justify-content: center;
+    align-items: center;
+    pointer-events: none;
+}
+
+.save-image-background {
+    opacity: 0;
+    pointer-events: none;
+}
+
+#unity-loading {
+    position: fixed;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%;
+
+    display: flex;
+    justify-content: center;
+    align-items: center;
+}
+
+#unity-loading-postcard {
+    position: absolute;
+}
+
+#unity-loading-bg {
+    position: absolute;
+    object-fit: cover;
+    width: 100%;
+    height: 100%;
+}
+
+#unity-loading-progress{
+    position: absolute;
+    width: 30vh;
+    height: 30vh;
+}
+
+#unity-loading-progress-text{
+    position: absolute;
+    right: 8vh;
+    bottom: 5vh;
+    font-size: 5vh;
+    z-index: 10;
+    color: #fff;
+}

+ 154 - 0
public/beiyingzhihuiPc/index.html

@@ -0,0 +1,154 @@
+<!DOCTYPE html>
+<html lang="en-us">
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <title></title>
+    <link rel="shortcut icon" href="TemplateData/favicon.ico">
+    <link rel="stylesheet" href="TemplateData/style.css">
+    <link rel="manifest" href="manifest.webmanifest">
+    <link rel="stylesheet" href="./index.css">
+  </head>
+  <body>
+    <div id="unity-container">
+      <canvas id="unity-canvas" tabindex="-1"></canvas>
+
+      <div id="unity-loading">
+        <img id="unity-loading-bg" src="./TemplateData/img_bg.webp" alt="" />
+        <img id="unity-loading-postcard" src="./TemplateData/img_postcard.webp" alt="" />
+        <span id="unity-loading-progress-text"></span>
+      </div>
+      
+      <div id="unity-warning"> </div>
+    </div>
+
+    <div class="save-image-block">
+      <img src="" class="save-image-background" alt="">
+    </div>
+    <script>
+
+      let container = document.querySelector("#unity-container");
+      let canvas = document.querySelector("#unity-canvas");
+      let warningBanner = document.querySelector("#unity-warning");
+
+      // Shows a temporary message banner/ribbon for a few seconds, or
+      // a permanent error message on top of the canvas if type=='error'.
+      // If type=='warning', a yellow highlight color is used.
+      // Modify or remove this function to customize the visually presented
+      // way that non-critical warnings and error messages are presented to the
+      // user.
+      function unityShowBanner(msg, type) {
+        function updateBannerVisibility() {
+          warningBanner.style.display = warningBanner.children.length ? 'block' : 'none';
+        }
+        let div = document.createElement('div');
+        div.innerHTML = msg;
+        warningBanner.appendChild(div);
+        if (type == 'error') div.style = 'background: red; padding: 10px;';
+        else {
+          if (type == 'warning') div.style = 'background: yellow; padding: 10px;';
+          setTimeout(function() {
+            warningBanner.removeChild(div);
+            updateBannerVisibility();
+          }, 5000);
+        }
+        updateBannerVisibility();
+      }
+
+      let buildUrl = "Build";
+      let loaderUrl = buildUrl + "/Build.loader.js";
+      let config = {
+        dataUrl: buildUrl + "/Build.data.unityweb",
+        frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
+        codeUrl: buildUrl + "/Build.wasm.unityweb",
+        streamingAssetsUrl: "StreamingAssets",
+        companyName: "FDage",
+        productName: "Chenzhebei-ShanxiMuseum",
+        productVersion: "0.1.0",
+        showBanner: unityShowBanner,
+      };
+
+      // By default Unity keeps WebGL canvas render target size matched with
+      // the DOM size of the canvas element (scaled by window.devicePixelRatio)
+      // Set this to false if you want to decouple this synchronization from
+      // happening inside the engine, and you would instead like to size up
+      // the canvas DOM size and WebGL render target sizes yourself.
+      // config.matchWebGLToCanvasSize = false;
+
+      if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
+        // Mobile device style: fill the whole browser client area with the game canvas:
+        let meta = document.createElement('meta');
+        meta.name = 'viewport';
+        meta.content = 'width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, shrink-to-fit=yes';
+        document.getElementsByTagName('head')[0].appendChild(meta);
+      }
+
+
+      let isShowLoading = true;
+      const loadingDom = document.querySelector('#unity-loading');
+      const loadingBgDom = document.querySelector('#unity-loading-bg');
+      const loadingPostcard = document.querySelector('#unity-loading-postcard');
+      const progressText = document.querySelector('#unity-loading-progress-text');
+
+      progressText.innerHTML = "0%";
+      let opacity = 1;
+      function fadeOutVideo(){
+        if (opacity > 0) {
+          setTimeout(function() {
+            opacity = opacity - 0.05;
+
+            loadingBgDom.style.opacity = opacity;
+            loadingPostcard.style.opacity = opacity;
+            progressText.style.opacity = opacity;
+            fadeOutVideo();
+          }, 20)
+        } else {
+          window.removeEventListener('resize', refreshLoadingBlockSize);
+          loadingDom.remove();
+        }
+      }
+
+      let script = document.createElement("script");
+      script.src = loaderUrl;
+      script.onload = () => {
+        createUnityInstance(canvas, config, (progress) => {
+          progressText.innerHTML = parseInt(progress * 100) + "%";
+        }).then((unityInstance) => {
+          window.unityInstance = unityInstance;
+          fadeOutVideo();
+        }).catch((message) => {
+          alert(message);
+        });
+      };
+      document.body.appendChild(script);
+
+      function refreshLoadingBlockSize() {
+        // Unity画布宽高比
+        let unityCanvasWidth = 1515;
+        let unityCanvasHeight = 780;
+        let unityPanelWidth = 1150;
+        let unityPanelHeight = 740;
+        let unityPanelOffsetY = 0;
+
+        let innerWidth = window.innerWidth;
+        let innerHeight = window.innerHeight;
+
+        let scale = (unityCanvasWidth / unityPanelHeight) >
+        (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvasHeight);
+
+        loadingPostcard.style.width = (unityPanelWidth * scale) + 'px';
+        loadingPostcard.style.height = (unityPanelHeight * scale) + 'px';
+
+        if (unityPanelOffsetY > 0){
+          loadingPostcard.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
+        } else {
+          loadingPostcard.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
+        }
+      }
+
+      refreshLoadingBlockSize();
+      window.addEventListener('resize', refreshLoadingBlockSize);
+    </script>
+    <script src="./index.js"></script>
+  </body>
+</html>

+ 58 - 0
public/beiyingzhihuiPc/index.js

@@ -0,0 +1,58 @@
+const saveDom = document.querySelector('.save-image-backgroup');
+let isShowSaveDom = false;
+
+window.onDownload = function (base64string) {
+    if (window.isMobile()){
+        saveDom.src = 'data:image/png;base64,' + base64string;
+        saveDom.style.pointerEvents = 'auto';
+        isShowSaveDom = true;
+        refreshShareBlockSize();
+    } else {
+        let link = document.createElement('a');
+        link.href = 'data:image/png;base64,' + base64string;
+        link.download = 'image';
+        link.click();
+    }
+}
+
+window.onCancelDownload = function() {
+    if (isShowSaveDom){
+        saveDom.src = '';
+        saveDom.style.pointerEvents = 'none';
+        isShowSaveDom = false;
+    }
+}
+
+window.isMobile = function () {
+    return /(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i.test(navigator.userAgent);
+}
+
+
+function refreshShareBlockSize() {
+
+    // Unity画布宽高比
+    let unityCanvasWidth = 1515;
+    let unityCanvasHeight = 780;
+    let unityPanelWidth = 1150;
+    let unityPanelHeight = 740;
+    let unityPanelOffsetY = 0;
+
+    let innerWidth = window.innerWidth;
+    let innerHeight = window.innerHeight;
+
+    let scale = (unityCanvasWidth / unityPanelHeight) >
+    (innerWidth / innerHeight) ? (innerWidth / unityCanvasWidth) : (innerHeight / unityCanvasHeight);
+
+    saveDom.style.width = (unityPanelWidth * scale) + 'px';
+    saveDom.style.height = (unityPanelHeight * scale) + 'px';
+
+    if (unityPanelOffsetY > 0){
+        saveDom.style.marginTop = (unityPanelOffsetY * scale * 2) + 'px';
+    } else {
+        saveDom.style.marginBottom = (-unityPanelOffsetY * scale * 2) + 'px';
+    }
+}
+
+window.addEventListener('resize', ()=>{
+    if (isShowSaveDom) refreshShareBlockSize();
+});

+ 15 - 0
public/beiyingzhihuiPc/manifest.webmanifest

@@ -0,0 +1,15 @@
+{
+    "name": {{{ JSON.stringify(PRODUCT_NAME) }}},
+    "short_name": {{{ JSON.stringify(PRODUCT_NAME) }}},
+    "start_url": "index.html",
+    "display": "fullscreen",
+    "background_color": "{{{ BACKGROUND_COLOR }}}",
+    "theme_color": "{{{  SPLASH_SCREEN_STYLE.toLowerCase() === 'light' ? '#fff' : '#000' }}}",
+    "description": {{{ JSON.stringify(PRODUCT_DESCRIPTION) }}},
+    "icons": [{
+      "src": "TemplateData/icons/unity-logo-{{{ SPLASH_SCREEN_STYLE.toLowerCase() }}}.png",
+      "sizes": "144x144",
+      "type": "image/png",
+      "purpose": "any maskable"
+    }]
+  }

BIN
src/assets/img/A2_quanwenEn.png


BIN
src/assets/img/A2_wenwuEn.png


BIN
src/assets/img/titleLogoEn.png


+ 6 - 0
src/pages/A0base/data.ts

@@ -0,0 +1,6 @@
+export const unityDomShow = (val: boolean) => {
+  const dom = document.querySelector('#modalIframe') as HTMLIFrameElement
+  if (dom) {
+    dom.style.display = val ? 'block' : 'none'
+  }
+}

+ 1 - 1
src/pages/A0base/index.module.scss

@@ -239,7 +239,7 @@
           word-wrap: break-word;
           line-height: 16px;
           display: flex;
-          padding: 0 10px 0 35px;
+          padding: 0 10px 0 18px;
           align-items: center;
           justify-content: center;
         }

+ 16 - 13
src/pages/A0base/index.tsx

@@ -1,30 +1,33 @@
-import React, { useState } from 'react'
+import React, { useEffect, useState } from 'react'
 import styles from './index.module.scss'
 import classNames from 'classnames'
 import { useSelector } from 'react-redux'
 import { RootState } from '@/store'
 import { Toast } from 'antd-mobile'
+import { unityDomShow } from './data'
 
 function A0base() {
-
   // 进页面设置unity显示
-  
+  useEffect(() => {
+    unityDomShow(true)
+  }, [])
 
   const { myData, myLangue } = useSelector((state: RootState) => state.A0Layout)
 
   const [currentBase, setCurrentBase] = useState(0)
+
   const [isOpenInteract, setIsOpenInteract] = useState(false)
 
   const goto = (e: React.MouseEvent, path: string) => {
+    if (path !== '#/yblm') unityDomShow(false)
+
     e.preventDefault()
     e.stopPropagation()
     window.location.replace(path)
   }
 
   return (
-    <div
-      className={classNames(myLangue === 'ZH' ? '' : styles.A0baseEn, styles.A0base)}
-    >
+    <div className={classNames(myLangue === 'ZH' ? '' : styles.A0baseEn, styles.A0base)}>
       <div className='A0baseContainner'>
         <div className={`content`}>
           <div className='title myFont'>{myData.baseInfo[currentBase].title}</div>
@@ -59,8 +62,7 @@ function A0base() {
       <div className='interact'>
         <div className={`inter_content ${isOpenInteract ? 'inter_content_active' : ''}`}>
           <div className='inter' onClick={() => window.location.replace('#/byzh')}>
-            {myLangue==='EN'?'Stele Shadow Intelligence Mapping':'碑影智绘'}
-            
+            {myLangue === 'EN' ? 'Stele Shadow Intelligence Mapping' : '碑影智绘'}
           </div>
           <div
             className='inter'
@@ -70,8 +72,7 @@ function A0base() {
               })
             }}
           >
-            {myLangue==='EN'?'Exhibition Catalogue':'展览图谱'}
-            
+            {myLangue === 'EN' ? 'Exhibition Catalogue' : '展览图谱'}
           </div>
           <div
             className='inter'
@@ -81,13 +82,15 @@ function A0base() {
               })
             }}
           >
-            {myLangue==='EN'?'AI Question Answering':'AI问答'}
-            
+            {myLangue === 'EN' ? 'AI Question Answering' : 'AI问答'}
           </div>
         </div>
 
         <div className='icon' onClick={() => setIsOpenInteract(!isOpenInteract)}>
-          <img src={require(`@/assets/img/interaction${myLangue==='EN'?'En':''}.png`)} alt='' />
+          <img
+            src={require(`@/assets/img/interaction${myLangue === 'EN' ? 'En' : ''}.png`)}
+            alt=''
+          />
         </div>
       </div>
 

+ 1 - 1
src/pages/A1home2/index.tsx

@@ -63,7 +63,7 @@ function A1home() {
       // 删除第一个动画和封面图
       moveImg.current.destroy()
       domDelOwnFu('.A1baseVideo')
-      domDelOwnFu('.homeImg')
+      // domDelOwnFu('.homeImg')
       setLoadOk(true)
       // 播放过场视频
       if (videoRefLast.current) videoRefLast.current.play()

+ 27 - 20
src/pages/A2yblm/components/Intro/index.module.scss

@@ -5,18 +5,21 @@
   flex-direction: column;
   gap: 10px;
   padding: 0 20px;
-  padding-top: 40px;
   background: url(../../../../assets/img/intro_bg.png) no-repeat center center;
   background-size: 100% 100%;
-
+  padding-top: 30px;
   overflow-y: auto;
 
+  &::-webkit-scrollbar {
+    width: 0px;
+  }
+
   :global {
     .titleLogo {
-      width: 100px;
-      height: 50px;
+      width: 120px;
+      height: 60px;
 
-      & > img {
+      &>img {
         height: 100%;
         object-fit: contain;
       }
@@ -29,14 +32,19 @@
       gap: 10px;
       color: #fff;
 
+      &:last-child {
+        margin-bottom: 15px;
+      }
+
       .label {
         position: relative;
         height: fit-content;
-        font-size: 12px;
+        font-size: 16px;
         font-weight: bold;
         white-space: nowrap;
         width: 40px;
         text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
+
         &::after {
           content: '';
           width: 28px;
@@ -54,32 +62,31 @@
       .content {
         width: calc(100% - 40px);
         color: rgba(255, 255, 255, 1);
-        font-size: 12px;
+        font-size: 16px;
+        text-align: justify;
       }
     }
   }
 }
 
-// --------移动端-----
-.IntroMo {
-  padding-top: 30px;
+// --------英文版-----
+.IntroEn {
 
   :global {
-    .titleLogo {
-      width: 120px;
-      height: 60px;
+    .titleLogo{
+      width: auto;
+      height: 24px;
     }
-
     .info {
-      &:last-child {
-        margin-bottom: 15px;
-      }
       .label {
-        font-size: 16px;
+        width: 84px;
+        text-align: center;
       }
+
       .content {
-        font-size: 16px;
+        width: calc(100% - 84px);
+        text-align: start;
       }
     }
   }
-}
+}

+ 3 - 4
src/pages/A2yblm/components/Intro/index.tsx

@@ -1,18 +1,17 @@
 import React from "react";
 import styles from "./index.module.scss";
-import { isPc } from "@/utils/http";
 import classNames from 'classnames'
 import { useSelector } from "react-redux";
 import { RootState } from "@/store";
 
 function Intro() {
 
-   const {myData} = useSelector((state: RootState) => state.A0Layout)
+   const {myData,myLangue} = useSelector((state: RootState) => state.A0Layout)
 
   return (
-    <div className={classNames(styles.Intro,isPc?'':styles.IntroMo)}>
+    <div className={classNames(styles.Intro,myLangue==='ZH'?'':styles.IntroEn)}>
       <div className="titleLogo">
-        <img src={require("@/assets/img/titleLogo.png")} alt="" />
+        <img src={require(`@/assets/img/titleLogo${myLangue==='EN'?'En':''}.png`)} alt="" />
       </div>
       {myData.introInfo.map((item, index) => (
         <div className="info" key={index}>

+ 12 - 8
src/pages/A2yblm/index.module.scss

@@ -306,17 +306,21 @@
   }
 }
 
-// ---------移动端
+// ---------英文版
 .A2yblmEn {
   :global {
-    .info {
-      .label {
-        width: 84px;
-        text-align: center;
-      }
+    .wenwu {
+      width: 80px;
+      height: 80px;
+    }
 
-      .content {
-        width: calc(100% - 84px);
+    .A2_tabBar {
+      top: 48%;
+      .tab {
+        word-break: break-all;
+        padding: 0 6px;
+        width: 70px;
+        height: 70px;
       }
     }
   }

+ 0 - 0
src/pages/A2yblm/index.tsx


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio