...
|
...
|
@@ -16,10 +16,10 @@ |
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<p class="cardlist--loading text-center" v-show="inLoading">正在加载...</p>
|
|
|
<p class="cardlist--end text-center" v-show="atEnd ">--End--</p>
|
|
|
<p class="cardlist--loading text-center" v-show="state === 1">正在加载...</p>
|
|
|
<p class="cardlist--end text-center" v-show="state === 0 ">--End--</p>
|
|
|
|
|
|
<div class="empty-tip" v-show="empty">
|
|
|
<div class="empty-tip" v-show="state === -1">
|
|
|
<i class="icon icon-search"></i>
|
|
|
<p class="empty-tip-cn">未找到相关商品</p>
|
|
|
<p class="empty-tip-en">Did not find the relevant goods</p>
|
...
|
...
|
@@ -43,7 +43,7 @@ |
|
|
|
|
|
// 数据
|
|
|
data: Array,
|
|
|
empty: Boolean
|
|
|
state: [Number, Object] // -1: 无数据 0: 全部加载完 1: 正在加载
|
|
|
},
|
|
|
computed: {
|
|
|
// 空列表: data.length === 0
|
...
|
...
|
|