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.
46 lines
665 B
46 lines
665 B
6 years ago
|
const config = require('../../../../../../utils/config')
|
||
|
|
||
|
Component({
|
||
|
data: {
|
||
|
|
||
|
},
|
||
|
properties: {
|
||
|
topicImageVisible: {
|
||
|
type: Boolean,
|
||
|
value: false
|
||
|
},
|
||
|
dataObject: {
|
||
|
type: Object,
|
||
|
value: {},
|
||
|
observer (value) {
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
lifetimes: {
|
||
|
attached () {
|
||
|
|
||
|
},
|
||
|
detached () {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
pageLifetimes: {
|
||
|
show () {
|
||
|
|
||
|
},
|
||
|
hide () {
|
||
|
|
||
|
}
|
||
|
},
|
||
|
methods: {
|
||
|
// 列表跳转详情
|
||
|
navigateToDetail (e) {
|
||
|
this.triggerEvent('navigateToDetail', e.currentTarget.dataset)
|
||
|
},
|
||
|
previewImage (e) {
|
||
|
wx.previewImage({
|
||
|
urls: [e.currentTarget.dataset.url]
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
})
|