Jelajahi Sumber

热点详情页使用自带的

任一存 2 tahun lalu
induk
melakukan
bb4f18cebc
3 mengubah file dengan 11 tambahan dan 6 penghapusan
  1. 3 2
      public/static/js/Hot.js
  2. 4 0
      src/App.vue
  3. 4 4
      src/views/gui/EntryList.vue

+ 3 - 2
public/static/js/Hot.js

@@ -36,8 +36,9 @@ window.initHot = function (model) {
 
   var getCommonHotspotUrl = function (link) {
     var querySectionInLink = link.split('?')[1]
-    var langParam = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : ""
-    return `http://192.168.20.16:8083/#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
+    return `https://www.4dmodel.com/SuperTwo/hot_online1/index.html#/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}`
+    // var langParam = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : ""
+    // return `http://192.168.20.16:8083/#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
     // return `../hotspot/index.html#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
   }
   var removeSrcPostMark = function (url) {//去除texture.load时自动加上的'?'

+ 4 - 0
src/App.vue

@@ -141,4 +141,8 @@ export default {
 #popup {
   background: rgba(0, 0, 0, 0.7);
 }
+
+#closepop {
+  display: initial;
+}
 </style>

+ 4 - 4
src/views/gui/EntryList.vue

@@ -37,22 +37,22 @@ export default {
         {
           bgImgUrl: require('@/assets/images/entries/wen-wu.png'),
           title: '精品文物展厅',
-          sceneCode: '1264',
+          sceneCode: 'KJ-ztJ9nPQyf64',
         },
         {
           bgImgUrl: require('@/assets/images/entries/shu-fa.png'),
           title: '书画厅',
-          sceneCode: '1264',
+          sceneCode: 'KJ-wlpyvYdFNXN',
         },
         {
           bgImgUrl: require('@/assets/images/entries/zhu-ti.png'),
           title: '仡佬·务川主题展厅',
-          sceneCode: '1264',
+          sceneCode: '',
         },
         {
           bgImgUrl: require('@/assets/images/entries/wen-hua.png'),
           title: '中国仡佬族民族文化展厅',
-          sceneCode: '1264',
+          sceneCode: 'KJ-Rytmid9ku2a',
         },
         {
           bgImgUrl: require('@/assets/images/entries/di-biao-he-ying.png'),