hookehuyr

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

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