mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
use MkChannelList
This commit is contained in:
parent
0e925c9083
commit
97e6fd2dc3
@ -3,7 +3,7 @@
|
||||
<template #empty>
|
||||
<div class="_fullinfo">
|
||||
<img
|
||||
src="/static-assets/badges/info.png"
|
||||
src="/static-assets/badges/not-found.png"
|
||||
class="_ghost"
|
||||
:alt="i18n.ts.notFound"
|
||||
/>
|
||||
|
@ -66,7 +66,7 @@
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<div class="_content grwlizim featured">
|
||||
<MkPagination
|
||||
<!-- <MkPagination
|
||||
v-slot="{ items }"
|
||||
:pagination="featuredPagination"
|
||||
:disable-auto-load="true"
|
||||
@ -77,23 +77,19 @@
|
||||
class="_gap"
|
||||
:channel="channel"
|
||||
/>
|
||||
</MkPagination>
|
||||
</MkPagination> -->
|
||||
<MkChannelList
|
||||
key="featured"
|
||||
:pagination="featuredPagination"
|
||||
/>
|
||||
</div>
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
<div class="_content grwlizim following">
|
||||
<MkPagination
|
||||
v-slot="{ items }"
|
||||
<MkChannelList
|
||||
key="following"
|
||||
:pagination="followingPagination"
|
||||
:disable-auto-load="true"
|
||||
>
|
||||
<MkChannelPreview
|
||||
v-for="channel in items"
|
||||
:key="channel.id"
|
||||
class="_gap"
|
||||
:channel="channel"
|
||||
/>
|
||||
</MkPagination>
|
||||
</div>
|
||||
</swiper-slide>
|
||||
<swiper-slide>
|
||||
@ -101,18 +97,10 @@
|
||||
<MkButton class="new" @click="create()"
|
||||
><i class="ph-plus ph-bold ph-lg"></i
|
||||
></MkButton>
|
||||
<MkPagination
|
||||
v-slot="{ items }"
|
||||
<MkChannelList
|
||||
key="owned"
|
||||
:pagination="ownedPagination"
|
||||
:disable-auto-load="true"
|
||||
>
|
||||
<MkChannelPreview
|
||||
v-for="channel in items"
|
||||
:key="channel.id"
|
||||
class="_gap"
|
||||
:channel="channel"
|
||||
/>
|
||||
</MkPagination>
|
||||
</div>
|
||||
</swiper-slide>
|
||||
</swiper>
|
||||
|
Loading…
Reference in New Issue
Block a user