uniapp 大图预览

uniapp yekong 141℃

// 预览图片多张
        previewImg(imgUrlList, index) {
            let _this = this;
            // #ifdef MP
            uni.previewImage({
                current: index - 1,
                urls: imgUrlList,
                indicator: 'number',
                loop: true
            });
            // #endif

            // #ifndef MP
            uni.previewImage({
                current: index - 1,
                urls: imgUrlList,
                indicator: 'number',
                loop: true
            });
            // #endif
        },
喜欢 (0)