From f7d854e455563a0143e83d4890002db1c7fffc5d Mon Sep 17 00:00:00 2001
From: luoguanghui <luoguanghui@0791jx.cn>
Date: Wed, 26 Mar 2025 21:21:20 +0800
Subject: [PATCH] docs: 添加规范
---
src/views/Home/Home.vue | 57 ++++++++++++++++++++++++++++++++++++---------------------
1 files changed, 36 insertions(+), 21 deletions(-)
diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue
index 9348361..1d5be42 100644
--- a/src/views/Home/Home.vue
+++ b/src/views/Home/Home.vue
@@ -1,27 +1,42 @@
-<script setup></script>
-
<template>
- <div class="left">10</div>
- <div class="right">20</div>
+ <div class="warp">
+ <HomeLeft></HomeLeft>
+ <!-- <div>中间搜索</div> -->
+ <HomeRight></HomeRight>
+ </div>
</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">
+.page-home {
+ height: 100vh;
+ width: 100%;
+ background-size: 100% 100%;
+ background-repeat: no-repeat;
+ font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
+ .warp {
+ display: flex;
+ justify-content: space-between;
+ }
}
</style>
--
Gitblit v1.9.3