消息中心页面开发

This commit is contained in:
zxy
2024-03-12 23:03:27 +08:00
parent d165a26fe5
commit b17d44c99b
13 changed files with 1121 additions and 42 deletions

View File

@@ -138,36 +138,36 @@ const news = {
})
}
},
"3": {
id: "1",
title: "技能推送",
icon: "../../static/img/jineng.svg",
page: {
current: 0,
size,
total: size
},
data: [],
prop: {
title: 'missionTitle',
desc: (value) => {
if (value.data[0])
return `您收到${value.data[0][0]['companyName']}的任务`
},
time: 'createTime',
isRead: 'status',
listDesc: 'companyName',
},
navigateTo(item, dispatch) {
dispatch('readNew', {
key: '1',
id: item.id
})
uni.navigateTo({
url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent(item.missionNo)}&id=${encodeURIComponent(item.id)}`
})
}
},
// "3": {
// id: "1",
// title: "技能推送",
// icon: "../../static/img/jineng.svg",
// page: {
// current: 0,
// size,
// total: size
// },
// data: [],
// prop: {
// title: 'missionTitle',
// desc: (value) => {
// if (value.data[0])
// return `您收到${value.data[0][0]['companyName']}的任务`
// },
// time: 'createTime',
// isRead: 'status',
// listDesc: 'companyName',
// },
// navigateTo(item, dispatch) {
// dispatch('readNew', {
// key: '1',
// id: item.id
// })
// uni.navigateTo({
// url: `/pages/projectInfo/projectInfo?type=1&missionNo=${encodeURIComponent(item.missionNo)}&id=${encodeURIComponent(item.id)}`
// })
// }
// },
"4": {
id: "1",
title: "政策推送",