|
@@ -41,7 +41,8 @@
|
|
|
<div class="viewContainer">
|
|
<div class="viewContainer">
|
|
|
<div class="viewXian">
|
|
<div class="viewXian">
|
|
|
<!-- 线段 -->
|
|
<!-- 线段 -->
|
|
|
- <img src="../../assets/img/xian.png" alt="" />
|
|
|
|
|
|
|
+ <img v-if="screenWidth > 1000" src="../../assets/img/xian.png" alt="" />
|
|
|
|
|
+ <img v-else src="../../assets/img/xianDian.png" alt="" />
|
|
|
<!-- 收起按钮 -->
|
|
<!-- 收起按钮 -->
|
|
|
<div class="viewShowIcon" @click="viewShow = false">
|
|
<div class="viewShowIcon" @click="viewShow = false">
|
|
|
<img :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 48) + 'px' : '30px' }"
|
|
<img :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 48) + 'px' : '30px' }"
|
|
@@ -54,11 +55,11 @@
|
|
|
<img rel="tooltip" title="" :src="require('@/assets/images/play.png')" data-original-title="播放" />
|
|
<img rel="tooltip" title="" :src="require('@/assets/images/play.png')" data-original-title="播放" />
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
- <div id="play" class="ui-icon" rel="tooltip" data-original-title="播放"
|
|
|
|
|
- :style="{ marginTop: screenWidth < 1000 ? '-5px' : '' }">
|
|
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="" :style="{marginLeft: '5vw'}">
|
|
|
|
|
+ <div id="play" class="ui-icon" rel="tooltip" data-original-title="播放"
|
|
|
|
|
+ :style="{ marginTop: screenWidth < 1000 ? '-5px' : '', width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt"
|
|
|
|
|
- :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', bottom: screenWidth < 1000 ? '-14px' : '-18px' }">
|
|
|
|
|
|
|
+ <div class="iconTxt" :style="{ paddingBottom: screenWidth < 790 ? '4px' : '' }">
|
|
|
{{
|
|
{{
|
|
|
screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
<a>
|
|
<a>
|
|
@@ -68,10 +69,9 @@
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
<div id="pause" class="ui-icon" style="display: none"
|
|
<div id="pause" class="ui-icon" style="display: none"
|
|
|
- :style="{ marginTop: screenWidth < 1000 ? '-5px' : '' }">
|
|
|
|
|
|
|
+ :style="{ marginTop: screenWidth < 1000 ? '-5px' : '', width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt iconTxtAc"
|
|
|
|
|
- :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', bottom: screenWidth < 1000 ? '-14px' : '-18px' }">
|
|
|
|
|
|
|
+ <div class="iconTxt iconTxtAc" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
{{ screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
<a>
|
|
<a>
|
|
|
<img class="imgLimit"
|
|
<img class="imgLimit"
|
|
@@ -85,11 +85,11 @@
|
|
|
</a>
|
|
</a>
|
|
|
</div>
|
|
</div>
|
|
|
<div id="gui-modes-map" class="ui-icon double active">
|
|
<div id="gui-modes-map" class="ui-icon double active">
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div data-original-title="导览" @click="isGuide = !isGuide" id="pullTab" rel="tooltip" title="场景导览"
|
|
<div data-original-title="导览" @click="isGuide = !isGuide" id="pullTab" rel="tooltip" title="场景导览"
|
|
|
- :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '100px' : '', }">
|
|
|
|
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt" :class="{ iconTxtAc: !isGuide }"
|
|
|
|
|
- :style="{ marginLeft: screenWidth > 1000 && screenWidth < 2000 ? '50px' : '' }">
|
|
|
|
|
|
|
+ <div class="iconTxt" :class="{ iconTxtAc: !isGuide }" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '导览列表' : '〚导览列表〛' }} </div>
|
|
{{ screenWidth < 1000 ? '导览列表' : '〚导览列表〛' }} </div>
|
|
|
<img
|
|
<img
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
@@ -97,13 +97,14 @@
|
|
|
}.png`)
|
|
}.png`)
|
|
|
" />
|
|
" />
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="" v-if="showHotList">
|
|
|
<!-- 热点列表 -->
|
|
<!-- 热点列表 -->
|
|
|
- <div class="hotListBox" @click="meanInd = true"
|
|
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '' : '', paddingLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
|
|
- <div class="iconTxt" v-show="showHotList" :style="{ bottom: screenWidth < 1000 ? '-14px' : '-18px' }">
|
|
|
|
|
|
|
+ <div class="hotListBox" @click="meanInd = true" v-if="showHotList"
|
|
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
|
|
+ <div class="iconTxt"
|
|
|
|
|
+ :style="{ bottom: screenWidth < 1000 ? '-14px' : '-18px', width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
{{ screenWidth < 1000 ? '热点列表' : '〚热点列表〛' }}</div>
|
|
{{ screenWidth < 1000 ? '热点列表' : '〚热点列表〛' }}</div>
|
|
|
- <div class="hotListSon" v-show="showHotList">
|
|
|
|
|
|
|
+ <div class="hotListSon" >
|
|
|
<img class="imgLimit"
|
|
<img class="imgLimit"
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
:src="require(`@/assets/images/icon/${meanInd ? 'hotAc' : 'hot'
|
|
:src="require(`@/assets/images/icon/${meanInd ? 'hotAc' : 'hot'
|
|
@@ -111,8 +112,8 @@
|
|
|
" />
|
|
" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
- <div data-original-title="全景漫游" id="gui-modes-inside" rel="tooltip">
|
|
|
|
|
|
|
+ <div data-original-title="全景漫游" id="gui-modes-inside" rel="tooltip"
|
|
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<img
|
|
<img
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
class="icon icon-inside imgLimit" :src="require('@/assets/images/icon/inside.png')" />
|
|
class="icon icon-inside imgLimit" :src="require('@/assets/images/icon/inside.png')" />
|
|
@@ -121,11 +122,11 @@
|
|
|
class="icon icon-inside active imgLimit"
|
|
class="icon icon-inside active imgLimit"
|
|
|
:src="require('@/assets/images/icon/inside_active.png')" />
|
|
:src="require('@/assets/images/icon/inside_active.png')" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div title="迷你漫游" data-original-title="迷你模型" id="gui-modes-dollhouse" rel="tooltip"
|
|
<div title="迷你漫游" data-original-title="迷你模型" id="gui-modes-dollhouse" rel="tooltip"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', paddingLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
|
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt"
|
|
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', marginLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
|
|
|
|
+ <div class="iconTxt" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '迷你模型' : '〚迷你模型〛' }}</div>
|
|
{{ screenWidth < 1000 ? '迷你模型' : '〚迷你模型〛' }}</div>
|
|
|
<img
|
|
<img
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
@@ -134,11 +135,11 @@
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
class="icon icon-inside active" :src="require('@/assets/images/icon/dollhouse_active.png')" />
|
|
class="icon icon-inside active" :src="require('@/assets/images/icon/dollhouse_active.png')" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div data-original-title="俯视图" id="gui-modes-floorplan" rel="tooltip" title="顶部俯视"
|
|
<div data-original-title="俯视图" id="gui-modes-floorplan" rel="tooltip" title="顶部俯视"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '40px' : '', paddingLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
|
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt"
|
|
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '40px' : '', marginLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
|
|
|
|
+ <div class="iconTxt" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '俯瞰视图' : '〚俯瞰视图〛' }}</div>
|
|
{{ screenWidth < 1000 ? '俯瞰视图' : '〚俯瞰视图〛' }}</div>
|
|
|
<img
|
|
<img
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
@@ -148,13 +149,13 @@
|
|
|
class="active icon icon-inside active"
|
|
class="active icon icon-inside active"
|
|
|
:src="require('@/assets/images/icon/floor_active.png')" />
|
|
:src="require('@/assets/images/icon/floor_active.png')" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div title="打开音乐" data-original-title="打开音乐" id="volumeBid" rel="tooltip"
|
|
<div title="打开音乐" data-original-title="打开音乐" id="volumeBid" rel="tooltip"
|
|
|
- :style="{ paddingLeft: screenWidth > 2000 ? '80px !important' : '' }"
|
|
|
|
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }"
|
|
|
@click="switchBGM2(!isMusic)">
|
|
@click="switchBGM2(!isMusic)">
|
|
|
<!-- icon文字 -->
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt" :class="isMusic ? 'iconTxtAc' : ''"
|
|
|
|
|
- :style="{ marginLeft: screenWidth > 2000 ? '40px !important' : '' }">{{
|
|
|
|
|
- isMusic ? '〚关闭音乐〛' : '〚打开音乐〛' }}</div>
|
|
|
|
|
|
|
+ <div class="iconTxt" :class="isMusic ? 'iconTxtAc' : ''" :style="{}">{{
|
|
|
|
|
+ isMusic ? '〚关闭音乐〛' : '〚打开音乐〛' }}</div>
|
|
|
<img
|
|
<img
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
v-if="isMusic" src="../../assets/img/openM.png" title="打开音乐" />
|
|
v-if="isMusic" src="../../assets/img/openM.png" title="打开音乐" />
|
|
@@ -162,6 +163,7 @@
|
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
:style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
v-if="!isMusic" src="../../assets/img/closeM.png" alt="" title="关闭音乐" />
|
|
v-if="!isMusic" src="../../assets/img/closeM.png" alt="" title="关闭音乐" />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div data-original-title="VR" id="vr" rel="tooltip" title="" style="display: none">
|
|
<div data-original-title="VR" id="vr" rel="tooltip" title="" style="display: none">
|
|
|
<img class="icon icon-inside" :src="require('@/assets/images/VR.png')" />
|
|
<img class="icon icon-inside" :src="require('@/assets/images/VR.png')" />
|
|
|
</div>
|
|
</div>
|
|
@@ -291,26 +293,27 @@ export default {
|
|
|
if (window.hotData) {
|
|
if (window.hotData) {
|
|
|
clearInterval(timeA)
|
|
clearInterval(timeA)
|
|
|
}
|
|
}
|
|
|
|
|
+ console.log('是否显示',window.hotData, window.myHotList, window.myHotList.length)
|
|
|
if (window.hotData && window.myHotList && window.myHotList.length) {
|
|
if (window.hotData && window.myHotList && window.myHotList.length) {
|
|
|
// 显示列表
|
|
// 显示列表
|
|
|
this.showHotList = true
|
|
this.showHotList = true
|
|
|
|
|
+ // this.showHotList = false
|
|
|
} else {
|
|
} else {
|
|
|
this.showHotList = false
|
|
this.showHotList = false
|
|
|
|
|
+ // this.showHotList = true
|
|
|
}
|
|
}
|
|
|
}, 500);
|
|
}, 500);
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
goBack() {
|
|
goBack() {
|
|
|
- window.parent.postMessage({ command: "back" }, "*");
|
|
|
|
|
- // console.log(window.history)
|
|
|
|
|
- // // 如果有上一页,则传递信息
|
|
|
|
|
- // if (window.history.length === 1) {
|
|
|
|
|
- // window.close()
|
|
|
|
|
- // } else {
|
|
|
|
|
- // // 跨域传递信息
|
|
|
|
|
- // window.parent.postMessage({ command: "back" }, "*");
|
|
|
|
|
- // }
|
|
|
|
|
|
|
+ // 如果有上一页,则传递信息
|
|
|
|
|
+ if (window.history.length === 1) {
|
|
|
|
|
+ window.close()
|
|
|
|
|
+ } else {
|
|
|
|
|
+ // 跨域传递信息
|
|
|
|
|
+ window.parent.postMessage({ command: "back" }, "*");
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
switchBGM(flag) {
|
|
switchBGM(flag) {
|
|
|
if (flag) {
|
|
if (flag) {
|
|
@@ -541,6 +544,16 @@ export default {
|
|
|
color: #0a93cd;
|
|
color: #0a93cd;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .dianBox {
|
|
|
|
|
+ width: 1.5vw !important;
|
|
|
|
|
+ z-index: 1000;
|
|
|
|
|
+ // position: absolute;
|
|
|
|
|
+ // margin-left: -10px;
|
|
|
|
|
+ @media screen and (max-width: 1000px) {
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// .active{
|
|
// .active{
|
|
|
// .iconTxt{
|
|
// .iconTxt{
|
|
|
// color: #13709e;
|
|
// color: #13709e;
|
|
@@ -568,12 +581,12 @@ export default {
|
|
|
|
|
|
|
|
@media screen and (min-width: 1000px) and (max-width: 1700px) {
|
|
@media screen and (min-width: 1000px) and (max-width: 1700px) {
|
|
|
height: auto;
|
|
height: auto;
|
|
|
- width: 250px;
|
|
|
|
|
|
|
+ width: 10vw;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1700px) {
|
|
@media screen and (min-width: 1700px) {
|
|
|
height: auto;
|
|
height: auto;
|
|
|
- width: 300px;
|
|
|
|
|
|
|
+ width: 200px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -704,30 +717,22 @@ export default {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.backBtn {
|
|
.backBtn {
|
|
|
- cursor: pointer;
|
|
|
|
|
- position: fixed;
|
|
|
|
|
- z-index: 99;
|
|
|
|
|
- top: 36px;
|
|
|
|
|
- left: 10px;
|
|
|
|
|
- opacity: 1;
|
|
|
|
|
- pointer-events: auto;
|
|
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 1.0625rem;
|
|
|
|
|
+ left: 1rem;
|
|
|
|
|
+ font-size: .3125rem;
|
|
|
|
|
+ font-family: Source Han Serif CN-Bold;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #fffae9;
|
|
|
|
|
+ text-shadow: 0 0 0.1875rem #9f7b46;
|
|
|
|
|
+ z-index: 1000;
|
|
|
|
|
|
|
|
img {
|
|
img {
|
|
|
- width: 70px;
|
|
|
|
|
- height: 70px;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- span {
|
|
|
|
|
- color: #FFFAE9;
|
|
|
|
|
- font-family: 'Source Han Serif CN-Bold';
|
|
|
|
|
- font-size: 2.5em;
|
|
|
|
|
- text-shadow: 0px 0px 30px #9F7B46;
|
|
|
|
|
- -webkit-background-clip: text;
|
|
|
|
|
- // -webkit-text-fill-color: transparent;
|
|
|
|
|
|
|
+ margin-right: 0.075rem;
|
|
|
|
|
+ width: 0.625rem;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.myViewShowBox {
|
|
.myViewShowBox {
|