forked from drone/command-center-dashboard

罗广辉
2025-03-27 81baaa36ffadbcdb76eba7fce76dbb81a9603048
src/views/Home/Home.vue
@@ -1,27 +1,29 @@
<script setup></script>
<template>
  <div class="left">10</div>
  <div class="right">20</div>
    <HomeLeft></HomeLeft>
    <!-- <div>中间搜索</div> -->
    <HomeRight></HomeRight>
</template>
<style scoped lang="scss">
div {
  font-size: 20px;
}
<script>
import HomeRight from './components/HomeRight/HomeRight.vue';
import HomeLeft from '@/views/Home/components/HomeLeft/HomeLeft.vue';
.left {
  left: 0;
  position: absolute;
  width: 300px;
  height: 100%;
  background: #2b373d;
}
.right{
  right: 0;
  position: absolute;
  width: 300px;
  height: 100%;
  background: #2b373d;
}
export default {
  components: {
    HomeLeft,
    HomeRight,
  },
  name: 'index',
  provide() {
    return {
      index: this,
    };
  },
  computed: {},
  props: [],
  methods: {},
  mounted() {},
};
</script>
<style scoped lang="scss">
</style>