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 #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"> |
||||
<app-tabbar (toggleDarkTheme)="switchTheme($event)" (defaulttheme)="defaulttheme()" (redtheme)="redtheme()"></app-tabbar> |
||||
<router-outlet></router-outlet> |
||||
<!-- <app-all-file #child></app-all-file> --> |
||||
<div class="example-sidenav-content"> |
||||
<div style="height: 64px; min-height: 64px;"> |
||||
<app-tabbar (toggleDarkTheme)="switchTheme($event)" (defaulttheme)="defaulttheme()" (redtheme)="redtheme()"></app-tabbar> |
||||
</div> |
||||
<div style="flex: 1; overflow: hidden;"> |
||||
<router-outlet></router-outlet> |
||||
</div> |
||||
</div> |
||||
|
||||
</mat-sidenav-container> |
||||
|
Loading…
Reference in new issue