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.
29 lines
642 B
29 lines
642 B
Page({
|
|
data: {
|
|
noticeObj: '',
|
|
noticeObjContent: ''
|
|
},
|
|
onLoad: function (options) {
|
|
if (options.name) {
|
|
wx.setNavigationBarTitle({
|
|
title: options.name
|
|
})
|
|
}
|
|
this.getVolunteerPioneerDetail()
|
|
},
|
|
onUnload () {
|
|
wx.removeStorage({
|
|
key: 'pioneerDetail',
|
|
success (res) {
|
|
console.log(res)
|
|
}
|
|
})
|
|
},
|
|
// 获取详情
|
|
getVolunteerPioneerDetail() {
|
|
let html = wx.getStorageSync('pioneerDetail')
|
|
this.setData({
|
|
noticeObjContent: html
|
|
})
|
|
}
|
|
})
|