shaogen1995 2 years ago
parent
commit
92ab9a21ab
2 changed files with 7 additions and 3 deletions
  1. 5 1
      yfyc/src/views/Goods/components/GoodsVr.vue
  2. 2 2
      yfyc/src/views/Goods/data.js

+ 5 - 1
yfyc/src/views/Goods/components/GoodsVr.vue

@@ -1,6 +1,10 @@
 <template>
   <div class="GoodsVr">
-    <iframe v-if="src" :src="src" frameborder="0"></iframe>
+    <iframe
+      v-if="src"
+      :src="'https://zzbbh.4dage.com/SWKK/show.html?id=' + src"
+      frameborder="0"
+    ></iframe>
   </div>
 </template>
 

+ 2 - 2
yfyc/src/views/Goods/data.js

@@ -67,6 +67,6 @@ export const kankanInfo = {
 }
 
 export const vrInfo = {
-  1: 'https://zzbbh.4dage.com/SWKK/show.html?id=WK1592095910366638080',
-  2: 'https://www.4dkankan.com/panorama/showMobile.html?id=WK1661264303442886656&lang=zh'
+  1: 'WK1592095910366638080',
+  2: 'WK1661264303442886656'
 }