修改路径

This commit is contained in:
小海
2020-05-16 22:18:45 +08:00
parent abc792a561
commit 42177a7721
683 changed files with 92 additions and 18398 deletions

View File

@@ -0,0 +1,33 @@
<ng-container *ngIf="componentStateService.visible.header">
<app-header (loginEvent)="login()" (registrationEvent)="registration()" #headerComponent></app-header>
</ng-container>
<router-outlet></router-outlet>
<ng-container *ngIf="componentStateService.visible.footer">
<app-footer></app-footer>
</ng-container>
<nz-back-top [nzTemplate]="backToTop" *ngIf="componentStateService.visible.globalBackToTop"></nz-back-top>
<ng-template #backToTop>
<button style=" height: 60px;width: 60px;border-radius: 50%;" nz-button title="回到顶部">
<i nz-icon nzType="rocket" nzTheme="outline"></i>
</button>
</ng-template>
<nz-modal
[(nzVisible)]="loginModal" (nzOnCancel)="loginModal = !loginModal"
[nzContent]="content" [nzFooter]="null" nzWidth="400">
<ng-template #content>
<c-login (loginStatus)="loginStatus($event)" [showSendEmail]="false"></c-login>
</ng-template>
</nz-modal>
<nz-modal
[(nzVisible)]="regModal" (nzOnCancel)="regModal = !regModal" [nzContent]="content2"
[nzFooter]="null" nzWidth="400">
<ng-template #content2>
<c-registration (regStatus)="regModal = !$event" (regAccount)="cons($event)"></c-registration>
</ng-template>
</nz-modal>