|
@@ -1,14 +1,7 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="main">
|
|
|
|
|
- <Header></Header>
|
|
|
|
|
- <el-scrollbar ref="pagescrollbar" view-style="height:100%">
|
|
|
|
|
- <router-view />
|
|
|
|
|
- <Footer></Footer>
|
|
|
|
|
- </el-scrollbar>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <router-view />
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
-import { defineAsyncComponent } from "vue";
|
|
|
|
|
import api from "@/api/common";
|
|
import api from "@/api/common";
|
|
|
export default {
|
|
export default {
|
|
|
name: "App",
|
|
name: "App",
|
|
@@ -17,12 +10,6 @@ export default {
|
|
|
loadedScripts: [],
|
|
loadedScripts: [],
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- components: {
|
|
|
|
|
- Header: defineAsyncComponent(() =>
|
|
|
|
|
- import("@/components/AppVue/Header.vue")
|
|
|
|
|
- ),
|
|
|
|
|
- Footer: defineAsyncComponent(() => import("@/components/AppVue/Footer.vue"))
|
|
|
|
|
- },
|
|
|
|
|
mounted() {
|
|
mounted() {
|
|
|
let that = this;
|
|
let that = this;
|
|
|
window.loadScripts = this.loadScripts
|
|
window.loadScripts = this.loadScripts
|
|
@@ -72,6 +59,7 @@ export default {
|
|
|
// return ww < wh ? ww : wh;
|
|
// return ww < wh ? ww : wh;
|
|
|
return ww
|
|
return ww
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
initScript() {
|
|
initScript() {
|
|
|
let that = this;
|
|
let that = this;
|
|
|
window.SkySceneryConfig = {
|
|
window.SkySceneryConfig = {
|
|
@@ -162,18 +150,4 @@ html {
|
|
|
transform-origin: left top;
|
|
transform-origin: left top;
|
|
|
transform: translate(-50%, 0%);
|
|
transform: translate(-50%, 0%);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
-.main {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- height: 100%;
|
|
|
|
|
- margin: 0 auto;
|
|
|
|
|
- overflow: hidden;
|
|
|
|
|
-
|
|
|
|
|
- .el-scrollbar {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- height: calc(100% - 70px);
|
|
|
|
|
- box-sizing: border-box;
|
|
|
|
|
- overflow: hidden;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
</style>
|
|
</style>
|