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 @@