paricafe/src/client/app/desktop/views/components/following-window.vue

34 lines
663 B
Vue
Raw Normal View History

2018-02-16 02:43:25 -06:00
<template>
2018-02-19 08:37:09 -06:00
<mk-window width="400px" height="550px" @closed="$destroy">
2018-02-16 02:43:25 -06:00
<span slot="header" :class="$style.header">
2018-04-05 11:36:34 -05:00
<img :src="`${user.avatarUrl}?thumbnail&size=64`" alt=""/>{{ name }}のフォロー
2018-02-16 02:43:25 -06:00
</span>
2018-02-22 08:05:05 -06:00
<mk-following :user="user"/>
2018-02-16 02:43:25 -06:00
</mk-window>
</template>
<script lang="ts">
import Vue from 'vue';
2018-04-05 11:36:34 -05:00
import getUserName from '../../../../../renderers/get-user-name';
2018-02-16 02:43:25 -06:00
export default Vue.extend({
2018-04-05 11:36:34 -05:00
props: ['user'],
computed: {
name() {
return getUserName(this.user);
}
}
2018-02-16 02:43:25 -06:00
});
</script>
<style lang="stylus" module>
.header
> img
display inline-block
vertical-align bottom
height calc(100% - 10px)
margin 5px
border-radius 4px
</style>