|
@@ -1,9 +1,9 @@
|
|
import { NgModule } from '@angular/core';
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { MeComponent } from './me/me.component';
|
|
import { MeComponent } from './me/me.component';
|
|
-import { TheyComponent } from './they/they.component';
|
|
|
|
-import { NearComponent } from './near/near.component';
|
|
|
|
-import { TheyDetailComponent } from './they-detail/they-detail.component';
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
import { CommunityComponent } from './community/community.component';
|
|
import { CommunityComponent } from './community/community.component';
|
|
import { ScienceDetailComponent } from './science-detail/science-detail.component';
|
|
import { ScienceDetailComponent } from './science-detail/science-detail.component';
|
|
import { ShareComponent } from './share/share.component';
|
|
import { ShareComponent } from './share/share.component';
|
|
@@ -21,14 +21,13 @@ import { PageTestComponent } from './page-test/page-test.component';
|
|
|
|
|
|
const routes: Routes = [
|
|
const routes: Routes = [
|
|
{ path: 'me', component: MeComponent },
|
|
{ path: 'me', component: MeComponent },
|
|
- { path: 'they', component: TheyComponent },
|
|
|
|
|
|
+
|
|
{ path: 'community', component: CommunityComponent },
|
|
{ path: 'community', component: CommunityComponent },
|
|
- { path: 'near', component: NearComponent },
|
|
|
|
{ path: 'lesson', component: PageLessonComponent },
|
|
{ path: 'lesson', component: PageLessonComponent },
|
|
{ path: 'lesson/detail', component: PageLessonDetailComponent },
|
|
{ path: 'lesson/detail', component: PageLessonDetailComponent },
|
|
{ path: 'page-chat', component: PageChatComponent },
|
|
{ path: 'page-chat', component: PageChatComponent },
|
|
{ path: 'page-test', component: PageTestComponent },
|
|
{ path: 'page-test', component: PageTestComponent },
|
|
- { path: 'they/detail', component: TheyDetailComponent },
|
|
|
|
|
|
+
|
|
{ path: 'community/scienceDetail', component: ScienceDetailComponent },
|
|
{ path: 'community/scienceDetail', component: ScienceDetailComponent },
|
|
{ path: 'community/share', component: ShareComponent },
|
|
{ path: 'community/share', component: ShareComponent },
|
|
{ path: 'community/attentionDetail', component: AttentionDetailComponent },
|
|
{ path: 'community/attentionDetail', component: AttentionDetailComponent },
|