From 03f400f9c92797e857a7d4f5a596d909a5d8d870 Mon Sep 17 00:00:00 2001 From: wuzhen <52326163@qq.com> Date: Sun, 17 Aug 2025 14:25:53 +0800 Subject: [PATCH] wuzhen update --- mobile/src/pages.json | 32 ++++++++++++++++++++++++++++++++ mobile/src/pages/index/index.vue | 25 ++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/mobile/src/pages.json b/mobile/src/pages.json index 4a01ca34..415152cc 100644 --- a/mobile/src/pages.json +++ b/mobile/src/pages.json @@ -127,6 +127,38 @@ "navigationBarBackgroundColor": "#0051d9", "navigationBarTextStyle": "white" } + }, + { + "path": "pages/visit/index", + "style": { + "navigationBarTitleText": "班主任走访", + "navigationBarBackgroundColor": "#0051d9", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/visit/add", + "style": { + "navigationBarTitleText": "新增走访", + "navigationBarBackgroundColor": "#0051d9", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/visit/detail", + "style": { + "navigationBarTitleText": "走访详情", + "navigationBarBackgroundColor": "#0051d9", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/visit/edit", + "style": { + "navigationBarTitleText": "编辑走访", + "navigationBarBackgroundColor": "#0051d9", + "navigationBarTextStyle": "white" + } } ], "globalStyle": { diff --git a/mobile/src/pages/index/index.vue b/mobile/src/pages/index/index.vue index db77be33..74de2b80 100644 --- a/mobile/src/pages/index/index.vue +++ b/mobile/src/pages/index/index.vue @@ -168,6 +168,21 @@ /> + + + + + @@ -590,7 +605,8 @@ export default { this.hasPermi(['student:club:list']) || this.hasPermi(['student:counsel:list']) || this.hasPermi(['student:info:edit']) || - this.hasPermi(['student:internship:list']) + this.hasPermi(['student:internship:list']) || + this.hasPermi(['student:visit:list']) ); }, @@ -798,6 +814,13 @@ export default { }); }, + // 跳转到班主任走访页面 + gotoVisitManage() { + uni.navigateTo({ + url: '/pages/visit/index', + }); + }, + // 图片加载成功处理 handleImageLoad(event) { console.log('✅ 轮播图片加载成功:', event.detail);