discord-client/webpack/vue/auth/side-menu.vue

26 lines
465 B
Vue
Raw Normal View History

<template>
<div class='side-menu'>
<div class='user' v-for='user of gs.content.cbuf.users'
:data-online='gs.content.rbuf.members.indexOf(user.uid) > -1 ?1:0'>
<div class='icon' :style='`background-image: url("https://picsum.photos/150/?random&nonce=${user.uid}");`'></div>
<div class='username'>{{ user.username }}</div>
</div>
</div>
</template><script>
export default {
name: 'side-menu-',
data(){ return { gs: gs.get }; }
}
</script>