|
@@ -302,6 +302,7 @@ import Audio from "@/components/Audio.vue"
|
|
import MyDesc from "@/components/HotspotDetailDesc.vue"
|
|
import MyDesc from "@/components/HotspotDetailDesc.vue"
|
|
import { hotData as hotspotDataListFromLocal } from "@/assets/data/swkkHotspotData.js"
|
|
import { hotData as hotspotDataListFromLocal } from "@/assets/data/swkkHotspotData.js"
|
|
import HotspotDetailImgList from "@/components/HotspotDetailImgList"
|
|
import HotspotDetailImgList from "@/components/HotspotDetailImgList"
|
|
|
|
+import { deepProcess } from "@/utils.js"
|
|
|
|
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -420,6 +421,13 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ function changeSubStr(str) {
|
|
|
|
+ return str.replace('https://4dscene.4dage.com/culturalrelics/', process.env.VUE_APP_RELICS_MODEL_PATH)
|
|
|
|
+ }
|
|
|
|
+ if (process.env.VUE_APP_CLI_MODE === 'local') {
|
|
|
|
+ deepProcess(ret, changeSubStr)
|
|
|
|
+ }
|
|
|
|
+
|
|
const hotspotDataFromLocal = hotspotDataListFromLocal.find((item) => {
|
|
const hotspotDataFromLocal = hotspotDataListFromLocal.find((item) => {
|
|
return item.hotId === this.id
|
|
return item.hotId === this.id
|
|
})
|
|
})
|