|
@@ -4,35 +4,37 @@
|
|
|
<div class="pageContainer-body">
|
|
|
<Breadcrumb></Breadcrumb>
|
|
|
|
|
|
- <div class="pageContainer-content" >
|
|
|
- <happy-scroll color="#dedfe1" size="5" resize v-if="contentShow" hide-horizontal>
|
|
|
- <router-view />
|
|
|
- </happy-scroll>
|
|
|
+ <div class="pageContainer-content">
|
|
|
+ <router-view />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import {defineAsyncComponent} from "vue";
|
|
|
+import { defineAsyncComponent } from "vue";
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
contentShow: false,
|
|
|
- }
|
|
|
+ };
|
|
|
},
|
|
|
components: {
|
|
|
- ContainerAside: defineAsyncComponent(() => import("@/components/home/ContainerAside.vue")),
|
|
|
- Breadcrumb: defineAsyncComponent(() => import("@/components/breadcrumb/iotBreadcrumb.vue")),
|
|
|
+ ContainerAside: defineAsyncComponent(() =>
|
|
|
+ import("@/components/home/ContainerAside.vue")
|
|
|
+ ),
|
|
|
+ Breadcrumb: defineAsyncComponent(() =>
|
|
|
+ import("@/components/breadcrumb/iotBreadcrumb.vue")
|
|
|
+ ),
|
|
|
},
|
|
|
watch: {
|
|
|
$route(val) {
|
|
|
- this.initScroll()
|
|
|
- }
|
|
|
+ this.initScroll();
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.initScroll()
|
|
|
+ this.initScroll();
|
|
|
},
|
|
|
methods: {
|
|
|
initScroll() {
|
|
@@ -40,10 +42,10 @@ export default {
|
|
|
this.contentShow = false;
|
|
|
setTimeout(function () {
|
|
|
app.contentShow = true;
|
|
|
- }, 50)
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
+ }, 50);
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|