You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
513 B
22 lines
513 B
Component({
|
|
properties: {
|
|
projectList: {
|
|
type: Array,
|
|
value: []
|
|
}
|
|
},
|
|
methods: {
|
|
navigateToProjectDetail(e) {
|
|
const { id } = e.currentTarget.dataset
|
|
wx.navigateTo({
|
|
url: `/subpages/discussion/pages/discussionDetail/discussionDetail?type=project&detailId=${id}&showClassify=show`
|
|
})
|
|
},
|
|
navigateToDiscussion() {
|
|
wx.setStorageSync('discusstionType', 'project')
|
|
wx.switchTab({
|
|
url: '/pages/discussion/discussion'
|
|
})
|
|
}
|
|
}
|
|
})
|