style(layout): 调整默认布局样式并更新个人资料页面- 移除 default.vue 中的多余内边距

- 更新 profile 页面的显示内容
This commit is contained in:
xingyy 2025-01-10 16:47:27 +08:00
parent c132816a9f
commit aedc187a96
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<main class="flex flex-col min-h-svh"> <main class="flex flex-col min-h-svh">
<AppHeader class="h-[var(--van-nav-bar-height)]" /> <AppHeader class="h-[var(--van-nav-bar-height)]" />
<div class="flex-1 p-16 pb-[var(--van-nav-bar-height)]"> <div class="flex-1 pb-[var(--van-nav-bar-height)]">
<slot /> <slot />
</div> </div>

View File

@ -1,4 +1,4 @@
<script setup lang="ts"> <script setup>
definePageMeta({ definePageMeta({
layout: 'default', layout: 'default',
title: '我的', title: '我的',
@ -8,6 +8,6 @@ definePageMeta({
<template> <template>
<div> <div>
{{ $t('profile_page.txt') }} 12312
</div> </div>
</template> </template>