提交代码
This commit is contained in:
1 parent
3090b2b3eb
commit
adb60d8dde
3 files changed
+1774
-5
No files matched your search
@@ -167,6 +167,14 @@
|
||||
"navigationBarBackgroundColor": "#0051d9",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/xgss/sswj/sswjDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "违纪详情",
|
||||
"navigationBarBackgroundColor": "#0051d9",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
|
||||
@@ -440,11 +440,19 @@ export default {
|
||||
handleView(item) {
|
||||
console.log('查看违纪记录详细:', item);
|
||||
|
||||
// 跳转到详情页面(后续开发)
|
||||
uni.showToast({
|
||||
title: '详情页面开发中',
|
||||
icon: 'none',
|
||||
duration: 2000,
|
||||
// 跳转到详情页面并传递ID参数
|
||||
uni.navigateTo({
|
||||
url: `/pages/xgss/sswj/sswjDetail?id=${item.id}`,
|
||||
success: () => {
|
||||
console.log('跳转到详情页面成功');
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error('跳转到详情页面失败:', err);
|
||||
uni.showToast({
|
||||
title: '页面跳转失败',
|
||||
icon: 'none',
|
||||
});
|
||||
},
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user