支持SSR、升级Vue版本和增加新的icon (#40)

* search component add new style

* update vue version and support ssr

* unit test

* add new icon

* new icon
This commit is contained in:
张敏
2017-06-15 19:46:56 +08:00
committed by Yao
parent 857da3a5ee
commit 0f5972e75e
59 changed files with 370 additions and 204 deletions

View File

@@ -2,7 +2,7 @@
<p class="page-desc">当即将滚动到元素底部时会自动加载更多</p>
<div class="waterfall">
<div v-waterfall-lower="loadMore" waterfall-disabled="isWaterfallDisabled" waterfall-offset="400">
<div class="waterfall-item" v-for="item in list" style="text-align: center;">
<div class="waterfall-item" v-for="(item, index) in list" :key="index" style="text-align: center;">
{{ item }}
</div>
<van-loading v-if="loading" :type="'circle'" :color="'black'"></van-loading>