lanxin 3 дней назад
Родитель
Сommit
fbcc563d2c

BIN
scene/public/images/marker.png


BIN
scene/public/images/marker1.png


BIN
scene/public/images/reticule.png


BIN
scene/public/images/reticule1.png


+ 20 - 0
scene/src/pages/A1home/index.tsx

@@ -14,6 +14,26 @@ function A1home() {
       document.head.appendChild(script)
       script.onload = () => {
         setLodingJs(lodingJs + 1)
+        if (lodingJs === scriptArr.length - 1) {
+          const checkAndToggleVolume = () => {
+            const dom = document.querySelector('#volume a') as HTMLAnchorElement | null
+            if (dom) {
+              const img = dom.querySelector('img') as HTMLImageElement | null
+              if (img && img.src.includes('btn_on')) {
+                console.log('检测到静音状态,自动点击开启')
+                dom.click()
+              }
+            } else {
+              // 没找到就继续等
+              setTimeout(checkAndToggleVolume, 1000)
+            }
+          }
+
+          // 初始检查 + 每秒检查一次(最多等 30 秒)
+          checkAndToggleVolume()
+          const timer = setInterval(checkAndToggleVolume, 1000)
+          setTimeout(() => clearInterval(timer), 30000)
+        }
       }
     }
   }, [lodingJs])

+ 3 - 1
scene/src/pages/A2main/index.module.scss

@@ -47,7 +47,9 @@
           height: 48px;
         }
       }
-
+      #gui-modes-inside {
+        margin-left: 18px;
+      }
       //针对第一个按钮
       #play,
       #pause {

+ 3 - 2
scene/src/pages/A2main/index.tsx

@@ -111,7 +111,7 @@ function A2main() {
 
 
             <div id='gui-modes-map' className='ui-icon double active'>
-              <div data-original-title='全景漫游' id='gui-modes-inside' style={{ marginLeft: '18px' }} rel='tooltip'>
+              <div data-original-title='全景漫游' id='gui-modes-inside' rel='tooltip'>
                 <img className='icon icon-inside' src={`images/inside${state3d === 'panorama' ? '_active' : ''}.png`} alt='' />
                 {/* 鼠标移入 */}
                 <div className='hoveImg'>全景漫游</div>
@@ -276,7 +276,8 @@ function A2main() {
             <div className='prologue'>前言 <div></div> PROLOGUE</div>
             <div className='text text1'>
               古代简牍非常珍贵,是我们国家信史的重要实物佐证。作为先秦至魏晋时期的核心记忆载体,它们不仅是补史之阙的珍责文献,更是照见古人智慧的精神镜像。那些斑驳的墨迹如同时光的刻痕,以其真实的笔触再现古代社会的鲜活风貌,让多元一体的中华文明图景愈发清晰。
-              竹简虽微,大道存焉。本次展览以馆藏银雀山汉简为媒,融汇数字科技与人文研究,让沉寂的学术瑰宝重
+              <br />&emsp;&emsp;竹简虽微,大道存焉。本次展览以馆藏银雀山汉简为媒,融汇数字科技与人文研究,让沉寂的学术瑰宝重焕生机,使冷门“绝学”绽放时代华彩。在这里,每一道墨痕都是先民智慧的密码,每一枚简牍都在诉说永恒的文化传奇。
+              <br />&emsp;&emsp;驻足品“简”,在墨香竹韵间触摸文明的温度,于字里行间聆听智慧的回响,感受中华文化生生不息的磅礴力量。
             </div>
           </div>
           <div className='box sectionCont'>

BIN
scene/src/pages/A4base/image/time.png


BIN
scene/src/pages/A5Mobile/image/time.png


+ 9 - 7
scene/src/pages/A5Mobile/index.module.scss

@@ -25,20 +25,22 @@
       width: calc(100% - 40px);
     }
     .A4base-pic1 {
-      transform: translate(-233%, 160%);
-    width: 77px;
+      transform: translate(-233%, 106%);
+      width: 77px;
     }
     .A4base-pic2 {
-      transform: translate(-85%, 322px);
+      left: 6%;
+      top: auto;
+      bottom: 3%;
       width: 200px;
     }
-     .A4base-pic3 {
-      transform: translate(170%, 40px);
-    width: 70px;
+    .A4base-pic3 {
+      transform: translate(170%, 3px);
+      width: 70px;
     }
     .button {
       cursor: pointer;
-      transform: translate(-50%, 229px);
+      transform: translate(-50%, 193px);
       width: 120px;
     }
   }