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.
32 lines
534 B
32 lines
534 B
Component({ |
|
options: { |
|
addGlobalClass: true |
|
}, |
|
properties: { |
|
info: { |
|
type: Object |
|
}, |
|
}, |
|
data: { |
|
|
|
}, |
|
|
|
attached: function () { |
|
|
|
}, |
|
methods: { |
|
setMark(e){ |
|
this.triggerEvent('setMark',e) |
|
}, |
|
previewImage(e){ |
|
var current = e.target.dataset.src; |
|
var imgList = [] |
|
// for (let i = 0; i < this.data.wawa.length; i++) { |
|
// imgList.push(this.data.wawa[i].img_url); |
|
// } |
|
// wx.previewImage({ |
|
// urls: imgList//图片数组 |
|
// }) |
|
} |
|
} |
|
}) |