Browse Source

Merge branch 'master' of http://192.168.0.115:3000/lanxin/Chengzhebei

lanxin 2 tháng trước cách đây
mục cha
commit
a9e870058c
100 tập tin đã thay đổi với 647 bổ sung68 xóa
  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/myData/ybwx.ts
  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
      public/myData/home.mp4
  91. BIN
      public/myData/home.ts
  92. 2 2
      public/myData/myDataEN.js
  93. BIN
      public/myData/ybwx.mp4
  94. BIN
      src/assets/img/A2_quanwenEn.png
  95. BIN
      src/assets/img/A2_wenwuEn.png
  96. BIN
      src/assets/img/btn_backEn.png
  97. BIN
      src/assets/img/interactionEn.png
  98. BIN
      src/assets/img/titleLogoEn.png
  99. 12 1
      src/assets/styles/base.css
  100. 0 0
      src/assets/styles/base.less

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


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
public/Beizhongshijie/StreamingAssets/aa/catalog.json


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


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


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 0
public/BeizhongshijiePc/StreamingAssets/aa/catalog.json


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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;
     pointer-events: none;
 }
 }
 
 
-.save-image-backgroup {
+.save-image-background {
     opacity: 0;
     opacity: 0;
     pointer-events: none;
     pointer-events: none;
 }
 }
@@ -26,11 +26,7 @@
     align-items: center;
     align-items: center;
 }
 }
 
 
-#unity-loading-paper {
-    position: absolute;
-}
-
-#unity-loading-brush {
+#unity-loading-postcard {
     position: absolute;
     position: absolute;
 }
 }
 
 
@@ -41,13 +37,6 @@
     height: 100%;
     height: 100%;
 }
 }
 
 
-#unity-loading-video {
-    position: absolute;
-    object-fit: contain;
-    width: 100%;
-    height: 100%;
-}
-
 #unity-loading-progress{
 #unity-loading-progress{
     position: absolute;
     position: absolute;
     width: 30vh;
     width: 30vh;
@@ -55,9 +44,10 @@
 }
 }
 
 
 #unity-loading-progress-text{
 #unity-loading-progress-text{
-    position: relative;
-    left: 5px;
-    top: -9px;
+    position: absolute;
+    right: 8vh;
+    bottom: 5vh;
+    font-size: 5vh;
     z-index: 10;
     z-index: 10;
     color: #fff;
     color: #fff;
 }
 }

+ 27 - 46
public/beiyingzhihui/index.html

@@ -14,6 +14,8 @@
       <canvas id="unity-canvas" tabindex="-1"></canvas>
       <canvas id="unity-canvas" tabindex="-1"></canvas>
 
 
       <div id="unity-loading">
       <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>
         <span id="unity-loading-progress-text"></span>
       </div>
       </div>
       
       
@@ -21,7 +23,7 @@
     </div>
     </div>
 
 
     <div class="save-image-block">
     <div class="save-image-block">
-      <img src="" class="save-image-backgroup" alt="">
+      <img src="" class="save-image-background" alt="">
     </div>
     </div>
     <script>
     <script>
 
 
@@ -84,6 +86,8 @@
 
 
       let isShowLoading = true;
       let isShowLoading = true;
       const loadingDom = document.querySelector('#unity-loading');
       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');
       const progressText = document.querySelector('#unity-loading-progress-text');
 
 
       progressText.innerHTML = "0%";
       progressText.innerHTML = "0%";
@@ -92,10 +96,14 @@
         if (opacity > 0) {
         if (opacity > 0) {
           setTimeout(function() {
           setTimeout(function() {
             opacity = opacity - 0.05;
             opacity = opacity - 0.05;
+
+            loadingBgDom.style.opacity = opacity;
+            loadingPostcard.style.opacity = opacity;
+            progressText.style.opacity = opacity;
             fadeOutVideo();
             fadeOutVideo();
           }, 20)
           }, 20)
         } else {
         } else {
-          window.removeEventListener('resize', refreshLoadingPaperBlockSize);
+          window.removeEventListener('resize', refreshLoadingBlockSize);
           loadingDom.remove();
           loadingDom.remove();
         }
         }
       }
       }
@@ -114,59 +122,32 @@
       };
       };
       document.body.appendChild(script);
       document.body.appendChild(script);
 
 
-      function refreshLoadingPaperBlockSize() {
+      function refreshLoadingBlockSize() {
         // Unity画布宽高比
         // 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 {
         } 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>
     <script src="./index.js"></script>
     <script src="./index.js"></script>
   </body>
   </body>

+ 2 - 2
public/beiyingzhihui/index.js

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

BIN
public/myData/ybwx.ts


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


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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
public/myData/home.mp4


BIN
public/myData/home.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 2
public/myData/myDataEN.js


BIN
public/myData/ybwx.mp4


BIN
src/assets/img/A2_quanwenEn.png


BIN
src/assets/img/A2_wenwuEn.png


BIN
src/assets/img/btn_backEn.png


BIN
src/assets/img/interactionEn.png


BIN
src/assets/img/titleLogoEn.png


+ 12 - 1
src/assets/styles/base.css

@@ -6,6 +6,11 @@
   -webkit-tap-highlight-color: transparent;
   -webkit-tap-highlight-color: transparent;
   font-family: 'SimHei', 'SimSun', 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
   font-family: 'SimHei', 'SimSun', 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
 }
 }
+video {
+  object-fit: cover;
+  width: 100%;
+  height: 100%;
+}
 /* 全局css变量 */
 /* 全局css变量 */
 :root {
 :root {
   --themeColor: #733c00;
   --themeColor: #733c00;
@@ -395,10 +400,16 @@ textarea {
 #root #modalIframe {
 #root #modalIframe {
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
-  border: none;
   position: fixed;
   position: fixed;
+  border: none;
   top: 0;
   top: 0;
   left: 0;
   left: 0;
+  backface-visibility: hidden;
+  -webkit-backface-visibility: hidden;
+  -webkit-transform: translateZ(0);
+  transform: translateZ(0);
+  background-color: transparent;
+  /* 确保背景透明 */
 }
 }
 .myFont {
 .myFont {
   font-family: 'SimSun' !important;
   font-family: 'SimSun' !important;

+ 0 - 0
src/assets/styles/base.less


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác