user mention (#3771)
This commit is contained in:
parent
8573e258f8
commit
fdd42fc2d7
11 changed files with 68 additions and 2 deletions
|
|
@ -55,6 +55,7 @@
|
|||
<b>{{ user.followersCount | number }}</b>
|
||||
<i>{{ $t('followers') }}</i>
|
||||
</a>
|
||||
<button @click="mention"><fa icon="at"/></button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
|
@ -126,6 +127,10 @@ export default Vue.extend({
|
|||
});
|
||||
},
|
||||
|
||||
mention() {
|
||||
this.$post({ mention: this.user });
|
||||
},
|
||||
|
||||
menu() {
|
||||
let menu = [{
|
||||
icon: ['fas', 'list'],
|
||||
|
|
@ -365,6 +370,9 @@ main
|
|||
> i
|
||||
font-size 14px
|
||||
|
||||
> button
|
||||
color var(--text)
|
||||
|
||||
> nav
|
||||
position -webkit-sticky
|
||||
position sticky
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue