lanxin 1 час назад
Родитель
Сommit
47ca48b76d
15 измененных файлов с 15 добавлено и 11 удалено
  1. 3 0
      .vscode/settings.json
  2. BIN
      bg.mp4
  3. 3 3
      css/reset.css
  4. 2 2
      css/section1.css
  5. BIN
      img/close2.png
  6. BIN
      img/indexoverlay.webp
  7. BIN
      img/nav-bg.png
  8. BIN
      img/navicon.png
  9. BIN
      img/threed.webp
  10. 1 2
      index.html
  11. 1 0
      js/c.js
  12. 2 2
      js/common.js
  13. 1 1
      js/list.js
  14. 1 0
      js/z.js
  15. 1 1
      section1.html

+ 3 - 0
.vscode/settings.json

@@ -0,0 +1,3 @@
+{
+    "liveServer.settings.port": 5501
+}


+ 3 - 3
css/reset.css

@@ -110,7 +110,7 @@ img {
   -webkit-transition: all 0.3s;
   transition: all 0.3s;
   cursor: pointer;
-  background: url(https://vr.njmuseum.com/img/close2.png) no-repeat center/1.2rem;
+  background: url(../img/close2.png) no-repeat center/1.2rem;
 }
 .menuicon:hover {
   -webkit-transform: rotate(180deg) scale(1.1);
@@ -762,7 +762,7 @@ img {
   width: 100%;
   margin-left: -1rem;
   height: 1.25rem;
-  background: url(https://vr.njmuseum.com/img/nav-bg.png) no-repeat center/auto 100%;
+  background: url(../img/nav-bg.png) no-repeat center/auto 100%;
 }
 #fp-nav ul li:last-child:after {
   display: none;
@@ -770,7 +770,7 @@ img {
 #fp-nav span {
   position: absolute;
   border: 0;
-  background: url(https://vr.njmuseum.com/img/navicon.png) no-repeat center/contain;
+  background: url(../img/navicon.png) no-repeat center/contain;
   width: 2rem;
   height: 2rem;
   top: 0;

+ 2 - 2
css/section1.css

@@ -250,7 +250,7 @@
   margin-right: 1rem;
 }
 .grid__itemPicture .shadow .iconbox .threed {
-  background-image: url(https://vr.njmuseum.com/img/webp/threed.webp);
+  background-image: url(../img/threed.webp);
 }
 .grid__itemPicture .shadow .coverbox {
   position: absolute;
@@ -1359,7 +1359,7 @@
   top: 0;
   left: 0;
   pointer-events: none;
-  background: url(https://vr.njmuseum.com/img/webp/indexoverlay.webp) no-repeat center/100% 100%;
+  background: url(../img/indexoverlay.webp) no-repeat center/100% 100%;
   width: 100%;
   height: 100%;
 }

BIN
img/close2.png


BIN
img/indexoverlay.webp


BIN
img/nav-bg.png


BIN
img/navicon.png


BIN
img/threed.webp


+ 1 - 2
index.html

@@ -18,9 +18,8 @@
     <script src="./js/pc.min.js"></script>
   </head>
   <body class="pcbody">
-    <div class="loadbox"></div>
     <div id="menu"></div>
-
+    <div class="section section1"></div>
     <div class="page" id="fullpage"></div>
     <div class="grid__intro" style="display: none" id="grid-intro" onClick="closeGridIntro()"></div>
   </body>

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
js/c.js


+ 2 - 2
js/common.js

@@ -3,7 +3,7 @@ var sknum = 3; //南朝石刻数量
 var dmznum = 0; //大明展数量
 var wwnum = 14; //文物数量
 var othernum = 2; //无分类数量
-window.linkUrl = "https://4dscene.4dage.com/culturalrelics/HBSBWG-TS/Model2.html";
+window.linkUrl = "https://ysxwyzl.4dage.com/bwCN/scene/TS/HBSBWG-TS/Model2.html";
 // window.linkUrl = "http://192.168.10.63:8080";
 const isMobile = () => {
   const userAgent = navigator.userAgent.toLowerCase();
@@ -23,7 +23,7 @@ window.isMobile = isMobile();
 var _czc = _czc || [];
 (function () {
   var um = document.createElement("script");
-  um.src = "https://s4.cnzz.com/z.js?id=1281246688&async=1";
+  um.src = "./js/z.js?id=1281246688&async=1";
   var s = document.getElementsByTagName("script")[0];
   s.parentNode.insertBefore(um, s);
 })();

+ 1 - 1
js/list.js

@@ -628,7 +628,7 @@ var gridController = {
     ];
 
     var html = `<div class="${t} ${!lxs[e].url && gifArr.indexOf(e) != -1 ? "hasurl" : ""}" gif="${gifArr.indexOf(e) != -1 ? e + ".gif" : ""}">
-  <img src="${`https://houseoss.4dkankan.com/project/hubeiMuseum/wwq/modelImg/${e}.png`}" />
+  <img src="${`../modelImg/${e}.png`}" />
   <div class="shadow">
     <div class="name">
       <i>${getName(lxs[e].name).dynasty}</i>

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
js/z.js


+ 1 - 1
section1.html

@@ -8,7 +8,7 @@
   </head>
   <body>
     <div class="allbg">
-      <video src="https://vr.njmuseum.com/img/bg.mp4" muted="" loop="" autoplay="" playbackrate="0.1" playsinline="" webkit-playsinline="" x-webkit-airplay="allow" x5-video-player-type="h5" x5-video-player-fullscreen="false" disablepictureinpicture="" id="myvideo"></video>
+      <video src="./bg.mp4" muted="" loop="" autoplay="" playbackrate="0.1" playsinline="" webkit-playsinline="" x-webkit-airplay="allow" x5-video-player-type="h5" x5-video-player-fullscreen="false" disablepictureinpicture="" id="myvideo"></video>
     </div>
 
     <div class="grid" id="grid"></div>