From f2fbf7f818ef244008cf8cafb3b1baba0496183e Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 17:51:08 +0900 Subject: [PATCH] wip --- src/web/app/desktop/views/components/index.ts | 2 ++ src/web/app/mobile/views/components/friends-maker.vue | 7 ++++--- src/web/app/mobile/views/components/index.ts | 2 ++ src/web/app/mobile/views/components/posts.vue | 4 ++++ src/web/app/mobile/views/components/timeline.vue | 9 +++++++-- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/web/app/desktop/views/components/index.ts b/src/web/app/desktop/views/components/index.ts index 3bcfc2fdd..0e4629172 100644 --- a/src/web/app/desktop/views/components/index.ts +++ b/src/web/app/desktop/views/components/index.ts @@ -26,6 +26,7 @@ import postDetail from './post-detail.vue'; import settings from './settings.vue'; import calendar from './calendar.vue'; import activity from './activity.vue'; +import friendsMaker from './friends-maker.vue'; import wNav from './widgets/nav.vue'; import wCalendar from './widgets/calendar.vue'; import wPhotoStream from './widgets/photo-stream.vue'; @@ -74,6 +75,7 @@ Vue.component('mk-post-detail', postDetail); Vue.component('mk-settings', settings); Vue.component('mk-calendar', calendar); Vue.component('mk-activity', activity); +Vue.component('mk-friends-maker', friendsMaker); Vue.component('mkw-nav', wNav); Vue.component('mkw-calendar', wCalendar); Vue.component('mkw-photo-stream', wPhotoStream); diff --git a/src/web/app/mobile/views/components/friends-maker.vue b/src/web/app/mobile/views/components/friends-maker.vue index 8e7bf2d63..961a5f568 100644 --- a/src/web/app/mobile/views/components/friends-maker.vue +++ b/src/web/app/mobile/views/components/friends-maker.vue @@ -2,9 +2,7 @@

気になるユーザーをフォロー:

- +

おすすめのユーザーは見つかりませんでした。

%fa:spinner .pulse .fw%読み込んでいます

@@ -47,6 +45,9 @@ export default Vue.extend({ this.page++; } this.fetch(); + }, + close() { + this.$destroy(); } } }); diff --git a/src/web/app/mobile/views/components/index.ts b/src/web/app/mobile/views/components/index.ts index 739bfda17..f2c8ddf3e 100644 --- a/src/web/app/mobile/views/components/index.ts +++ b/src/web/app/mobile/views/components/index.ts @@ -12,6 +12,7 @@ import postCard from './post-card.vue'; import userCard from './user-card.vue'; import postDetail from './post-detail.vue'; import followButton from './follow-button.vue'; +import friendsMaker from './friends-maker.vue'; Vue.component('mk-ui', ui); Vue.component('mk-home', home); @@ -25,3 +26,4 @@ Vue.component('mk-post-card', postCard); Vue.component('mk-user-card', userCard); Vue.component('mk-post-detail', postDetail); Vue.component('mk-follow-button', followButton); +Vue.component('mk-friends-maker', friendsMaker); diff --git a/src/web/app/mobile/views/components/posts.vue b/src/web/app/mobile/views/components/posts.vue index 48ed01d0a..b028264b5 100644 --- a/src/web/app/mobile/views/components/posts.vue +++ b/src/web/app/mobile/views/components/posts.vue @@ -1,6 +1,7 @@