|
@@ -40,7 +40,8 @@
|
|
|
<div class="viewContainer">
|
|
|
<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">
|
|
|
<img :src="require(`@/assets/img/hide.png`)" />
|
|
@@ -52,19 +53,21 @@
|
|
|
<img rel="tooltip" title="" :src="require('@/assets/images/play.png')" data-original-title="播放" />
|
|
|
</a>
|
|
|
</div>
|
|
|
- <div id="play" class="ui-icon" rel="tooltip" data-original-title="播放">
|
|
|
+ <img class="dianBox" :style="{ marginLeft: '5vw' }" src="../../assets/img/dian.png" alt="">
|
|
|
+ <div id="play" class="ui-icon" rel="tooltip" data-original-title="播放"
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt" :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '' }">{{
|
|
|
- screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
+ <div class="iconTxt">
|
|
|
+ {{
|
|
|
+ screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
<a>
|
|
|
<img :src="require('@/assets/images/icon/play.png')" />
|
|
|
</a>
|
|
|
</div>
|
|
|
- <div id="pause" class="ui-icon" style="display: none">
|
|
|
+ <div id="pause" class="ui-icon" style="display: none"
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt iconTxtAc"
|
|
|
- :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '' }">{{ screenWidth < 1000
|
|
|
- ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
+ <div class="iconTxt iconTxtAc" :style="{}">{{ screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
<a>
|
|
|
<img rel="tooltip" title="" :src="require('@/assets/images/icon/pause.png')"
|
|
|
data-original-title="暂停" />
|
|
@@ -75,22 +78,23 @@
|
|
|
<i rel="tooltip" title="" class="icon icon-dpad-right" data-original-title="下一个"></i>
|
|
|
</a>
|
|
|
</div>
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div id="gui-modes-map" class="ui-icon double active">
|
|
|
<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文字 -->
|
|
|
- <div class="iconTxt" :class="{ iconTxtAc: !isGuide }"
|
|
|
- :style="{ marginLeft: screenWidth > 1000 && screenWidth < 2000 ? '50px' : '' }">
|
|
|
+ <div class="iconTxt" :class="{ iconTxtAc: !isGuide }" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '导览列表' : '〚导览列表〛' }} </div>
|
|
|
<img title="" class="icon icon-inside" :src="require(`@/assets/images/icon/auto${!isGuide ? '_active' : ''
|
|
|
}.png`)
|
|
|
" />
|
|
|
</div>
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="" >
|
|
|
<!-- 热点列表 -->
|
|
|
- <div class="hotListBox" @click="meanInd = true"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '' : '', paddingLeft: screenWidth > 2000 ? '150px' : '' }">
|
|
|
- <div class="iconTxt"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '' : '', marginLeft: screenWidth > 2000 ? '75px' : '' }">
|
|
|
+ <div class="hotListBox" @click="meanInd = true"
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
+
|
|
|
+ <div class="iconTxt" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '热点列表' : '〚热点列表〛' }}</div>
|
|
|
<div class="hotListSon">
|
|
|
<img :src="require(`@/assets/images/icon/${meanInd ? 'hotAc' : 'hot'
|
|
@@ -103,35 +107,37 @@
|
|
|
<img class="icon icon-inside" :src="require('@/assets/images/icon/inside.png')" />
|
|
|
<img class="icon icon-inside active" :src="require('@/assets/images/icon/inside_active.png')" />
|
|
|
</div>
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div title="迷你漫游" data-original-title="迷你模型" id="gui-modes-dollhouse" rel="tooltip"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', paddingLeft: screenWidth > 2000 ? '300px' : '' }">
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', marginLeft: screenWidth > 2000 ? '150px' : '' }">
|
|
|
+ <div class="iconTxt" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '迷你模型' : '〚迷你模型〛' }}</div>
|
|
|
<img class="icon icon-inside" :src="require('@/assets/images/icon/dollhouse.png')" />
|
|
|
<img class="icon icon-inside active"
|
|
|
:src="require('@/assets/images/icon/dollhouse_active.png')" />
|
|
|
</div>
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div data-original-title="俯视图" id="gui-modes-floorplan" rel="tooltip" title="顶部俯视"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '40px' : '', paddingLeft: screenWidth > 2000 ? '250px' : '' }">
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }">
|
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '40px' : '', marginLeft: screenWidth > 2000 ? '125px' : '' }">
|
|
|
+ <div class="iconTxt" :style="{}">
|
|
|
{{ screenWidth < 1000 ? '俯瞰视图' : '〚俯瞰视图〛' }}</div>
|
|
|
<img class="icon icon-inside" :src="require('@/assets/images/icon/floor.png')" />
|
|
|
<img class="active icon icon-inside active"
|
|
|
:src="require('@/assets/images/icon/floor_active.png')" />
|
|
|
</div>
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div title="打开音乐" data-original-title="打开音乐" id="volumeBid" rel="tooltip"
|
|
|
- :style="{ paddingLeft: screenWidth > 2000 ? '380px' : '' }" @click="switchBGM2(!isMusic)">
|
|
|
+ :style="{ width: screenWidth > 1700 ? parseInt(screenWidth / 10) + 'px' : screenWidth < 790 ? '60px' : '10vw' }"
|
|
|
+ @click="switchBGM2(!isMusic)">
|
|
|
<!-- 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 v-if="isMusic" src="../../assets/img/openM.png" title="打开音乐" />
|
|
|
<img v-if="!isMusic" src="../../assets/img/closeM.png" alt="" title="关闭音乐" />
|
|
|
</div>
|
|
|
+ <img class="dianBox" src="../../assets/img/dian.png" alt="">
|
|
|
<div data-original-title="VR" id="vr" rel="tooltip" title="" style="display: none">
|
|
|
<img class="icon icon-inside" :src="require('@/assets/images/VR.png')" />
|
|
|
</div>
|
|
@@ -204,7 +210,8 @@ export default {
|
|
|
isMusic: false,
|
|
|
screenWidth: null,
|
|
|
dialogWidth: 0,
|
|
|
- timer: false
|
|
|
+ timer: false,
|
|
|
+ showHotList: true
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -228,7 +235,7 @@ export default {
|
|
|
if (val) {
|
|
|
dom.style.transform = "translateX(0px)";
|
|
|
} else {
|
|
|
- dom.style.transform = "translateX(-500px)";
|
|
|
+ dom.style.transform = "translateX(-100vw)";
|
|
|
}
|
|
|
},
|
|
|
smMapShow(val) {
|
|
@@ -248,7 +255,6 @@ export default {
|
|
|
})()
|
|
|
}
|
|
|
if (this.screenWidth > 1000) {
|
|
|
- console.log('走')
|
|
|
setTimeout(() => {
|
|
|
this.timer = true
|
|
|
}, 3000)
|
|
@@ -256,6 +262,23 @@ export default {
|
|
|
this.timer = false
|
|
|
}, 5200)
|
|
|
}
|
|
|
+
|
|
|
+ let timeA = -1
|
|
|
+
|
|
|
+ timeA = window.setInterval(() => {
|
|
|
+ if (window.hotData) {
|
|
|
+ clearInterval(timeA)
|
|
|
+ }
|
|
|
+ console.log('是否显示', window.hotData, window.myHotList, window.myHotList.length)
|
|
|
+ if (window.hotData && window.myHotList && window.myHotList.length) {
|
|
|
+ // 显示列表
|
|
|
+ this.showHotList = true
|
|
|
+ // this.showHotList = false
|
|
|
+ } else {
|
|
|
+ this.showHotList = false
|
|
|
+ // this.showHotList = true
|
|
|
+ }
|
|
|
+ }, 500);
|
|
|
},
|
|
|
methods: {
|
|
|
goBack() {
|
|
@@ -301,15 +324,9 @@ export default {
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
// 隐藏原本的楼层选择
|
|
|
-<<<<<<< HEAD
|
|
|
-.gui-floor {
|
|
|
- display: none !important;
|
|
|
-}
|
|
|
-=======
|
|
|
// .gui-floor{
|
|
|
// display: none !important;
|
|
|
// }
|
|
|
->>>>>>> f468469ef5990cd123ca81a9344aa30f41158681
|
|
|
|
|
|
|
|
|
#hotList {
|
|
@@ -363,13 +380,13 @@ export default {
|
|
|
height: @wh;
|
|
|
|
|
|
@media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
- width: 60px !important;
|
|
|
- height: 60px !important;
|
|
|
+ width: 60px;
|
|
|
+ height: 60px;
|
|
|
}
|
|
|
|
|
|
@media screen and (min-width: 2000px) {
|
|
|
- width: 80px !important;
|
|
|
- height: 80px !important;
|
|
|
+ width: 80px;
|
|
|
+ height: 80px;
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -508,6 +525,17 @@ export default {
|
|
|
color: #0a93cd;
|
|
|
}
|
|
|
|
|
|
+ .dianBox {
|
|
|
+ width: 1.5vw !important;
|
|
|
+ z-index: 1000;
|
|
|
+
|
|
|
+ // position: absolute;
|
|
|
+ // margin-left: -10px;
|
|
|
+ @media screen and (max-width: 1000px) {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// .active{
|
|
|
// .iconTxt{
|
|
|
// color: #13709e;
|
|
@@ -667,28 +695,21 @@ export default {
|
|
|
}
|
|
|
|
|
|
.backBtn {
|
|
|
- cursor: pointer;
|
|
|
- position: fixed;
|
|
|
- z-index: 99;
|
|
|
- top: 36px;
|
|
|
- left: 10px;
|
|
|
- opacity: 1;
|
|
|
- pointer-events: auto;
|
|
|
display: flex;
|
|
|
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 {
|
|
|
- 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;
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -722,7 +743,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.viewShowAc {
|
|
|
- transform: translateX(-500px);
|
|
|
+ transform: translateX(-100vw);
|
|
|
|
|
|
@media screen and (min-width:1000px) {
|
|
|
transform: translateX(-100vw);
|