|
@@ -140,6 +140,14 @@
|
|
|
:src="require('@/assets/images/icon/floor_active.png')"
|
|
|
/>
|
|
|
</div>
|
|
|
+
|
|
|
+ <!-- 热点列表 -->
|
|
|
+ <div id="hotList" @click="openInd = 1">
|
|
|
+ <!-- 鼠标移入的显示 -->
|
|
|
+ <div class="hoverTit">热点列表</div>
|
|
|
+ <img src="../../assets/img/hot.png" alt="" />
|
|
|
+ </div>
|
|
|
+
|
|
|
<div
|
|
|
data-original-title="VR"
|
|
|
id="vr"
|
|
@@ -153,21 +161,6 @@
|
|
|
/>
|
|
|
</div>
|
|
|
<div
|
|
|
- data-original-title="热点列表"
|
|
|
- id="hotList"
|
|
|
- rel="tooltip"
|
|
|
- title=""
|
|
|
- >
|
|
|
- <img
|
|
|
- class="icon icon-inside"
|
|
|
- :src="require('@/assets/images/hotlist.png')"
|
|
|
- />
|
|
|
- <img
|
|
|
- class="icon icon-inside active"
|
|
|
- :src="require('@/assets/images/hotlist.png')"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div
|
|
|
data-original-title="消除外壳"
|
|
|
id="gui-remove-face"
|
|
|
rel="tooltip"
|
|
@@ -223,6 +216,13 @@
|
|
|
<img src="../../assets/img/toHome.png" alt="" />
|
|
|
</div>
|
|
|
|
|
|
+ <!-- vr -->
|
|
|
+ <div class="toHomeBox" @click="openVR">
|
|
|
+ <!-- 鼠标移入的显示 -->
|
|
|
+ <div class="hoverTit">VR</div>
|
|
|
+ <img src="../../assets/img/openVR.png" alt="" />
|
|
|
+ </div>
|
|
|
+
|
|
|
<!-- 音乐 -->
|
|
|
<div id="volume" class="ui-icon bgandshare wide">
|
|
|
<!-- 鼠标移入的显示 -->
|
|
@@ -244,62 +244,39 @@
|
|
|
/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- 全屏 -->
|
|
|
- <div
|
|
|
- id="gui-fullscreen"
|
|
|
- class="ui-icon wide"
|
|
|
- data-placement="top"
|
|
|
- rel="tooltip"
|
|
|
- >
|
|
|
+ <!-- 分享 -->
|
|
|
+ <div class="toHomeBox" @click="openInd = 2">
|
|
|
<!-- 鼠标移入的显示 -->
|
|
|
- <div class="hoverTit">全屏浏览</div>
|
|
|
- <a>
|
|
|
- <img :src="require('@/assets/img/full.png')" />
|
|
|
- </a>
|
|
|
- </div>
|
|
|
- <div
|
|
|
- id="gui-fullscreen-exit"
|
|
|
- class="ui-icon wide"
|
|
|
- data-placement="top"
|
|
|
- rel="tooltip"
|
|
|
- style="display: none"
|
|
|
- >
|
|
|
- <div class="hoverTit">退出全屏</div>
|
|
|
- <a>
|
|
|
- <img
|
|
|
- :src="require('@/assets/img/fullAc.png')"
|
|
|
- style="width: 50px"
|
|
|
- />
|
|
|
- </a>
|
|
|
+ <div class="hoverTit">分享</div>
|
|
|
+ <img src="../../assets/img/share.png" alt="" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
+ <div class="openBox" :class="{ openBoxAc: openInd }">
|
|
|
+ <HotList v-if="openInd === 1" @close="openInd = 0" />
|
|
|
+ <Share v-show="openInd === 2" @close="openInd = 0" :openInd='openInd'/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import HotList from "./components/hotList.vue";
|
|
|
+import Share from "./components/share.vue";
|
|
|
+
|
|
|
export default {
|
|
|
- components: {},
|
|
|
+ components: { HotList, Share },
|
|
|
data() {
|
|
|
return {
|
|
|
isGuide: true,
|
|
|
musicState: false,
|
|
|
+ // vr---热点列表---分享
|
|
|
+ openInd: 0,
|
|
|
};
|
|
|
},
|
|
|
watch: {},
|
|
|
computed: {},
|
|
|
- mounted() {
|
|
|
- let url = window.location.href;
|
|
|
- const obj = {
|
|
|
- "KJ-ztJ9nPQyf64": "精品文物展厅",
|
|
|
- "KJ-wlpyvYdFNXN": "书画厅",
|
|
|
- "KJ-Rytmid9ku2a": "中国仡佬族民族文化展厅",
|
|
|
- };
|
|
|
-
|
|
|
- for (const k in obj) {
|
|
|
- if (url.includes(k)) this.leftTitleTxt = obj[k];
|
|
|
- }
|
|
|
- },
|
|
|
+ mounted() {},
|
|
|
methods: {
|
|
|
switchBGM(flag) {
|
|
|
this.musicState = flag;
|
|
@@ -313,21 +290,20 @@ export default {
|
|
|
document.querySelector("#closeMusic").style.display = "none";
|
|
|
}
|
|
|
},
|
|
|
+ // 点击vr
|
|
|
+ openVR() {
|
|
|
+ window.open("https://www.720yun.com/t/acvkiwdegqb?scene_id=34882556");
|
|
|
+ },
|
|
|
// 点击回到首页
|
|
|
toHomeFu() {
|
|
|
- window.location.href = "/pc/index.html#/";
|
|
|
- setTimeout(() => {
|
|
|
- location.reload(true);
|
|
|
- }, 200);
|
|
|
+ this.switchBGM(false);
|
|
|
+ this.$emit("toHome");
|
|
|
},
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
-#hotList {
|
|
|
- display: none !important;
|
|
|
-}
|
|
|
::-webkit-scrollbar {
|
|
|
width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
|
|
|
}
|
|
@@ -534,4 +510,33 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.pinBottom-container {
|
|
|
+ #hotList {
|
|
|
+ position: relative;
|
|
|
+ float: left;
|
|
|
+ width: 70px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ cursor: pointer;
|
|
|
+ }
|
|
|
+ .openBox {
|
|
|
+ opacity: 0;
|
|
|
+ pointer-events: none;
|
|
|
+ transition: all 0.3s;
|
|
|
+ position: fixed;
|
|
|
+ z-index: 9999;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ // background-color: rgba(255, 255, 255, 0.6);
|
|
|
+ backdrop-filter: blur(10px);
|
|
|
+ }
|
|
|
+ .openBoxAc {
|
|
|
+ opacity: 1;
|
|
|
+ pointer-events: auto;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|