This commit is contained in:
syuilo
2018-02-22 17:51:08 +09:00
parent fcf77dc095
commit f2fbf7f818
5 changed files with 19 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
<template>
<div class="mk-posts">
<slot name="head"></slot>
<slot></slot>
<template v-for="(post, i) in _posts">
<x-post :post="post" :key="post.id"/>
<p class="date" v-if="i != posts.length - 1 && post._date != _posts[i + 1]._date">
@@ -91,6 +92,9 @@ export default Vue.extend({
border-bottom-left-radius 4px
border-bottom-right-radius 4px
&:empty
display none
> button
margin 0
padding 16px