hookehuyr

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

- 调整菜单项顺序和内容,将"活动报名"和"人员信息"放在更显眼位置
- 移除未使用的退出登录按钮代码
- 合并消息中心到主菜单,简化菜单结构
...@@ -101,12 +101,12 @@ ...@@ -101,12 +101,12 @@
101 <div class="text-center text-xs text-gray-400 mb-4">美乐爱觉教育</div> 101 <div class="text-center text-xs text-gray-400 mb-4">美乐爱觉教育</div>
102 102
103 <!-- Logout Button --> 103 <!-- Logout Button -->
104 - <button 104 + <!-- <button
105 @click="handleLogout" 105 @click="handleLogout"
106 class="w-full bg-white/70 backdrop-blur-sm text-red-500 py-3 rounded-xl mb-6 font-medium shadow-sm" 106 class="w-full bg-white/70 backdrop-blur-sm text-red-500 py-3 rounded-xl mb-6 font-medium shadow-sm"
107 > 107 >
108 退出登录 108 退出登录
109 - </button> 109 + </button> -->
110 </div> 110 </div>
111 </div> 111 </div>
112 </AppLayout> 112 </AppLayout>
...@@ -235,19 +235,24 @@ const menuItems1 = [ ...@@ -235,19 +235,24 @@ const menuItems1 = [
235 badge: "", 235 badge: "",
236 }, 236 },
237 { 237 {
238 - icon: "user", 238 + icon: "wallet",
239 - title: "我的活动", 239 + title: "活动报名",
240 path: "/profile/activities", 240 path: "/profile/activities",
241 }, 241 },
242 { 242 {
243 + icon: "user",
244 + title: "人员信息",
245 + path: "/profile/userinfo",
246 + },
247 + {
243 icon: "book", 248 icon: "book",
244 title: "我的课程", 249 title: "我的课程",
245 path: "/profile/courses", 250 path: "/profile/courses",
246 }, 251 },
247 { 252 {
248 - icon: "heart", 253 + icon: "document",
249 - title: "我的收藏", 254 + title: "课程订单",
250 - path: "/profile/favorites", 255 + path: "/profile/orders",
251 }, 256 },
252 ]; 257 ];
253 258
...@@ -258,24 +263,24 @@ const menuItems2 = [ ...@@ -258,24 +263,24 @@ const menuItems2 = [
258 // path: "/profile/wallet", 263 // path: "/profile/wallet",
259 // }, 264 // },
260 { 265 {
261 - icon: "document", 266 + icon: "heart",
262 - title: "我的订单", 267 + title: "我的收藏",
263 - path: "/profile/orders", 268 + path: "/profile/favorites",
264 }, 269 },
265 { 270 {
266 icon: "chat", 271 icon: "chat",
267 title: "我的圈子", 272 title: "我的圈子",
268 path: "/profile/community", 273 path: "/profile/community",
269 }, 274 },
270 -];
271 -
272 -const menuItems3 = ref([
273 { 275 {
274 icon: "email", 276 icon: "email",
275 - title: "消息中心", 277 + title: "我的消息",
276 path: "/profile/messages", 278 path: "/profile/messages",
277 badge: "", 279 badge: "",
278 }, 280 },
281 +];
282 +
283 +const menuItems3 = ref([
279 { 284 {
280 icon: "question", 285 icon: "question",
281 title: "帮助中心", 286 title: "帮助中心",
......