Przeglądaj źródła

修改点位跳转页面逻辑(针对视频流);跳转页面iframe背景色调整

wandequan 1 rok temu
rodzic
commit
7fe01cc3da
2 zmienionych plików z 11 dodań i 6 usunięć
  1. 4 0
      src/components2/JumpWeb.vue
  2. 7 6
      src/components2/Tool.vue

+ 4 - 0
src/components2/JumpWeb.vue

@@ -46,10 +46,14 @@ export default {
     width: 100%;
     height: 100%;
     z-index: 100;
+    background: #ffffff;
 
     iframe {
         width: 100%;
         height: 100%;
     }
+    .back{
+        
+    }
 }
 </style>

+ 7 - 6
src/components2/Tool.vue

@@ -722,12 +722,13 @@ export default {
           break;
         case 2:
           // 跳转
-          if (this.$store.state.IsPC) {
-            let openUrl = item.pc_url ? item.pc_url : item.url;
-            window.open(openUrl, "_blank");
-          } else {
-            window.location.href = item.pc_url ? item.pc_url : item.url;
-          }
+          let openUrl = item.pc_url ? item.pc_url : item.url;
+          // if (this.$store.state.IsPC) {
+          //   window.open(openUrl, "_blank");
+          // } else {
+          //   window.location.href = openUrl;
+          // }
+          this.setCLJ(openUrl)
           break;
         case 3:
           break;