修复bug
parent
e8e46bd741
commit
3b7499eb40
|
@ -806,6 +806,16 @@
|
||||||
current: e.currentTarget.dataset.index
|
current: e.currentTarget.dataset.index
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
ViewShowImages(imgs, index) {
|
||||||
|
let files = [];
|
||||||
|
for (var i = 0; i < imgs.length; i++) {
|
||||||
|
files.push(baseImgPath +imgs[i].FILEPATH)
|
||||||
|
}
|
||||||
|
uni.previewImage({
|
||||||
|
urls: files,
|
||||||
|
current: index
|
||||||
|
});
|
||||||
|
},
|
||||||
playVideo(e) {
|
playVideo(e) {
|
||||||
this.videoSrc = e.currentTarget.dataset.src
|
this.videoSrc = e.currentTarget.dataset.src
|
||||||
this.modalShow = true
|
this.modalShow = true
|
||||||
|
|
Loading…
Reference in New Issue