hookehuyr

refactor(profile): 重构个人中心菜单项和移除退出按钮

- 调整菜单项顺序和内容,将"活动报名"和"人员信息"放在更显眼位置
- 移除未使用的退出登录按钮代码
- 合并消息中心到主菜单,简化菜单结构
......@@ -101,12 +101,12 @@
<div class="text-center text-xs text-gray-400 mb-4">美乐爱觉教育</div>
<!-- Logout Button -->
<button
<!-- <button
@click="handleLogout"
class="w-full bg-white/70 backdrop-blur-sm text-red-500 py-3 rounded-xl mb-6 font-medium shadow-sm"
>
退出登录
</button>
</button> -->
</div>
</div>
</AppLayout>
......@@ -235,19 +235,24 @@ const menuItems1 = [
badge: "",
},
{
icon: "user",
title: "我的活动",
icon: "wallet",
title: "活动报名",
path: "/profile/activities",
},
{
icon: "user",
title: "人员信息",
path: "/profile/userinfo",
},
{
icon: "book",
title: "我的课程",
path: "/profile/courses",
},
{
icon: "heart",
title: "我的收藏",
path: "/profile/favorites",
icon: "document",
title: "课程订单",
path: "/profile/orders",
},
];
......@@ -258,24 +263,24 @@ const menuItems2 = [
// path: "/profile/wallet",
// },
{
icon: "document",
title: "我的订单",
path: "/profile/orders",
icon: "heart",
title: "我的收藏",
path: "/profile/favorites",
},
{
icon: "chat",
title: "我的圈子",
path: "/profile/community",
},
];
const menuItems3 = ref([
{
icon: "email",
title: "消息中心",
title: "我的消息",
path: "/profile/messages",
badge: "",
},
];
const menuItems3 = ref([
{
icon: "question",
title: "帮助中心",
......