6 changed files with 39 additions and 61 deletions
@ -1,30 +1,31 @@ |
|||||||
|
|
||||||
<mat-sidenav-container class="example-container" autosize [class.myapp-dark-theme]="darktheme"> |
<mat-sidenav-container class="example-container" autosize [class.myapp-dark-theme]="darktheme"> |
||||||
<mat-sidenav #drawer class="example-sidenav" mode="side" opened="true" color="primary" style="overflow-x: hidden;"> |
|
||||||
<div class="biglogobox"> |
|
||||||
<img src="../../assets/images/logo.png" alt="logo"> |
|
||||||
</div> |
|
||||||
<div class="navbox"> |
|
||||||
<ul class="teacher"> |
|
||||||
<li [routerLink]="['/home/createexam']" routerLinkActive="router-link-active" >创建考试</li> |
|
||||||
<li [routerLink]="['/home/looktest']" routerLinkActive="router-link-active" >阅卷</li> |
|
||||||
<li [routerLink]="['/home/statisticAnalysis']" routerLinkActive="router-link-active" >统计分析</li> |
|
||||||
</ul> |
|
||||||
<ul class="student"> |
|
||||||
<li [routerLink]="['/home/joinExam']" routerLinkActive="router-link-active" >参加考试</li> |
|
||||||
<li [routerLink]="['/home/testRecords']" routerLinkActive="router-link-active" >考试记录</li> |
|
||||||
</ul> |
|
||||||
</div> |
|
||||||
|
|
||||||
|
<mat-sidenav #drawer class="example-sidenav" mode="side" opened="true" color="primary" style="overflow-x: hidden;"> |
||||||
|
<div class="biglogobox"> |
||||||
|
<img src="../../assets/images/logo.png" alt="logo"> |
||||||
|
</div> |
||||||
|
<div class="navbox"> |
||||||
|
<ul class="teacher"> |
||||||
|
<li [routerLink]="['/home/createexam']" routerLinkActive="router-link-active" >创建考试</li> |
||||||
|
<li [routerLink]="['/home/looktest']" routerLinkActive="router-link-active" >阅卷</li> |
||||||
|
<li [routerLink]="['/home/statisticAnalysis']" routerLinkActive="router-link-active" >统计分析</li> |
||||||
|
</ul> |
||||||
|
<ul class="student"> |
||||||
|
<li [routerLink]="['/home/joinExam']" routerLinkActive="router-link-active" >参加考试</li> |
||||||
|
<li [routerLink]="['/home/testRecords']" routerLinkActive="router-link-active" >考试记录</li> |
||||||
|
</ul> |
||||||
|
</div> |
||||||
|
|
||||||
|
</mat-sidenav> |
||||||
</mat-sidenav> |
|
||||||
|
|
||||||
<div class="example-sidenav-content"> |
<div class="example-sidenav-content"> |
||||||
<app-tabbar (toggleDarkTheme)="switchTheme($event)" (defaulttheme)="defaulttheme()" (redtheme)="redtheme()"></app-tabbar> |
<div style="height: 64px; min-height: 64px;"> |
||||||
<router-outlet></router-outlet> |
<app-tabbar (toggleDarkTheme)="switchTheme($event)" (defaulttheme)="defaulttheme()" (redtheme)="redtheme()"></app-tabbar> |
||||||
<!-- <app-all-file #child></app-all-file> --> |
</div> |
||||||
|
<div style="flex: 1; overflow: hidden;"> |
||||||
|
<router-outlet></router-outlet> |
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
|
|
||||||
</mat-sidenav-container> |
</mat-sidenav-container> |
||||||
|
Loading…
Reference in new issue