From 789b058ffa897df30610e23a0a5cbd5ba22a79e3 Mon Sep 17 00:00:00 2001 From: awesomedevin Date: Mon, 5 Sep 2022 18:53:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A0=E8=BD=BD=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHINESE-README.md | 2 +- lib/waterfall.vue | 875 ++++++++++++++++---------------- package.json | 11 +- src/App.vue | 20 +- src/components/HelloWorld.vue | 399 ++++++++------- src/components/evaluateList.vue | 404 ++++++++------- src/main.js | 20 +- src/router/index.js | 23 +- yarn.lock | 8 +- 9 files changed, 939 insertions(+), 823 deletions(-) diff --git a/CHINESE-README.md b/CHINESE-README.md index 4fc8b2c..cc311a6 100644 --- a/CHINESE-README.md +++ b/CHINESE-README.md @@ -34,7 +34,7 @@ npm run dev ## 属性 Name | Default | Type | Desc | Necessary -------- | -------- | -------- | -------- | ------- -height | - | String | 容器高度(height为空监听的是window的滚动事件,不为空则监听容器滚动) | false +height | - | String | 容器高度(height为空监听的是window的滚动事件,不为空则监听容器滚动,loadmore无法触发时,可尝试设置容器高度) | false col | 2 | Number | 列数 | false width | - | Number | 宽度 | false gutterWidth | 10 | Number | 间隔的宽度 | false diff --git a/lib/waterfall.vue b/lib/waterfall.vue index ed60a8b..42b1eb9 100644 --- a/lib/waterfall.vue +++ b/lib/waterfall.vue @@ -1,446 +1,461 @@ \ No newline at end of file diff --git a/package.json b/package.json index 2d933ac..6ab0df7 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "less-loader": "^5.0.0", "vue": "^2.6.10", "vue-router": "^3.0.1", - "vue-waterfall2": "^1.10.1" + "vue-waterfall2": "^1.10.4" }, "devDependencies": { "autoprefixer": "^7.1.2", @@ -59,10 +59,15 @@ "node": ">= 6.0.0", "npm": ">= 3.0.0" }, - "keywords": ["vue","vue-waterfall","vue-waterfall2","waterfall"], + "keywords": [ + "vue", + "vue-waterfall", + "vue-waterfall2", + "waterfall" + ], "browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ] -} +} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 0cce42c..f19c52b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,25 +1,35 @@ diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 1ca8171..0f79de3 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -1,138 +1,172 @@