|
|
@ -102,10 +102,13 @@ |
|
|
methods: { |
|
|
methods: { |
|
|
checkPicture(image_list,current) { |
|
|
checkPicture(image_list,current) { |
|
|
if(image_list.length <= 0) return; |
|
|
if(image_list.length <= 0) return; |
|
|
console.log(image_list) |
|
|
|
|
|
|
|
|
let list = []; |
|
|
|
|
|
image_list.forEach((item,index) => { |
|
|
|
|
|
list.push(item.url) |
|
|
|
|
|
}) |
|
|
this.$u.throttle(() => { |
|
|
this.$u.throttle(() => { |
|
|
uni.previewImage({ |
|
|
uni.previewImage({ |
|
|
urls: image_list, |
|
|
|
|
|
|
|
|
urls: list, |
|
|
current: current |
|
|
current: current |
|
|
}); |
|
|
}); |
|
|
}, 500); |
|
|
}, 500); |
|
|
|