This commit is contained in:
syuilo 2023-01-06 10:34:49 +09:00
parent 6b2b403d94
commit f6b6f1bc8b
2 changed files with 10 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<template>
<MkA :to="`/play/${flash.id}`" class="vhpxefrk" tabindex="-1">
<MkA :to="`/play/${flash.id}`" class="vhpxefrk _panel" tabindex="-1">
<article>
<header>
<h1 :title="flash.title">{{ flash.title }}</h1>

View file

@ -4,20 +4,26 @@
<MkSpacer :content-max="700">
<div v-if="tab === 'featured'" class="">
<MkPagination v-slot="{items}" :pagination="featuredFlashsPagination">
<MkFlashPreview v-for="flash in items" :key="flash.id" class="" :flash="flash"/>
<div class="_autoGap_half">
<MkFlashPreview v-for="flash in items" :key="flash.id" class="" :flash="flash"/>
</div>
</MkPagination>
</div>
<div v-else-if="tab === 'my'" class="my">
<MkButton class="new" @click="create()"><i class="ti ti-plus"></i></MkButton>
<MkPagination v-slot="{items}" :pagination="myFlashsPagination">
<MkFlashPreview v-for="flash in items" :key="flash.id" class="" :flash="flash"/>
<div class="_autoGap_half">
<MkFlashPreview v-for="flash in items" :key="flash.id" class="" :flash="flash"/>
</div>
</MkPagination>
</div>
<div v-else-if="tab === 'liked'" class="">
<MkPagination v-slot="{items}" :pagination="likedFlashsPagination">
<MkFlashPreview v-for="like in items" :key="like.flash.id" class="" :flash="like.flash"/>
<div class="_autoGap_half">
<MkFlashPreview v-for="like in items" :key="like.flash.id" class="" :flash="like.flash"/>
</div>
</MkPagination>
</div>
</MkSpacer>