ly-front/src/views/contentData/index.vue

60 lines
1.1 KiB
Vue
Raw Normal View History

2025-03-31 15:26:29 +00:00
<!-- src/App.vue -->
<template>
<div class="app-container">
<headerTop :homeData="homeView" />
2025-04-01 16:12:21 +00:00
<LeftSidebar :homeData="homeView" :signaData="signaList" />
2025-06-19 15:41:07 +00:00
<!-- <RightSidebar :homeData="homeView" /> -->
<!-- <Footer /> -->
2025-03-31 15:26:29 +00:00
</div>
</template>
<script>
import headerTop from "./headerTop/index.vue";
import LeftSidebar from "./LeftSidebar/index.vue";
2025-06-19 15:41:07 +00:00
// import RightSidebar from "./RightSidebar/index.vue";
// import Footer from "./Footer/index.vue";
2025-03-31 15:26:29 +00:00
export default {
name: "App",
components: {
headerTop,
2025-06-19 15:41:07 +00:00
LeftSidebar
// RightSidebar
// Footer
2025-03-31 15:26:29 +00:00
},
props: {
homeData: {
type: Object,
default: () => ({})
2025-04-01 16:12:21 +00:00
},
signaData: {
type: Array,
default: () => []
2025-03-31 15:26:29 +00:00
}
},
data() {
return {
2025-04-01 16:12:21 +00:00
homeView: {},
signaList: []
2025-03-31 15:26:29 +00:00
};
},
watch: {
homeData: {
handler(newVal) {
this.homeView = newVal;
},
deep: true
2025-04-01 16:12:21 +00:00
},
signaData: {
handler(newVal) {
this.signaList = newVal;
},
deep: true
2025-03-31 15:26:29 +00:00
}
},
mounted() {}
};
</script>
<style lang="scss" scoped></style>