Bläddra i källkod

更新开场视频

tremble 3 år sedan
förälder
incheckning
940a40f552
1 ändrade filer med 21 tillägg och 4 borttagningar
  1. 21 4
      src/app.vue

+ 21 - 4
src/app.vue

@@ -142,14 +142,31 @@ const showNavigations = computed(() => store.getters['showNavigations']);
 const scene$ = ref(null);
 const scene$ = ref(null);
 const hadVideo = ref(false);
 const hadVideo = ref(false);
 
 
-if (!Cache.get('HIDENVIDEOEXPIRES')) {
-  if (browser.getURLParam('m') == 'KK-t-tFPxDTXPif') {
-    Cache.set('HIDENVIDEOEXPIRES', 'yes', 60 * 8 * 60);
+let VIDEOSCENELIST = [
+  'KK-t-tFPxDTXPif',
+  'KK-t-tFPxDTXPif',
+  'KK-t-tFPxDTXPif',
+  'KK-t-tFPxDTXPif',
+  'KK-t-tFPxDTXPif',
+]
+
+// 機場店東大堂南 / Duty Zero East Hall South
+// https://vr.dutyzero.com.hk/index.html?m=KJ-eur-7bRK91138f&pose=pano:188,qua:0.0013,-0.6099,0.001,0.7925
+// 機場店東大堂南 / Duty Zero East Hall South
+// https://vr.dutyzero.com.hk/index.html?m=KJ-eur-g4hE95af2b&pose=pano:188,qua:0.0013,-0.6099,0.001,0.7925
+// 機場店東大堂南 / Duty Zero East Hall South
+// https://vr.dutyzero.com.hk/index.html?m=KJ-eur-g9MJ95515d&pose=pano:188,qua:0.0013,-0.6099,0.001,0.7925
+// 機場店東大堂南 / Duty Zero East Hall South
+// https://vr.dutyzero.com.hk/index.html?m=KJ-eur-LHyX95b547&pose=pano:188,qua:0.0013,-0.6099,0.001,0.7925
+
+// if (!Cache.get('HIDENVIDEOEXPIRES')) {
+  if (VIDEOSCENELIST.includes(browser.getURLParam('m')) && browser.getURLParam('pose') == 'pano:188,qua:0.0013,-0.6099,0.001,0.7925') {
+    // Cache.set('HIDENVIDEOEXPIRES', 'yes', 60 * 8 * 60);
     hadVideo.value = false;
     hadVideo.value = false;
   } else {
   } else {
     hadVideo.value = true;
     hadVideo.value = true;
   }
   }
-}
+// }
 
 
 if (browser.getURLParam('role')) {
 if (browser.getURLParam('role')) {
   hadVideo.value = true;
   hadVideo.value = true;