|
@@ -4,9 +4,18 @@
|
|
|
<div id="view-controllers"></div>
|
|
|
</div>
|
|
|
|
|
|
+ <!-- 返回按钮 -->
|
|
|
+ <div class="backBtn" @click="goBack" v-if="screenWidth > 1000">
|
|
|
+ <img class="imgLimit"
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ :src="require(`@/assets/img/back.png`)" />
|
|
|
+ <span>返回</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
<!-- 展开按钮 -->
|
|
|
<div class="myViewShowBox" @click="viewShow = true" :class="{ myViewShowBoxAc: !viewShow }">
|
|
|
- <img :src="require(`@/assets/img/show.png`)" />
|
|
|
+ <img :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 48) + 'px' : '30px' }"
|
|
|
+ :src="require(`@/assets/img/show.png`)" />
|
|
|
</div>
|
|
|
|
|
|
<!-- 展开收起小地图 -->
|
|
@@ -15,6 +24,7 @@
|
|
|
<img src="../../assets/img/mapIcon.svg" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
<!-- 音乐按钮 -->
|
|
|
<div class="myMusicBox" id="volume">
|
|
|
<div>
|
|
@@ -34,7 +44,8 @@
|
|
|
<img src="../../assets/img/xian.png" alt="" />
|
|
|
<!-- 收起按钮 -->
|
|
|
<div class="viewShowIcon" @click="viewShow = false">
|
|
|
- <img :src="require(`@/assets/img/hide.png`)" />
|
|
|
+ <img :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 48) + 'px' : '30px' }"
|
|
|
+ :src="require(`@/assets/img/hide.png`)" />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -43,22 +54,29 @@
|
|
|
<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="播放">
|
|
|
+ <div id="play" class="ui-icon" rel="tooltip" data-original-title="播放"
|
|
|
+ :style="{ marginTop: screenWidth < 1000 ? '-5px' : '' }">
|
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt" :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '' }">{{
|
|
|
- screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
+ <div class="iconTxt"
|
|
|
+ :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', bottom: screenWidth < 1000 ? '-14px' : '-18px' }">
|
|
|
+ {{
|
|
|
+ screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
<a>
|
|
|
- <img :src="require('@/assets/images/icon/play.png')" />
|
|
|
+ <img class="imgLimit"
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ :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="{ marginTop: screenWidth < 1000 ? '-5px' : '' }">
|
|
|
<!-- icon文字 -->
|
|
|
<div class="iconTxt iconTxtAc"
|
|
|
- :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '' }">{{ screenWidth < 1000
|
|
|
- ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
+ :style="{ paddingLeft: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', bottom: screenWidth < 1000 ? '-14px' : '-18px' }">
|
|
|
+ {{ screenWidth < 1000 ? '自动导览' : '〚自动导览〛' }}</div>
|
|
|
<a>
|
|
|
- <img rel="tooltip" title="" :src="require('@/assets/images/icon/pause.png')"
|
|
|
- data-original-title="暂停" />
|
|
|
+ <img class="imgLimit"
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ rel="tooltip" title="" :src="require('@/assets/images/icon/pause.png')" data-original-title="暂停" />
|
|
|
</a>
|
|
|
</div>
|
|
|
<div id="next" class="next desktop-only ui-icon wide" style="display: none">
|
|
@@ -73,27 +91,35 @@
|
|
|
<div class="iconTxt" :class="{ iconTxtAc: !isGuide }"
|
|
|
:style="{ marginLeft: screenWidth > 1000 && screenWidth < 2000 ? '50px' : '' }">
|
|
|
{{ screenWidth < 1000 ? '导览列表' : '〚导览列表〛' }} </div>
|
|
|
- <img title="" class="icon icon-inside" :src="require(`@/assets/images/icon/auto${!isGuide ? '_active' : ''
|
|
|
- }.png`)
|
|
|
- " />
|
|
|
+ <img
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ title="" class="icon icon-inside imgLimit" :src="require(`@/assets/images/icon/auto${!isGuide ? '_active' : ''
|
|
|
+ }.png`)
|
|
|
+ " />
|
|
|
</div>
|
|
|
|
|
|
<!-- 热点列表 -->
|
|
|
<div class="hotListBox" @click="meanInd = true"
|
|
|
:style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '' : '', paddingLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
- <div class="iconTxt"
|
|
|
- :style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '' : '', marginLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
+ <div class="iconTxt" :style="{ bottom: screenWidth < 1000 ? '-14px' : '-18px' }">
|
|
|
{{ screenWidth < 1000 ? '热点列表' : '〚热点列表〛' }}</div>
|
|
|
<div class="hotListSon">
|
|
|
- <img :src="require(`@/assets/images/icon/${meanInd ? 'hotAc' : 'hot'
|
|
|
- }.png`)
|
|
|
- " />
|
|
|
+ <img class="imgLimit"
|
|
|
+ :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'
|
|
|
+ }.png`)
|
|
|
+ " />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div data-original-title="全景漫游" id="gui-modes-inside" rel="tooltip">
|
|
|
- <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')" />
|
|
|
+ <img
|
|
|
+ :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')" />
|
|
|
+ <img
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ class="icon icon-inside active imgLimit"
|
|
|
+ :src="require('@/assets/images/icon/inside_active.png')" />
|
|
|
</div>
|
|
|
<div title="迷你漫游" data-original-title="迷你模型" id="gui-modes-dollhouse" rel="tooltip"
|
|
|
:style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', paddingLeft: screenWidth > 2000 ? '' : '' }">
|
|
@@ -101,9 +127,12 @@
|
|
|
<div class="iconTxt"
|
|
|
:style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '80px' : '', marginLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
{{ 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')" />
|
|
|
+ <img
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ class="icon icon-inside" :src="require('@/assets/images/icon/dollhouse.png')" />
|
|
|
+ <img
|
|
|
+ :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')" />
|
|
|
</div>
|
|
|
<div data-original-title="俯视图" id="gui-modes-floorplan" rel="tooltip" title="顶部俯视"
|
|
|
:style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '40px' : '', paddingLeft: screenWidth > 2000 ? '' : '' }">
|
|
@@ -111,18 +140,27 @@
|
|
|
<div class="iconTxt"
|
|
|
:style="{ paddingRight: screenWidth > 1000 && screenWidth < 2000 ? '40px' : '', marginLeft: screenWidth > 2000 ? '' : '' }">
|
|
|
{{ screenWidth < 1000 ? '俯瞰视图' : '〚俯瞰视图〛' }}</div>
|
|
|
- <img class="icon icon-inside" :src="require('@/assets/images/icon/floor.png')" />
|
|
|
- <img class="active icon icon-inside active"
|
|
|
+ <img
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ class="icon icon-inside" :src="require('@/assets/images/icon/floor.png')" />
|
|
|
+ <img
|
|
|
+ :style="{ width: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px', height: screenWidth > 1000 ? parseInt(screenWidth / 32) + 'px' : '40px' }"
|
|
|
+ class="active icon icon-inside active"
|
|
|
:src="require('@/assets/images/icon/floor_active.png')" />
|
|
|
</div>
|
|
|
<div title="打开音乐" data-original-title="打开音乐" id="volumeBid" rel="tooltip"
|
|
|
:style="{ paddingLeft: screenWidth > 2000 ? '80px !important' : '' }"
|
|
|
@click="switchBGM2(!isMusic)">
|
|
|
<!-- icon文字 -->
|
|
|
- <div class="iconTxt" :class="isMusic ? 'iconTxtAc': ''" :style="{ marginLeft: screenWidth > 2000 ? '40px !important' : '' }">{{
|
|
|
- isMusic ? '〚关闭音乐〛' : '〚打开音乐〛' }}</div>
|
|
|
- <img v-if="isMusic" src="../../assets/img/openM.png" title="打开音乐" />
|
|
|
- <img v-if="!isMusic" src="../../assets/img/closeM.png" alt="" title="关闭音乐" />
|
|
|
+ <div class="iconTxt" :class="isMusic ? 'iconTxtAc' : ''"
|
|
|
+ :style="{ marginLeft: screenWidth > 2000 ? '40px !important' : '' }">{{
|
|
|
+ isMusic ? '〚关闭音乐〛' : '〚打开音乐〛' }}</div>
|
|
|
+ <img
|
|
|
+ :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="打开音乐" />
|
|
|
+ <img
|
|
|
+ :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="关闭音乐" />
|
|
|
</div>
|
|
|
<div data-original-title="VR" id="vr" rel="tooltip" title="" style="display: none">
|
|
|
<img class="icon icon-inside" :src="require('@/assets/images/VR.png')" />
|
|
@@ -243,6 +281,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ goBack() {
|
|
|
+ // 跨域传递信息
|
|
|
+ window.parent.postMessage({ command: "back" }, "*");
|
|
|
+ },
|
|
|
switchBGM(flag) {
|
|
|
if (flag) {
|
|
|
window.manage.switchBgmState(true);
|
|
@@ -307,6 +349,13 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+.imgLimit {
|
|
|
+ max-width: 160px;
|
|
|
+ max-height: 160px;
|
|
|
+ min-width: 40px;
|
|
|
+ min-height: 40px;
|
|
|
+}
|
|
|
+
|
|
|
#gui-modes-floorplan {
|
|
|
position: relative;
|
|
|
}
|
|
@@ -323,15 +372,15 @@ export default {
|
|
|
width: @wh;
|
|
|
height: @wh;
|
|
|
|
|
|
- @media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
- width: 60px !important;
|
|
|
- height: 60px !important;
|
|
|
- }
|
|
|
+ // @media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
+ // width: 60px !important;
|
|
|
+ // height: 60px !important;
|
|
|
+ // }
|
|
|
|
|
|
- @media screen and (min-width: 2000px) {
|
|
|
- width: 80px !important;
|
|
|
- height: 80px !important;
|
|
|
- }
|
|
|
+ // @media screen and (min-width: 2000px) {
|
|
|
+ // width: 80px !important;
|
|
|
+ // height: 80px !important;
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -353,15 +402,15 @@ export default {
|
|
|
height: 44px;
|
|
|
display: block !important;
|
|
|
|
|
|
- @media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
- width: 60px !important;
|
|
|
- height: 60px !important;
|
|
|
- }
|
|
|
+ // @media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
+ // width: 60px !important;
|
|
|
+ // height: 60px !important;
|
|
|
+ // }
|
|
|
|
|
|
- @media screen and (min-width: 2000px) {
|
|
|
- width: 80px !important;
|
|
|
- height: 80px !important;
|
|
|
- }
|
|
|
+ // @media screen and (min-width: 2000px) {
|
|
|
+ // width: 80px !important;
|
|
|
+ // height: 80px !important;
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
.active {
|
|
@@ -489,18 +538,18 @@ export default {
|
|
|
text-align: center;
|
|
|
|
|
|
&>img {
|
|
|
- width: 44px !important;
|
|
|
- height: 44px !important;
|
|
|
-
|
|
|
- @media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
- width: 60px !important;
|
|
|
- height: 60px !important;
|
|
|
- }
|
|
|
-
|
|
|
- @media screen and (min-width: 2000px) {
|
|
|
- width: 80px !important;
|
|
|
- height: 80px !important;
|
|
|
- }
|
|
|
+ // width: 44px !important;
|
|
|
+ // height: 44px !important;
|
|
|
+
|
|
|
+ // @media screen and (min-width: 1000px) and (max-width: 2000px) {
|
|
|
+ // width: 60px !important;
|
|
|
+ // height: 60px !important;
|
|
|
+ // }
|
|
|
+
|
|
|
+ // @media screen and (min-width: 2000px) {
|
|
|
+ // width: 80px !important;
|
|
|
+ // height: 80px !important;
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -611,6 +660,33 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .backBtn {
|
|
|
+ cursor: pointer;
|
|
|
+ position: fixed;
|
|
|
+ z-index: 99;
|
|
|
+ top: 36px;
|
|
|
+ left: 10px;
|
|
|
+ opacity: 1;
|
|
|
+ pointer-events: auto;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
.myViewShowBox {
|
|
|
cursor: pointer;
|
|
|
position: fixed;
|
|
@@ -699,9 +775,9 @@ export default {
|
|
|
transition: all 0.3s;
|
|
|
transform: rotate(90deg);
|
|
|
|
|
|
- @media screen and (min-width: 1000px) {
|
|
|
- right: 98px;
|
|
|
- }
|
|
|
+ // @media screen and (min-width: 1000px) {
|
|
|
+ // right: 98px;
|
|
|
+ // }
|
|
|
|
|
|
.smMapBoxSon {
|
|
|
border-radius: 0 0 4px 4px;
|
|
@@ -715,6 +791,10 @@ export default {
|
|
|
position: relative;
|
|
|
top: -5px;
|
|
|
width: 20px;
|
|
|
+
|
|
|
+ @media screen and (max-width: 1000px) {
|
|
|
+ top: -10px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|