|
@@ -2,7 +2,7 @@
|
|
<div class="hotspot" :class="{ full: smBtn }">
|
|
<div class="hotspot" :class="{ full: smBtn }">
|
|
<div class="top">热点列表</div>
|
|
<div class="top">热点列表</div>
|
|
<div class="main">
|
|
<div class="main">
|
|
- <div class="txtNone" v-if="data.length===0">暂无热点</div>
|
|
|
|
|
|
+ <div class="txtNone" v-if="data.length === 0">暂无热点</div>
|
|
<div class="txt" v-else>
|
|
<div class="txt" v-else>
|
|
<span
|
|
<span
|
|
:class="{ active: hotInd === index }"
|
|
:class="{ active: hotInd === index }"
|
|
@@ -42,6 +42,9 @@ export default {
|
|
//方法集合
|
|
//方法集合
|
|
methods: {
|
|
methods: {
|
|
openHot(e, index) {
|
|
openHot(e, index) {
|
|
|
|
+ // 停止自动导览
|
|
|
|
+ window.player.director.stopTour()
|
|
|
|
+
|
|
e && e.examine(window.player, true);
|
|
e && e.examine(window.player, true);
|
|
this.hotInd = index;
|
|
this.hotInd = index;
|
|
},
|
|
},
|
|
@@ -85,7 +88,7 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
height: calc(100% - 100px);
|
|
height: calc(100% - 100px);
|
|
background-color: rgba(255, 246, 210, 1);
|
|
background-color: rgba(255, 246, 210, 1);
|
|
- .txtNone{
|
|
|
|
|
|
+ .txtNone {
|
|
height: 90%;
|
|
height: 90%;
|
|
color: #7e522f;
|
|
color: #7e522f;
|
|
font-size: 24px;
|
|
font-size: 24px;
|
|
@@ -125,9 +128,9 @@ export default {
|
|
height: 10%;
|
|
height: 10%;
|
|
background: url("../../../assets/img/closeT.png") no-repeat center center;
|
|
background: url("../../../assets/img/closeT.png") no-repeat center center;
|
|
background-size: 44px 44px;
|
|
background-size: 44px 44px;
|
|
- &:hover{
|
|
|
|
- background: url("../../../assets/img/close.png") no-repeat center center;
|
|
|
|
- background-size: 44px 44px;
|
|
|
|
|
|
+ &:hover {
|
|
|
|
+ background: url("../../../assets/img/close.png") no-repeat center center;
|
|
|
|
+ background-size: 44px 44px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|