锦水居民端小程序
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.
 

39 lines
685 B

const app = getApp()
Component({
data: {
imageUrl: '../../../../images/uploadImg3.png'
},
properties: {
activityItemObj: {
type: Object,
value: {}
},
actType: {
type: String,
value: 'tab0'
}
},
lifetimes: {
attached () {
}
},
pageLifetimes: {
show () {
}
},
methods: {
// 预览图片
previewImage (e) {
app.globalData.previewImage = true
wx.previewImage({
urls: [e.currentTarget.dataset.src]
})
},
toDetail (e) {
this.triggerEvent('toDetail', {detailId: e.currentTarget.dataset.detailid, actCurrentState: e.currentTarget.dataset.state})
}
}
})