aamin 1 年之前
父節點
當前提交
51ec29d1ef
共有 5 個文件被更改,包括 50 次插入13 次删除
  1. 5 5
      src/views/GameView.vue
  2. 1 1
      src/views/HomeView.vue
  3. 35 2
      src/views/MoreContent.vue
  4. 6 2
      src/views/OnlineSceneView.vue
  5. 3 3
      src/views/SceneView.vue

+ 5 - 5
src/views/GameView.vue

@@ -18,7 +18,7 @@ const handleInput1 = () => {
   console.log("第一个框得内容", input1.value)
   if (input1.value.length >= 7) {
     input1.value = input1.value.slice(0, 7) // 限制输入长度
-    input2Ref.value.focus() // 聚焦到第二个输入框
+    // input2Ref.value.focus() // 聚焦到第二个输入框
   }
 }
 
@@ -47,7 +47,7 @@ const saveTitle = () => {
   if (iframeWindow) {
     iframeWindow.saveTitle(
       input1.value.length >= 7
-        ? input1.value + "\n" + input2.value
+        ? input1.value + "\n" + '线上创作'
         : input1.value
     )
     isShowToastFromGame.value = false
@@ -76,7 +76,7 @@ onMounted(() => {
 
     <!-- edit弹框 -->
     <div
-      v-if="isShowToastFromGame"
+      v-show="isShowToastFromGame"
       class="edit-box"
     >
       <div class="input-box">
@@ -86,13 +86,13 @@ onMounted(() => {
           @input="handleInput1"
           @keyup="checkInput1"
         >
-        <input
+        <!-- <input
           ref="input2Ref"
           v-model="input2"
           :readonly="input1.length < 7"
           @input="handleInput2"
           @keyup="checkInput2"
-        >
+        > -->
         <div class="tips">
           请输入内容
         </div>

+ 1 - 1
src/views/HomeView.vue

@@ -302,7 +302,7 @@ const backFu = () => {
         @click="curPageIndex = 5"
       />
       <img
-        :style="{ opacity: curPageIndex == 2 ? 1 : 0 }"
+        :style="{ opacity: curPageIndex == 2 ? 1 : 0,display: curPageIndex == 2 ? 'block' : 'none' }"
         class="icon_scale"
         src="@/assets/images/icon_scale.png"
         alt=""

+ 35 - 2
src/views/MoreContent.vue

@@ -81,6 +81,18 @@
             >
               重新开始
             </div>
+            <div class="about-box">
+              <div style="display: flex">
+                <div style="font-weight: bold;">
+                  《无尽藏》展览策展人:
+                </div><span>庞鸥</span>
+              </div>
+              <div style="font-weight: bold;margin-top: 5px;">
+                线上策展团队:
+              </div>
+              <div>南京博物院:南京博物院:张莅坤 刘佳 李文彬 张晓婉</div>
+              <div>珠海市四维时代网络科技有限公司</div>
+            </div>
           </div>
 
           <div
@@ -132,7 +144,7 @@
     />
 
     <!-- 提示语 -->
-    <div :class="`operation-tip ${titShow ? '' : 'operation-tipHide'}`">
+    <div :class="`operation-tip ${titShow && route.query.anchorIdx !='3' ? '' : 'operation-tipHide'}`">
       左右滑动
       <img
         class=""
@@ -298,6 +310,8 @@ const OpenScene = () => {
   const musicDom = document.getElementById("bg-music")
   musicDom.pause()
   router.replace("/scene")
+  // window.open('https://www.4dkankan.com/spg.html?m=KJ-et2X3su4ofm', '_parent')
+  // window.location.replace('https://www.4dkankan.com/spg.html?m=KJ-et2X3su4ofm')
 }
 
 // 提示语的显示隐藏
@@ -648,7 +662,7 @@ body {
     // 最后一页的文字
     .ROW4 {
       .ROWtxt {
-        top: 20%;
+        top: 15%;
         left: 37%;
       }
     }
@@ -687,6 +701,25 @@ body {
         margin-left: 54%;
         font-size: 18px;
       }
+      .about-box{
+        display: flex;
+        flex-direction: column;
+        align-items: center;
+        justify-content: center;
+        color: #688067;
+        font-size: 12px;
+        transform: translateX(-30%);
+        position: fixed;
+        bottom: 40px;
+
+        >div{
+          white-space: nowrap;
+        }
+        >.strong{
+          font-weight: bold;
+        }
+
+      }
     }
   }
 

+ 6 - 2
src/views/OnlineSceneView.vue

@@ -33,9 +33,13 @@ const router = useRouter()
   }
   >.btn-back{
     position: absolute;
-    left: 20px;
-    top: 25px;
+    left: 8px;
+    top: 45px;
     transform: scale(1);
+    >img{
+      width: calc(25 /  v-bind(windowSizeWhenDesignForRef) * v-bind(windowSizeInCssForRef));
+      height: calc(25 /  v-bind(windowSizeWhenDesignForRef) * v-bind(windowSizeInCssForRef));
+    }
   }
 }
 </style>

+ 3 - 3
src/views/SceneView.vue

@@ -33,9 +33,9 @@ const closeScene = () => {
 
   >.scene-back {
     position: absolute;
-    left: 20px;
-    top: 25px;
-    transform: scale(1.2);
+    left: 8px;
+    top: 45px;
+    transform: scale(1);
     z-index: 2;
   }