jormungandr-bite/src/web/app/desktop/views/components/followers-window.vue
こぴなたみぽ be9feccb4f wip
2018-02-16 17:43:25 +09:00

26 lines
544 B
Vue

<template>
<mk-window width='400px' height='550px' @closed="$destroy">
<span slot="header" :class="$style.header">
<img :src="`${user.avatar_url}?thumbnail&size=64`" alt=""/>{{ user.name }}のフォロワー
</span>
<mk-user-followers :user="user"/>
</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>