src/views/home/index.vue
@@ -1,10 +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> :deep(.card) { border-radius: 30px; } @media (min-width: 1836px) { .container { max-width: 1724px; } } </style>