From b6621819edbc26744eca4c84e0465cceb5dd6033 Mon Sep 17 00:00:00 2001
From: Enzo <1284707383@qq.com>
Date: Wed, 15 Sep 2021 19:12:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=8E=B0=E9=A2=84=E8=A7=88=E5=9B=BE?=
=?UTF-8?q?=E7=89=87(=E5=BE=85=E4=BC=98=E5=8C=96)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/discover/discover.vue | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
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)
},