This commit is contained in:
parent
8294c18e70
commit
0e9b496deb
|
@ -2,18 +2,20 @@
|
||||||
<div>
|
<div>
|
||||||
<MkTab v-model:value="tab" :items="[{ label: $t('_pages.my'), value: 'my', icon: faEdit }, { label: $t('_pages.liked'), value: 'liked', icon: faHeart }]"/>
|
<MkTab v-model:value="tab" :items="[{ label: $t('_pages.my'), value: 'my', icon: faEdit }, { label: $t('_pages.liked'), value: 'liked', icon: faHeart }]"/>
|
||||||
|
|
||||||
<div class="rknalgpo my" v-if="tab === 'my'">
|
<div class="_section">
|
||||||
|
<div class="rknalgpo _content my" v-if="tab === 'my'">
|
||||||
<MkButton class="new" @click="create()"><Fa :icon="faPlus"/></MkButton>
|
<MkButton class="new" @click="create()"><Fa :icon="faPlus"/></MkButton>
|
||||||
<MkPagination :pagination="myPagesPagination" #default="{items}">
|
<MkPagination :pagination="myPagesPagination" #default="{items}">
|
||||||
<MkPagePreview v-for="page in items" class="ckltabjg" :page="page" :key="page.id"/>
|
<MkPagePreview v-for="page in items" class="ckltabjg" :page="page" :key="page.id"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="rknalgpo" v-if="tab === 'liked'">
|
<div class="rknalgpo _content" v-if="tab === 'liked'">
|
||||||
<MkPagination :pagination="likedPagesPagination" #default="{items}">
|
<MkPagination :pagination="likedPagesPagination" #default="{items}">
|
||||||
<MkPagePreview v-for="like in items" class="ckltabjg" :page="like.page" :key="like.page.id"/>
|
<MkPagePreview v-for="like in items" class="ckltabjg" :page="like.page" :key="like.page.id"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -64,8 +66,6 @@ export default defineComponent({
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.rknalgpo {
|
.rknalgpo {
|
||||||
padding: 16px;
|
|
||||||
|
|
||||||
&.my .ckltabjg:first-child {
|
&.my .ckltabjg:first-child {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue