修改路径
This commit is contained in:
33
src/app/app.component.html
Normal file
33
src/app/app.component.html
Normal 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>
|
||||
Reference in New Issue
Block a user