From fdd42fc2d7ee1aa84489e668971f013b6c06c3df Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Thu, 27 Dec 2018 23:14:30 +0900 Subject: user mention (#3771) --- src/client/app/mobile/script.ts | 1 + src/client/app/mobile/views/components/post-form-dialog.vue | 5 +++++ src/client/app/mobile/views/components/post-form.vue | 9 +++++++++ src/client/app/mobile/views/pages/user.vue | 8 ++++++++ 4 files changed, 23 insertions(+) (limited to 'src/client/app/mobile') diff --git a/src/client/app/mobile/script.ts b/src/client/app/mobile/script.ts index e0ccbad792..52b0d9bbb2 100644 --- a/src/client/app/mobile/script.ts +++ b/src/client/app/mobile/script.ts @@ -60,6 +60,7 @@ init((launch) => { const vm = this.$root.new(PostForm, { reply: o.reply, + mention: o.mention, renote: o.renote }); diff --git a/src/client/app/mobile/views/components/post-form-dialog.vue b/src/client/app/mobile/views/components/post-form-dialog.vue index 15b36db945..616623cda7 100644 --- a/src/client/app/mobile/views/components/post-form-dialog.vue +++ b/src/client/app/mobile/views/components/post-form-dialog.vue @@ -5,6 +5,7 @@ {{ user.followersCount | number }} {{ $t('followers') }} + @@ -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 -- cgit v1.2.3-freya