|
@@ -4,7 +4,7 @@
|
|
|
<div class="close-btn" @click="close"></div>
|
|
|
|
|
|
<div class="iframe-box" v-if="iframeData.type == '3D'">
|
|
|
- <iframe :src="iframeData.modelUrl" frameborder="0"></iframe>
|
|
|
+ <iframe :src="handlerModelLink(iframeData.modelUrl)" frameborder="0"></iframe>
|
|
|
</div>
|
|
|
<div v-else-if="iframeData.type == '2D'" class="image-box">
|
|
|
<div class="swiper-dom view-container">
|
|
@@ -73,6 +73,13 @@ watch(
|
|
|
);
|
|
|
const myViewer = ref(null);
|
|
|
const dom = ref(null);
|
|
|
+const handlerModelLink = (link) => {
|
|
|
+ if (link) {
|
|
|
+ return link.replace("https://4dscene.4dage.com", "https://ysxwyzl.4dage.com");
|
|
|
+ } else {
|
|
|
+ return link;
|
|
|
+ }
|
|
|
+};
|
|
|
const handlerPicList = () => {
|
|
|
if (props.iframeData.deatilsImg) {
|
|
|
//按规则截取字符串
|