From 47efc83f16fbd69f432e585018ee03e3ff1a77f1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 17:32:58 +0900 Subject: [PATCH] wip --- src/web/app/mobile/views/components/index.ts | 8 ++ ...ost-detail-sub.vue => post-detail.sub.vue} | 23 +++-- .../mobile/views/components/post-detail.vue | 95 +++++++++++++------ src/web/app/mobile/views/pages/user.vue | 19 ++-- .../{home-activity.vue => home.activity.vue} | 8 +- ...u-know.vue => home.followers-you-know.vue} | 4 +- .../{home-friends.vue => home.friends.vue} | 8 +- .../user/{home-photos.vue => home.photos.vue} | 4 +- .../user/{home-posts.vue => home.posts.vue} | 12 +-- src/web/app/mobile/views/pages/user/home.vue | 39 ++++---- 10 files changed, 133 insertions(+), 87 deletions(-) rename src/web/app/mobile/views/components/{post-detail-sub.vue => post-detail.sub.vue} (69%) rename src/web/app/mobile/views/pages/user/{home-activity.vue => home.activity.vue} (91%) rename src/web/app/mobile/views/pages/user/{followers-you-know.vue => home.followers-you-know.vue} (93%) rename src/web/app/mobile/views/pages/user/{home-friends.vue => home.friends.vue} (80%) rename src/web/app/mobile/views/pages/user/{home-photos.vue => home.photos.vue} (96%) rename src/web/app/mobile/views/pages/user/{home-posts.vue => home.posts.vue} (66%) diff --git a/src/web/app/mobile/views/components/index.ts b/src/web/app/mobile/views/components/index.ts index 7cb9aa4a5..739bfda17 100644 --- a/src/web/app/mobile/views/components/index.ts +++ b/src/web/app/mobile/views/components/index.ts @@ -8,6 +8,10 @@ import imagesImage from './images-image.vue'; import drive from './drive.vue'; import postPreview from './post-preview.vue'; import subPostContent from './sub-post-content.vue'; +import postCard from './post-card.vue'; +import userCard from './user-card.vue'; +import postDetail from './post-detail.vue'; +import followButton from './follow-button.vue'; Vue.component('mk-ui', ui); Vue.component('mk-home', home); @@ -17,3 +21,7 @@ Vue.component('mk-images-image', imagesImage); Vue.component('mk-drive', drive); Vue.component('mk-post-preview', postPreview); Vue.component('mk-sub-post-content', subPostContent); +Vue.component('mk-post-card', postCard); +Vue.component('mk-user-card', userCard); +Vue.component('mk-post-detail', postDetail); +Vue.component('mk-follow-button', followButton); diff --git a/src/web/app/mobile/views/components/post-detail-sub.vue b/src/web/app/mobile/views/components/post-detail.sub.vue similarity index 69% rename from src/web/app/mobile/views/components/post-detail-sub.vue rename to src/web/app/mobile/views/components/post-detail.sub.vue index 8836bb1b3..dff0cef51 100644 --- a/src/web/app/mobile/views/components/post-detail-sub.vue +++ b/src/web/app/mobile/views/components/post-detail.sub.vue @@ -1,18 +1,18 @@