From c28f27e7a03e9c14422ae787d412c286b6ad501c Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期三, 26 六月 2024 17:49:51 +0800 Subject: [PATCH] fix:修改时间问题 --- src/views/home/index.vue | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index a8cf7f0..8ea1bc8 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,15 +1,25 @@ <template> - <UserPanel></UserPanel> - <div class="test"></div> + <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> -.test { - height: 500px; +:deep(.card) { + border-radius: 30px; } + +@media (min-width: 1836px) { + .container { + max-width: 1724px; + } +} + </style> \ No newline at end of file -- Gitblit v1.8.0