From 55dc742fb4ee17be13ce57bc78cf3eee9ee90f9f Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 28 Mar 2025 11:24:25 +0800
Subject: [PATCH] feat: 修改格式化样式
---
src/views/Home/Home.vue | 39 +++++++++++++++++----------------------
1 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 9348361..8c17d8f 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -1,27 +1,22 @@
-<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 setup>
+import HomeRight from './components/HomeRight/HomeRight.vue';
+import HomeLeft from '@/views/Home/components/HomeLeft/HomeLeft.vue';
+import { getAggregation } from '@/views/Home/aggregation';
-.left {
- left: 0;
- position: absolute;
- width: 300px;
- height: 100%;
- background: #2b373d;
-}
-.right{
- right: 0;
- position: absolute;
- width: 300px;
- height: 100%;
- background: #2b373d;
-}
+onMounted(() => {
+ nextTick(() => {
+ getAggregation()
+ })
+})
+
+
+
+</script>
+<style scoped lang="scss">
</style>
--
Gitblit v1.9.3