aamin 1 年之前
父節點
當前提交
37e2ef312c
共有 7 個文件被更改,包括 16 次插入9 次删除
  1. 1 0
      .gitignore
  2. 二進制
      public/2.png
  3. 二進制
      public/new.png
  4. 二進制
      public/real.png
  5. 二進制
      src/assets/images/pc-bg.png
  6. 1 1
      src/views/MoreContent.vue
  7. 14 8
      src/views/PCHome.vue

+ 1 - 0
.gitignore

@@ -2,6 +2,7 @@
 node_modules
 /dist
 /public/game
+/public/scene
 
 *.zip
 

二進制
public/2.png


二進制
public/new.png


二進制
public/real.png


二進制
src/assets/images/pc-bg.png


+ 1 - 1
src/views/MoreContent.vue

@@ -313,7 +313,7 @@ const OpenScene = () => {
   // window.open('https://www.4dkankan.com/spg.html?m=KJ-et2X3su4ofm', '_parent')
   // window.location.replace('https://www.4dkankan.com/spg.html?m=KJ-et2X3su4ofm')
   // window.location.replace('http://192.168.20.50:8082/spg.html?m=KJ-et2X3su4ofm')
-  window.location.replace('https://culture.4dage.com/NanjingMuseumWuJinZangNew/scene/smg.html?m=KJ-et2X3su4ofm')
+  window.location.replace('./scene/smg.html?m=KJ-et2X3su4ofm')
 }
 
 // 提示语的显示隐藏

+ 14 - 8
src/views/PCHome.vue

@@ -6,10 +6,13 @@ const $env = inject("$env")
 
 <template>
   <div class="pc-home">
-    <img
-      :src="`${$env.BASE_URL}code.png`"
-      alt=""
-    >
+    <div class="code-box">
+      <img
+        :src="`${$env.BASE_URL}new.png`"
+        alt=""
+      >
+      扫码观看无尽藏线上数字展
+    </div>
   </div>
 </template>
 
@@ -18,14 +21,17 @@ const $env = inject("$env")
   width: 100%;
   height: 100%;
   overflow: hidden;
-  background: rgba(60,89,71,.65);
+  background: url(@/assets/images/pc-bg.png);
+  background-size: cover;
   backdrop-filter:blur(20px);
   display: flex;
   justify-content: center;
   align-items: center;
-  img{
-    width: 30%;
-    // height: 30%;
+  .code-box{
+    position: absolute;
+    bottom: 30px;
+    left: 50%;
+    transform: translateX(-50%)
   }
 }
 </style>