jormungandr-bite/src/client/app/desktop/views/components/followers-window.vue

28 lines
560 B
Vue
Raw Normal View History

2018-02-16 01:43:25 -07:00
<template>
2018-02-19 07:37:09 -07:00
<mk-window width="400px" height="550px" @closed="$destroy">
2018-02-16 01:43:25 -07:00
<span slot="header" :class="$style.header">
2018-05-20 05:26:38 -06:00
<img :src="`${user.avatarUrl}?thumbnail&size=64`" alt=""/>%i18n:@followers%.replace('{}', {{ user | userName }})
2018-02-16 01:43:25 -07:00
</span>
2018-02-22 07:05:05 -07:00
<mk-followers :user="user"/>
2018-02-16 01:43:25 -07:00
</mk-window>
</template>
<script lang="ts">
import Vue from 'vue';
2018-04-05 10:36:34 -06:00
2018-02-16 01:43:25 -07:00
export default Vue.extend({
2018-04-09 03:52:29 -06:00
props: ['user']
2018-02-16 01:43:25 -07:00
});
</script>
<style lang="stylus" module>
.header
> img
display inline-block
vertical-align bottom
height calc(100% - 10px)
margin 5px
border-radius 4px
</style>