2 Commits a240edb1c2 ... 8d5a6231cf

Autor SHA1 Mensaje Fecha
  0225236 8d5a6231cf Merge branch 'master' of http://git.fmode.cn:3000/0225273/APPmy hace 4 meses
  0225236 7f99ccc5d4 tab2 hace 4 meses

+ 4 - 0
src/app/app-routing.module.ts

@@ -64,6 +64,10 @@ const routes: Routes = [
   {
     path: 'aichat',
     loadChildren: () => import('./aichat/aichat.module').then( m => m.AIChatPageModule)
+  },
+  {
+    path: 'consult',
+    loadChildren: () => import('./consult/consult.module').then( m => m.ConsultPageModule)
   }
 
 

+ 17 - 0
src/app/consult/consult-routing.module.ts

@@ -0,0 +1,17 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+
+import { ConsultPage } from './consult.page';
+
+const routes: Routes = [
+  {
+    path: '',
+    component: ConsultPage
+  }
+];
+
+@NgModule({
+  imports: [RouterModule.forChild(routes)],
+  exports: [RouterModule],
+})
+export class ConsultPageRoutingModule {}

+ 20 - 0
src/app/consult/consult.module.ts

@@ -0,0 +1,20 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { FormsModule } from '@angular/forms';
+
+import { IonicModule } from '@ionic/angular';
+
+import { ConsultPageRoutingModule } from './consult-routing.module';
+
+import { ConsultPage } from './consult.page';
+
+@NgModule({
+  imports: [
+    CommonModule,
+    FormsModule,
+    IonicModule,
+    ConsultPageRoutingModule
+  ],
+  declarations: [ConsultPage]
+})
+export class ConsultPageModule {}

+ 13 - 0
src/app/consult/consult.page.html

@@ -0,0 +1,13 @@
+<ion-header [translucent]="true">
+  <ion-toolbar>
+    <ion-title>consult</ion-title>
+  </ion-toolbar>
+</ion-header>
+
+<ion-content [fullscreen]="true">
+  <ion-header collapse="condense">
+    <ion-toolbar>
+      <ion-title size="large">consult</ion-title>
+    </ion-toolbar>
+  </ion-header>
+</ion-content>

+ 0 - 0
src/app/consult/consult.page.scss


+ 17 - 0
src/app/consult/consult.page.spec.ts

@@ -0,0 +1,17 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+import { ConsultPage } from './consult.page';
+
+describe('ConsultPage', () => {
+  let component: ConsultPage;
+  let fixture: ComponentFixture<ConsultPage>;
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(ConsultPage);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});

+ 15 - 0
src/app/consult/consult.page.ts

@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'app-consult',
+  templateUrl: './consult.page.html',
+  styleUrls: ['./consult.page.scss'],
+})
+export class ConsultPage implements OnInit {
+
+  constructor() { }
+
+  ngOnInit() {
+  }
+
+}