flat: 暂存
This commit is contained in:
@@ -63,19 +63,19 @@
|
||||
// });
|
||||
// return
|
||||
// }
|
||||
console.log(item.data)
|
||||
// 任务推送、岗位推送、政策推送
|
||||
if (item.title == '零工岗位推送') {
|
||||
console.log(item)
|
||||
// 0消息 1任务推送、2岗位推送、4政策推送
|
||||
if (item.uid === '1') {
|
||||
console.log('零工岗位推送')
|
||||
uni.navigateTo({
|
||||
url: './taskProjectList'
|
||||
})
|
||||
} else if (item.title == '全职岗位推送') {
|
||||
} else if (item.uid === '2') {
|
||||
console.log('全职岗位推送')
|
||||
uni.navigateTo({
|
||||
url: './jobProjectList'
|
||||
})
|
||||
} else if (item.title == '政策推送') {
|
||||
} else if (item.uid == '4') {
|
||||
console.log('政策推送')
|
||||
uni.navigateTo({
|
||||
url: './policyList'
|
||||
|
||||
@@ -51,6 +51,7 @@ const news = {
|
||||
data: {
|
||||
"0": {
|
||||
id: "0",
|
||||
uid: "0",
|
||||
title: "消息通知",
|
||||
icon: "../../static/img/notice.svg",
|
||||
page: {
|
||||
@@ -80,6 +81,7 @@ const news = {
|
||||
},
|
||||
"1": {
|
||||
id: "1",
|
||||
uid: "1",
|
||||
title: "推送零工岗位",
|
||||
icon: "../../static/img/renwu.png",
|
||||
page: {
|
||||
@@ -110,6 +112,7 @@ const news = {
|
||||
},
|
||||
"2": {
|
||||
id: "1",
|
||||
uid: "2",
|
||||
title: "推送全职岗位",
|
||||
icon: "../../static/img/gangwei.svg",
|
||||
page: {
|
||||
@@ -140,6 +143,7 @@ const news = {
|
||||
},
|
||||
"4": {
|
||||
id: "1",
|
||||
uid: "4",
|
||||
title: "推送政策指南",
|
||||
icon: "../../static/img/zhengce.svg",
|
||||
page: {
|
||||
|
||||
Reference in New Issue
Block a user