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.
25 lines
611 B
25 lines
611 B
const app = getApp()
|
|
|
|
Component({
|
|
data: {
|
|
imagesList: ["../../../../images/mine/timg.jpg", "../../../../images/mine/timg.jpg", "../../../../images/mine/timg.jpg"]
|
|
},
|
|
properties: {
|
|
issueObj: {
|
|
type: Object,
|
|
value: {}
|
|
}
|
|
},
|
|
methods: {
|
|
toDetail (e) {
|
|
this.triggerEvent("toIssueDetail", { issueId: e.currentTarget.dataset.issueid, state: e.currentTarget.dataset.state})
|
|
},
|
|
previewImage (e) {
|
|
app.globalData.previewImage = true
|
|
wx.previewImage({
|
|
urls: this.data.issueObj.images,
|
|
current: e.currentTarget.dataset.src
|
|
})
|
|
}
|
|
}
|
|
})
|