Ver código fonte

离线版路径添加

shaogen1995 4 meses atrás
pai
commit
22d61e2dfb
2 arquivos alterados com 6 adições e 2 exclusões
  1. 3 0
      code/src/pages/Z2Scene/index.tsx
  2. 3 2
      整合首页/index.html

+ 3 - 0
code/src/pages/Z2Scene/index.tsx

@@ -31,6 +31,9 @@ function Z2Scene() {
       {uid ? (
         <iframe
           // src={`${isEnvUrl}/scene/index.html#/?m=${uid}`}
+          // 本地化
+          // src={`/swkk/spg.html?m=${uid}`}
+
           src={`https://www.4dkankan.com/spg.html?m=${uid}`}
           frameBorder="0"
         ></iframe>

+ 3 - 2
整合首页/index.html

@@ -112,8 +112,9 @@
 
   .openBox img {
     position: absolute;
-    top: 38px;
-    left: 20px;
+    top: 50%;
+    transform: translateY(-50%);
+    right: 20px;
     cursor: pointer;
     height: 51px;
   }