This commit is contained in:
syuilo 2018-03-05 09:10:23 +09:00
parent e5d6ff0dac
commit 84fe2c28ad
2 changed files with 12 additions and 0 deletions

View file

@ -43,6 +43,7 @@
<router-link v-for="tag in p.tags" :key="tag" :to="`/search?q=#${tag}`">{{ tag }}</router-link> <router-link v-for="tag in p.tags" :key="tag" :to="`/search?q=#${tag}`">{{ tag }}</router-link>
</div> </div>
<a class="rp" v-if="p.repost">RP:</a> <a class="rp" v-if="p.repost">RP:</a>
<p class="location" v-if="p.geo">%fa:map-marker-alt% 位置情報</p>
<mk-url-preview v-for="url in urls" :url="url" :key="url"/> <mk-url-preview v-for="url in urls" :url="url" :key="url"/>
</div> </div>
<div class="media" v-if="p.media"> <div class="media" v-if="p.media">
@ -447,6 +448,11 @@ export default Vue.extend({
font-style oblique font-style oblique
color #a0bf46 color #a0bf46
> .location
margin 4px 0
font-size 12px
color #ccc
> .tags > .tags
margin 4px 0 0 0 margin 4px 0 0 0

View file

@ -48,6 +48,7 @@
<mk-images :images="p.media"/> <mk-images :images="p.media"/>
</div> </div>
<mk-poll v-if="p.poll" :post="p" ref="pollViewer"/> <mk-poll v-if="p.poll" :post="p" ref="pollViewer"/>
<p class="location" v-if="p.geo">%fa:map-marker-alt% 位置情報</p>
<span class="app" v-if="p.app">via <b>{{ p.app.name }}</b></span> <span class="app" v-if="p.app">via <b>{{ p.app.name }}</b></span>
<div class="repost" v-if="p.repost">%fa:quote-right -flip-h% <div class="repost" v-if="p.repost">%fa:quote-right -flip-h%
<mk-post-preview class="repost" :post="p.repost"/> <mk-post-preview class="repost" :post="p.repost"/>
@ -423,6 +424,11 @@ export default Vue.extend({
display block display block
max-width 100% max-width 100%
> .location
margin 4px 0
font-size 12px
color #ccc
> .app > .app
font-size 12px font-size 12px
color #ccc color #ccc