From aebc38ee9c011f495ce3acec80aa3450e72cb543 Mon Sep 17 00:00:00 2001
From: Enzo <1284707383@qq.com>
Date: Thu, 19 Aug 2021 10:53:48 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8E=A8=E8=8D=90=E7=80=91?=
=?UTF-8?q?=E5=B8=83=E6=B5=81bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../lf-waterfall-recom/lf-waterfall.vue | 23 ++++++++-----------
pages/discover/discover.vue | 2 +-
pages/index/index.vue | 8 +++----
pages/recommList/index.vue | 12 ++++------
4 files changed, 20 insertions(+), 25 deletions(-)
diff --git a/components/lf-waterfall-recom/lf-waterfall.vue b/components/lf-waterfall-recom/lf-waterfall.vue
index cb0d288..a3a1509 100644
--- a/components/lf-waterfall-recom/lf-waterfall.vue
+++ b/components/lf-waterfall-recom/lf-waterfall.vue
@@ -49,21 +49,19 @@
},
data(){
return {
-
+
}
},
computed: {
- dataList() {
- console.log('数据1111',this.list);
-
- let arr = [];
- if(this.list && this.list.length){
- arr = this.list;
- }
-
-
- return arr;
- }
+ dataList: {
+ // let arr = [];
+ // if(this.list && this.list.length){
+ // arr = this.list;
+ // }
+ // return arr;
+ get() { return this.list; },
+ set(newValue) { console.log('newvalue',newValue) }
+ },
},
onShow(){
@@ -73,7 +71,6 @@
},
methods: {
onClick(id){
- console.log("aaaa");
this.$url('/pages/goodsDetail/index?goods_id='+id);
this.$emit('click');
},
diff --git a/pages/discover/discover.vue b/pages/discover/discover.vue
index 47b5d69..79771f1 100644
--- a/pages/discover/discover.vue
+++ b/pages/discover/discover.vue
@@ -6,7 +6,7 @@
-
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index f124ceb..e24cd64 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,13 +1,13 @@
-
+
-
+
{{item.title}}
@@ -23,7 +23,7 @@
-
+
{{item.name}}