|
@@ -327,10 +327,10 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- 回到pc页面(首页) -->
|
|
|
- <!-- <div class="toHomeBox" @click="toHomeFu">
|
|
|
- <div class="hoverTit">回到首页</div>
|
|
|
- <img src="../../assets/img/toHome.png" alt="" />
|
|
|
- </div> -->
|
|
|
+ <div class="toHomeBox floorBox" @click="changFloor()" v-show="is1Ceng || is2Ceng" >
|
|
|
+ <div class="hoverTit">切换楼层</div>
|
|
|
+ <div>{{ is2Ceng ? '1': is1Ceng ?'2':'' }}</div>
|
|
|
+ </div>
|
|
|
|
|
|
<!-- vr -->
|
|
|
<!-- <div class="toHomeBox" @click="openVR">
|
|
@@ -403,15 +403,7 @@
|
|
|
/>
|
|
|
</div>
|
|
|
|
|
|
- <!-- 全屏 -->
|
|
|
- <!-- <div class="toHomeBox quanping">
|
|
|
- 鼠标移入的显示
|
|
|
- <div class="hoverTit">{{ isFull ? '退出全屏' : '全屏' }}</div>
|
|
|
- 打开全屏
|
|
|
- <img @click="fullClick" v-show="!isFull" src="../../assets/images/icon/fullscreen.png" alt="" />
|
|
|
- 退出全屏
|
|
|
- <img @click="exitfull" v-show="isFull" src="../../assets/images/icon/fullscree_active.png" alt="" />
|
|
|
- </div> -->
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -440,6 +432,8 @@ export default {
|
|
|
// 指引是否显示
|
|
|
isGuideOpen: true,
|
|
|
guideStep: 2,
|
|
|
+ is2Ceng: false,
|
|
|
+ is1Ceng: false
|
|
|
|
|
|
};
|
|
|
},
|
|
@@ -454,8 +448,31 @@ export default {
|
|
|
this.guideStep = 1;
|
|
|
localStorage.setItem("isGuided", "true");
|
|
|
}
|
|
|
+ console.log('12',window.location.href.includes('KJ-FwOrAt4DM4i'))
|
|
|
+ if(window.location.href.includes('KJ-FwOrAt4DM4i')){
|
|
|
+ this.is1Ceng = true
|
|
|
+ }
|
|
|
+ if(window.location.href.includes('KJ-C1pVWZpykU5_01')){
|
|
|
+ this.is2Ceng = true
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
+ changFloor() {
|
|
|
+ if(this.is1Ceng){
|
|
|
+ // window.location.href = 'https://houseoss.4dkankan.com/project/ZHZRZYJ/index.html#/?m=KJ-C1pVWZpykU5_01'
|
|
|
+ window.location.replace('https://houseoss.4dkankan.com/project/ZHZRZYJ/index.html#/?m=KJ-C1pVWZpykU5_01')
|
|
|
+ window.location.reload()
|
|
|
+ // window.history.replaceState({}, '', 'https://houseoss.4dkankan.com/project/ZHZRZYJ/index.html#/?m=KJ-C1pVWZpykU5_01');
|
|
|
+ }
|
|
|
+ if(this.is2Ceng){
|
|
|
+ // window.location.href = 'https://houseoss.4dkankan.com/project/ZHZRZYJ/index.html#/?m=KJ-FwOrAt4DM4i'
|
|
|
+ window.location.replace('https://houseoss.4dkankan.com/project/ZHZRZYJ/index.html#/?m=KJ-FwOrAt4DM4i')
|
|
|
+ window.location.reload()
|
|
|
+
|
|
|
+ // window.history.replaceState({}, '', 'https://houseoss.4dkankan.com/project/ZHZRZYJ/index.html#/?m=KJ-FwOrAt4DM4i');
|
|
|
+
|
|
|
+ }
|
|
|
+ },
|
|
|
clearScreen() {
|
|
|
const infoDom = document.getElementById("info-left");
|
|
|
const viewContainerDom =
|
|
@@ -752,12 +769,32 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+.floorBox{
|
|
|
+ margin-right: 20px;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
+ width: 30px;
|
|
|
+ height: 44px;
|
|
|
+ background: rgba(90, 11, 11, 0.678);
|
|
|
+ color: white;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ border-radius: 50px;
|
|
|
+ @media screen and (max-width: 1000px) {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ width: 30px !important;
|
|
|
+ height: 30px !important;
|
|
|
+ }
|
|
|
+}
|
|
|
.toHomeBox {
|
|
|
margin-right: 20px;
|
|
|
cursor: pointer;
|
|
|
position: relative;
|
|
|
width: 44px;
|
|
|
+ @media screen and (max-width: 768px) {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
|
|
|
img {
|
|
|
width: 44px;
|
|
@@ -961,10 +998,11 @@ export default {
|
|
|
.rightViewContainer {
|
|
|
flex-direction: column;
|
|
|
margin-right: 0;
|
|
|
+ margin-bottom: 30px;
|
|
|
|
|
|
& > div,
|
|
|
#volume {
|
|
|
- width: 50px !important;
|
|
|
+ width: 30px !important;
|
|
|
text-align: right;
|
|
|
margin-right: 0;
|
|
|
// margin-bottom: 10px;
|