Sharkey/src/web/app/desktop/views/components/followers-window.vue

27 lines
544 B
Vue
Raw Normal View History

2018-02-16 10:43:25 +02:00
<template>
2018-02-19 16:37:09 +02:00
<mk-window width="400px" height="550px" @closed="$destroy">
2018-02-16 10:43:25 +02:00
<span slot="header" :class="$style.header">
<img :src="`${user.avatar_url}?thumbnail&size=64`" alt=""/>{{ user.name }}のフォロワー
</span>
2018-02-19 16:37:09 +02:00
<mk-followers-list :user="user"/>
2018-02-16 10:43:25 +02:00
</mk-window>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: ['user']
});
</script>
<style lang="stylus" module>
.header
> img
display inline-block
vertical-align bottom
height calc(100% - 10px)
margin 5px
border-radius 4px
</style>