From 10bf052e7f254845044b250c1e9c4c7182e011ff Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Wed, 27 Oct 2021 10:52:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E4=B8=89=E7=BB=B4=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proxy.config.json | 2 +- .../three-dimensional.module.ts | 99 +++++++++++++++++++ .../three-home/three-home.component.html | 1 + .../three-home/three-home.component.scss | 0 .../three-home/three-home.component.ts | 15 +++ src/app/ui/tabbar/tabbar.component.html | 1 + src/app/ui/tabbar/tabbar.component.ts | 5 + 7 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 src/app/three-dimensional/three-dimensional.module.ts create mode 100644 src/app/three-dimensional/three-home/three-home.component.html create mode 100644 src/app/three-dimensional/three-home/three-home.component.scss create mode 100644 src/app/three-dimensional/three-home/three-home.component.ts diff --git a/proxy.config.json b/proxy.config.json index 22db781..c4016f0 100644 --- a/proxy.config.json +++ b/proxy.config.json @@ -1,6 +1,6 @@ { "/api": { - "target": "http://39.106.78.171:9008", + "target": "http://39.106.78.171:8900", "secure": false, "changeOrigin": true } diff --git a/src/app/three-dimensional/three-dimensional.module.ts b/src/app/three-dimensional/three-dimensional.module.ts new file mode 100644 index 0000000..2aaa2da --- /dev/null +++ b/src/app/three-dimensional/three-dimensional.module.ts @@ -0,0 +1,99 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import { A11yModule } from '@angular/cdk/a11y'; +import { DragDropModule } from '@angular/cdk/drag-drop'; +import { PortalModule } from '@angular/cdk/portal'; +import { ScrollingModule } from '@angular/cdk/scrolling'; +import { CdkStepperModule } from '@angular/cdk/stepper'; +import { CdkTableModule } from '@angular/cdk/table'; +import { CdkTreeModule } from '@angular/cdk/tree'; +import { MatAutocompleteModule } from '@angular/material/autocomplete'; +import { MatBadgeModule } from '@angular/material/badge'; +import { MatBottomSheetModule } from '@angular/material/bottom-sheet'; +import { MatButtonModule } from '@angular/material/button'; +import { MatButtonToggleModule } from '@angular/material/button-toggle'; +import { MatCardModule } from '@angular/material/card'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatStepperModule } from '@angular/material/stepper'; +import { MatChipsModule } from '@angular/material/chips'; +import { MatDatepickerModule } from '@angular/material/datepicker'; +import { MatDialogModule } from '@angular/material/dialog'; +import { MatDividerModule } from '@angular/material/divider'; +import { MatExpansionModule } from '@angular/material/expansion'; +import { MatGridListModule } from '@angular/material/grid-list'; +import { MatIconModule } from '@angular/material/icon'; +import { MatInputModule } from '@angular/material/input'; +import { MatListModule } from '@angular/material/list'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatNativeDateModule, MatRippleModule } from '@angular/material/core'; +import { MatPaginatorModule } from '@angular/material/paginator'; +import { MatProgressBarModule } from '@angular/material/progress-bar'; +import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; +import { MatRadioModule } from '@angular/material/radio'; +import { MatSelectModule } from '@angular/material/select'; +import { MatSidenavModule } from '@angular/material/sidenav'; +import { MatSliderModule } from '@angular/material/slider'; +import { MatSlideToggleModule } from '@angular/material/slide-toggle'; +import { MatSnackBarModule } from '@angular/material/snack-bar'; +import { MatSortModule } from '@angular/material/sort'; +import { MatTableModule } from '@angular/material/table'; +import { MatTabsModule } from '@angular/material/tabs'; +import { MatToolbarModule } from '@angular/material/toolbar'; +import { MatTooltipModule } from '@angular/material/tooltip'; +import { MatTreeModule } from '@angular/material/tree'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { ThreeHomeComponent } from './three-home/three-home.component'; + + + +@NgModule({ + declarations: [ThreeHomeComponent], + imports: [ + CommonModule, + A11yModule, + DragDropModule, + PortalModule, + ScrollingModule, + CdkStepperModule, + CdkTableModule, + CdkTreeModule, + MatAutocompleteModule, + MatBadgeModule, + MatBottomSheetModule, + MatButtonModule, + MatButtonToggleModule, + MatCardModule, + MatCheckboxModule, + MatChipsModule, + MatStepperModule, + MatDatepickerModule, + MatDialogModule, + MatDividerModule, + MatExpansionModule, + MatGridListModule, + MatIconModule, + MatInputModule, + MatListModule, + MatMenuModule, + MatNativeDateModule, + MatRippleModule, + MatPaginatorModule, + MatProgressBarModule, + MatProgressSpinnerModule, + MatRadioModule, + MatSelectModule, + MatSidenavModule, + MatSliderModule, + MatSlideToggleModule, + MatSnackBarModule, + MatSortModule, + MatTableModule, + MatTabsModule, + MatToolbarModule, + MatTooltipModule, + MatTreeModule, + FormsModule, + ReactiveFormsModule, + ] +}) +export class ThreeDimensionalModule { } diff --git a/src/app/three-dimensional/three-home/three-home.component.html b/src/app/three-dimensional/three-home/three-home.component.html new file mode 100644 index 0000000..00885e8 --- /dev/null +++ b/src/app/three-dimensional/three-home/three-home.component.html @@ -0,0 +1 @@ +
three-home works!
diff --git a/src/app/three-dimensional/three-home/three-home.component.scss b/src/app/three-dimensional/three-home/three-home.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/three-dimensional/three-home/three-home.component.ts b/src/app/three-dimensional/three-home/three-home.component.ts new file mode 100644 index 0000000..70b1927 --- /dev/null +++ b/src/app/three-dimensional/three-home/three-home.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-three-home', + templateUrl: './three-home.component.html', + styleUrls: ['./three-home.component.scss'] +}) +export class ThreeHomeComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/src/app/ui/tabbar/tabbar.component.html b/src/app/ui/tabbar/tabbar.component.html index b27de28..414b3f3 100644 --- a/src/app/ui/tabbar/tabbar.component.html +++ b/src/app/ui/tabbar/tabbar.component.html @@ -4,6 +4,7 @@