一部分完成

This commit is contained in:
2020-08-13 10:04:50 +08:00
parent c39d6ba811
commit e55aa62bcc
4 changed files with 33 additions and 15 deletions

View File

@@ -45,11 +45,11 @@
<view class="list">
<view>
<zhiboItem v-for="item in tabLiveLists.filter((_, index) => !(index&1))" :zid="item.live_id" :rid="item.chatroom_id"
:key="item.live_id" :name="item.store_name" :image="item.cover_img" :url="item.url"></zhiboItem>
:key="item.live_id" :name="item.store_name" :image="item.cover_img" :url="item.url" :item="item" @updateList="updateList"></zhiboItem>
</view>
<view style="margin-left:20rpx">
<zhiboItem v-for="item in tabLiveLists.filter((_, index) => index&1)" :zid="item.live_id" :rid="item.chatroom_id"
:key="item.live_id" :name="item.store_name" :image="item.cover_img" :url="item.url"></zhiboItem>
:key="item.live_id" :name="item.store_name" :image="item.cover_img" :url="item.url" :item="item" @updateList="updateList"></zhiboItem>
</view>
</view>
</view>
@@ -401,7 +401,8 @@
// 屏蔽更新列表
updateList() {
this.page = 1;
this.getArticlelist();
this.getArticlelist();
this.tabLiveList()
},
// 发现下拉加载
swiperBottom(e) {