shaogen1995 2 년 전
부모
커밋
0ee4cc2cdb
2개의 변경된 파일30개의 추가작업 그리고 2개의 파일을 삭제
  1. 26 1
      pc场景/src/views/gui/menu.vue
  2. 4 1
      后台/src/pages/Z1Gather/index.tsx

+ 26 - 1
pc场景/src/views/gui/menu.vue

@@ -281,6 +281,13 @@
         <img src="../../assets/img/closeMap.png" alt="" />
         <img src="../../assets/img/closeMap.png" alt="" />
       </div>
       </div>
     </div>
     </div>
+
+    <!-- 地图导览遮罩 -->
+    <div
+      class="rightMapSmBox"
+      :class="{ rightMapSmBoxAc: mapShow }"
+      @click="mapShow = false"
+    ></div>
   </div>
   </div>
 </template>
 </template>
 
 
@@ -429,7 +436,7 @@ export default {
 }
 }
 
 
 // 自动漫游隐藏
 // 自动漫游隐藏
-#play{
+#play {
   display: none !important;
   display: none !important;
 }
 }
 
 
@@ -585,6 +592,24 @@ export default {
   right: 0px;
   right: 0px;
 }
 }
 
 
+// 地图遮罩
+.rightMapSmBox {
+  cursor: pointer;
+  opacity: 0;
+  pointer-events: none;
+  position: fixed;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  transition: all 0.2s;
+  backdrop-filter: blur(4px);
+}
+.rightMapSmBoxAc {
+  opacity: 1;
+  pointer-events: auto;
+}
+
 // 右上角的地图
 // 右上角的地图
 .rightTopMap {
 .rightTopMap {
   cursor: pointer;
   cursor: pointer;

+ 4 - 1
后台/src/pages/Z1Gather/index.tsx

@@ -80,7 +80,10 @@ function Z1Gather() {
           const obj = urlParameter(location.search);
           const obj = urlParameter(location.search);
           if (obj.q) {
           if (obj.q) {
             // 通过热点跳到这个页面
             // 通过热点跳到这个页面
-            if (isH5Fu() && isWeiFu()) window.history.go(-1);
+            if (isH5Fu() && isWeiFu()) {
+              localStorage.setItem("HDB_WJ_JUST_SUBMITTED", "1");
+              window.history.go(-1);
+            }
             else {
             else {
               window.opener = null;
               window.opener = null;
               window.open("", "_self");
               window.open("", "_self");