Merge remote-tracking branch 'origin/dev' into dev

pull/5/head
chenxinying 2024-02-28 09:06:06 +08:00
commit bed3447618
1 changed files with 10 additions and 0 deletions

View File

@ -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