From 06419b10e17c72e07f1c740836e5abb79df619d0 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期一, 04 十一月 2024 17:55:38 +0800
Subject: [PATCH] 搭建错题本页面
---
src/views/home/index.vue | 21 +++++++++++++++++++--
1 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 9f83882..8ea1bc8 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -1,8 +1,25 @@
<template>
-
+ <div class="home-page container mx-auto flex justify-between py-6">
+ <UserPanel class="flex-shrink-0 mr-5 sticky top-6"></UserPanel>
+ <InfoPanel class="grow"></InfoPanel>
+ </div>
</template>
<script setup>
+import UserPanel from './components/user-panel/index.vue';
+import InfoPanel from './components/info-panel/index.vue';
+
</script>
-<style lang="scss" scoped></style>
\ No newline at end of file
+<style lang="scss" scoped>
+:deep(.card) {
+ border-radius: 30px;
+}
+
+@media (min-width: 1836px) {
+ .container {
+ max-width: 1724px;
+ }
+}
+
+</style>
\ No newline at end of file
--
Gitblit v1.8.0