hookehuyr

fix: 更新活动页面跳转链接并移除开发环境域名

更新底部导航和个人资料页的活动页面跳转链接,统一使用生产环境域名
移除个人资料页中已注释的作业管理菜单项
<!--
* @Date: 2025-03-20 20:36:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-13 14:53:20
* @LastEditTime: 2025-12-01 16:14:16
* @FilePath: /mlaj/src/components/layout/BottomNav.vue
* @Description: 文件描述
-->
......@@ -77,7 +77,8 @@ const isActive = (path) => {
const handleNavClick = (item) => {
if (item.path === '/activity') {
// showToast('功能暂未开放')
window.open('https://wxm.behalo.cc/pages/activity/activity', '_blank')
// TODO: 活动页面跳转
window.open('https://wxm.behalo.cc/pages/activity/activity?token=&user_id=', '_blank')
return
}
if (item.path === '/profile' && !currentUser.value) {
......
......@@ -196,10 +196,10 @@ const handleMenuClick = (path) => {
showToast('功能暂未开放')
} else if(path === '/profile/activities') {
// showToast('功能暂未开放')
window.location.href = 'https://wxm-dev.behalo.cc/pages/activity/activity?token=&user_id=';
window.location.href = 'https://wxm.behalo.cc/pages/tabBar/mine/application?type=2';
} else if(path === '/profile/userinfo') {
// showToast('功能暂未开放')
window.location.href = 'https://wxm-dev.behalo.cc/pages/student/student?token=&user_id=';
window.location.href = 'https://wxm.behalo.cc/pages/student/student?token=&user_id=';
} else {
router.push(path);
}
......@@ -319,6 +319,11 @@ const menuItems4 = ref([
title: "我的班级",
path: "/teacher/myClass",
},
// {
// icon: "book",
// title: "作业管理",
// path: "/teacher/tasks",
// },
]);
const handleCheckin = () => {
......