功能:完善订单流程和加固

This commit is contained in:
xiaowang
2026-05-23 15:16:40 +08:00
parent 9227ec6175
commit 3e6e1cc4e8
90 changed files with 6859 additions and 368 deletions
@@ -54,6 +54,24 @@ Page({
if (!item) {
return
}
if (item.actionPath) {
try {
if (item.readStatus !== 1) {
await userApi.markMessageRead(item.id)
}
const opened = await navigation.openActionPath(item.actionPath)
await this.loadMessages()
if (opened) {
return
}
} catch (error) {
wx.showToast({
title: error.message || '打开消息失败',
icon: 'none'
})
return
}
}
this.setData({
currentMessage: item,
detailVisible: true