diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue index 3792559..5606ead 100644 --- a/pages/discover/discover.vue +++ b/pages/discover/discover.vue @@ -20,11 +20,11 @@ {{item.created_at}} - + {{item.content}} - + @@ -100,6 +100,16 @@ this.getHotActivity() }, methods: { + checkPicture(image_list,current) { + if(image_list.length <= 0) return; + console.log(image_list) + this.$u.throttle(() => { + uni.previewImage({ + urls: image_list, + current: current + }); + }, 500); + }, goDetails(id) { this.$url('/pages/discover/discoverdetails?discover_id='+id) },