2025-03-31 15:26:29 +00:00
|
|
|
<!-- src/App.vue -->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="app-container">
|
|
|
|
|
<headerTop :homeData="homeView" />
|
|
|
|
|
<LeftSidebar :homeData="homeView" />
|
|
|
|
|
<RightSidebar :homeData="homeView" />
|
2025-03-31 15:56:59 +00:00
|
|
|
<Footer />
|
2025-03-31 15:26:29 +00:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import headerTop from "./headerTop/index.vue";
|
|
|
|
|
import LeftSidebar from "./LeftSidebar/index.vue";
|
|
|
|
|
import RightSidebar from "./RightSidebar/index.vue";
|
2025-03-31 15:56:59 +00:00
|
|
|
import Footer from "./Footer/index.vue";
|
2025-03-31 15:26:29 +00:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: "App",
|
|
|
|
|
components: {
|
|
|
|
|
headerTop,
|
|
|
|
|
LeftSidebar,
|
2025-03-31 15:56:59 +00:00
|
|
|
RightSidebar,
|
|
|
|
|
Footer
|
2025-03-31 15:26:29 +00:00
|
|
|
},
|
|
|
|
|
props: {
|
|
|
|
|
homeData: {
|
|
|
|
|
type: Object,
|
|
|
|
|
default: () => ({})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
homeView: {}
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
homeData: {
|
|
|
|
|
handler(newVal) {
|
|
|
|
|
this.homeView = newVal;
|
|
|
|
|
},
|
|
|
|
|
deep: true
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style>
|