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> <template>
<MkA :to="`/play/${flash.id}`" class="vhpxefrk" tabindex="-1"> <MkA :to="`/play/${flash.id}`" class="vhpxefrk _panel" tabindex="-1">
<article> <article>
<header> <header>
<h1 :title="flash.title">{{ flash.title }}</h1> <h1 :title="flash.title">{{ flash.title }}</h1>

View File

@ -4,20 +4,26 @@
<MkSpacer :content-max="700"> <MkSpacer :content-max="700">
<div v-if="tab === 'featured'" class=""> <div v-if="tab === 'featured'" class="">
<MkPagination v-slot="{items}" :pagination="featuredFlashsPagination"> <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> </MkPagination>
</div> </div>
<div v-else-if="tab === 'my'" class="my"> <div v-else-if="tab === 'my'" class="my">
<MkButton class="new" @click="create()"><i class="ti ti-plus"></i></MkButton> <MkButton class="new" @click="create()"><i class="ti ti-plus"></i></MkButton>
<MkPagination v-slot="{items}" :pagination="myFlashsPagination"> <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> </MkPagination>
</div> </div>
<div v-else-if="tab === 'liked'" class=""> <div v-else-if="tab === 'liked'" class="">
<MkPagination v-slot="{items}" :pagination="likedFlashsPagination"> <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> </MkPagination>
</div> </div>
</MkSpacer> </MkSpacer>