添加了个人中心界面的母版页,统一了个人中心界面风格

This commit is contained in:
puzvv
2025-12-30 21:06:32 +08:00
parent f89327b609
commit ec89dc43e6
7 changed files with 511 additions and 262 deletions

View File

@@ -29,7 +29,7 @@ import {
import { getUserProfile, updateUserProfile } from "@/apis/user";
import { useUserStore } from "@/stores/UserStore";
import type { UserInfo } from "@/types/user";
import MainLayout from "@/layouts/MainLayout.vue";
import UserLayout from "@/layouts/UserLayout.vue";
// 用户信息
const userInfo = ref<UserInfo | null>(null);
@@ -247,7 +247,7 @@ onMounted(() => {
</script>
<template>
<MainLayout>
<UserLayout>
<div class="profile-page">
<div class="container mx-auto px-4 py-8">
<el-card class="profile-card">
@@ -435,7 +435,7 @@ onMounted(() => {
</span>
</template>
</el-dialog>
</MainLayout>
</UserLayout>
</template>
<style scoped>