|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <el-container class="el-container" id="elcontainerid">
|
|
|
+ <el-container class="el-container" id="elcontainerid">
|
|
|
<!-- <div class="el-aside">
|
|
|
<div class="side-menu">
|
|
|
<div class="top">
|
|
@@ -14,68 +14,62 @@
|
|
|
</div>
|
|
|
</div> -->
|
|
|
<el-main class="el-main">
|
|
|
- <router-view></router-view>
|
|
|
+ <router-view></router-view>
|
|
|
</el-main>
|
|
|
+ <audiLogoComp></audiLogoComp>
|
|
|
</el-container>
|
|
|
</template>
|
|
|
<script>
|
|
|
- import './reset.less'
|
|
|
- import './index.less'
|
|
|
- import NavMenu from './NavMenu';
|
|
|
- export default {
|
|
|
- data() {
|
|
|
- return {
|
|
|
- mode: 'floorplan'
|
|
|
- }
|
|
|
- },
|
|
|
- components: {NavMenu},
|
|
|
- methods:{
|
|
|
- modeChange() {
|
|
|
- // window.sdkInstance.changeMode("panorama");
|
|
|
- // this.$router.push({path: '/home?m=8b934420_ZJUb_b6f9'})
|
|
|
- if(window.location.href.indexOf('home')!==-1)
|
|
|
- {
|
|
|
- window.location.href = '/?m=8b934420_ZJUb_b6f9';
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- this.$store.dispatch('common/setSquareStatus', false)
|
|
|
- }
|
|
|
- },
|
|
|
- goMantis() {
|
|
|
- window.location.href = 'http://139.196.158.57:8080/mantis/#/dashboard';
|
|
|
- },
|
|
|
- goKpm() {
|
|
|
- window.location.href = 'http://106.14.237.165/kpm/#/list/kpm-list';
|
|
|
- },
|
|
|
- goAutoGo() {
|
|
|
- window.location.href = 'http://139.196.158.57/#/Overview';
|
|
|
- },
|
|
|
- goHome() {
|
|
|
- window.location.href = '/?m=8b934420_ZJUb_b6f9';
|
|
|
- }
|
|
|
- },
|
|
|
- created() {
|
|
|
- setTimeout(
|
|
|
- function () {
|
|
|
- let container = document.getElementById('elcontainerid');
|
|
|
- container.style.backgroundImage = window.location.href.indexOf('home')!==-1?'none':"url('../../images/3d.png')";
|
|
|
- container.style.backgroundColor = '#2a2d45';
|
|
|
- },
|
|
|
- 50
|
|
|
- );
|
|
|
-
|
|
|
- },
|
|
|
- }
|
|
|
+import "./reset.less";
|
|
|
+import "./index.less";
|
|
|
+import NavMenu from "./NavMenu";
|
|
|
+import audiLogoComp from "../audiLogoAnimation/index.vue";
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ mode: "floorplan",
|
|
|
+ };
|
|
|
+ },
|
|
|
+ components: { NavMenu, audiLogoComp },
|
|
|
+ methods: {
|
|
|
+ modeChange() {
|
|
|
+ // window.sdkInstance.changeMode("panorama");
|
|
|
+ // this.$router.push({path: '/home?m=8b934420_ZJUb_b6f9'})
|
|
|
+ if (window.location.href.indexOf("home") !== -1) {
|
|
|
+ window.location.href = "/?m=8b934420_ZJUb_b6f9";
|
|
|
+ } else {
|
|
|
+ this.$store.dispatch("common/setSquareStatus", false);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ goMantis() {
|
|
|
+ window.location.href = "http://139.196.158.57:8080/mantis/#/dashboard";
|
|
|
+ },
|
|
|
+ goKpm() {
|
|
|
+ window.location.href = "http://106.14.237.165/kpm/#/list/kpm-list";
|
|
|
+ },
|
|
|
+ goAutoGo() {
|
|
|
+ window.location.href = "http://139.196.158.57/#/Overview";
|
|
|
+ },
|
|
|
+ goHome() {
|
|
|
+ window.location.href = "/?m=8b934420_ZJUb_b6f9";
|
|
|
+ },
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ setTimeout(function () {
|
|
|
+ let container = document.getElementById("elcontainerid");
|
|
|
+ // container.style.backgroundImage = window.location.href.indexOf('home')!==-1?'none':"url('../../images/3d.png')";
|
|
|
+ // container.style.backgroundColor = '#2a2d45';
|
|
|
+ }, 50);
|
|
|
+ },
|
|
|
+};
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
-.el-aside .side-menu{
|
|
|
+.el-aside .side-menu {
|
|
|
padding: 30px 10px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
height: 100%;
|
|
|
-
|
|
|
}
|
|
|
.bottom .btn {
|
|
|
width: 100%;
|
|
@@ -105,25 +99,45 @@
|
|
|
.icon.home {
|
|
|
background-image: url(../../assets/home.png);
|
|
|
}
|
|
|
-:deep(.el-main){
|
|
|
+:deep(.el-main) {
|
|
|
height: 800;
|
|
|
overflow: auto;
|
|
|
scrollbar-width: 0px; /* 定义滚动条的宽度 */
|
|
|
scrollbar-color: transparent transparent; /* 定义滚动条的颜色 */
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
/* 隐藏滚动条 */
|
|
|
:deep(.el-main::-webkit-scrollbar) {
|
|
|
width: 0px; /* 定义滚动条宽度 */
|
|
|
height: 0px;
|
|
|
background-color: transparent; /* 滚动条背景颜色 */
|
|
|
}
|
|
|
-
|
|
|
</style>
|
|
|
<style scoped>
|
|
|
-.el-container{
|
|
|
+.el-container {
|
|
|
background-repeat: no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
background-position: center;
|
|
|
+ /* min-height: 100vh; */
|
|
|
+ /* color: #e2e4f3; */
|
|
|
+ background-image: linear-gradient(
|
|
|
+ -147deg,
|
|
|
+ rgba(95, 104, 133, 0.75),
|
|
|
+ rgba(30, 34, 51, 0.75)
|
|
|
+ ),
|
|
|
+ url(../../images/mountainBg.jpg);
|
|
|
+ position: relative;
|
|
|
+ overflow: hidden;
|
|
|
+}
|
|
|
+
|
|
|
+.audiLogoBox {
|
|
|
+ position: absolute;
|
|
|
+ z-index: 5;
|
|
|
+ right: 0;
|
|
|
+ bottom: 50px;
|
|
|
+ transform: scale(0.5);
|
|
|
+ height: 20%;
|
|
|
+ width: 30%;
|
|
|
+ opacity: 0.2;
|
|
|
}
|
|
|
</style>
|