5 changed files with 640 additions and 5 deletions
@ -0,0 +1,7 @@
|
||||
<app-page-zhong-dui-details *ngIf="!toggle"></app-page-zhong-dui-details> |
||||
<div style="height: 450px;width: 50%;margin: 0 auto;" id="one" [hidden]="!toggle"></div> |
||||
<div class="publicCss" id="two" [hidden]="!toggle"></div> |
||||
<div class="publicCss" id="three" [hidden]="!toggle"></div> |
||||
<div class="publicCss" id="four" [hidden]="!toggle"></div> |
||||
<div class="publicCss" id="five" [hidden]="!toggle"></div> |
||||
<div class="publicCss" id="six" [hidden]="!toggle"></div> |
@ -1 +1,40 @@
|
||||
<p>page-two-time works!</p> |
||||
<div class="content"> |
||||
|
||||
<div class="header"> |
||||
<form #form="ngForm" *ngIf="!isQuery"> |
||||
<div class="queryBox"> |
||||
|
||||
<div class="queryField"> |
||||
<label style="margin-right: 10px;">开始时间:</label> |
||||
<input matInput [matDatepicker]="start" placeholder="请选择开始时间" readonly (dateChange)="startEvent($event)" [formControl]='startTime'> |
||||
<mat-datepicker-toggle matSuffix [for]="start"></mat-datepicker-toggle> |
||||
<mat-datepicker #start></mat-datepicker> |
||||
</div> |
||||
|
||||
<div class="queryField"> |
||||
<label style="margin-right: 10px;">结束时间:</label> |
||||
<input matInput [matDatepicker]="end" placeholder="请选择结束时间" readonly (dateChange)="endEvent($event)" [formControl]='endTime'> |
||||
<mat-datepicker-toggle matSuffix [for]="end"></mat-datepicker-toggle> |
||||
<mat-datepicker #end></mat-datepicker> |
||||
</div> |
||||
|
||||
<div class="btnbox" style="margin-left: 30px;"> |
||||
<button mat-raised-button color="primary" (click)='query()'>查询</button> |
||||
</div> |
||||
</div> |
||||
|
||||
</form> |
||||
<div style="position: fixed; right: 30px; top: 82px;"> |
||||
<button mat-raised-button color="primary" (click)='toggleTrue()'>横向查询</button> |
||||
<button mat-raised-button color="primary" style="margin-left: 10px;" (click)='toggleFalse()'>纵向查询</button> |
||||
</div> |
||||
</div> |
||||
|
||||
<div class="echarts"> |
||||
<div class="center"> |
||||
<app-echarts *ngIf="!isQuery" #echarts></app-echarts> |
||||
<app-page-two-name *ngIf="isQuery"></app-page-two-name> |
||||
</div> |
||||
</div> |
||||
|
||||
</div> |
||||
|
@ -0,0 +1,64 @@
|
||||
.content { |
||||
width: 100%; |
||||
height: 93%; |
||||
display: flex; |
||||
flex-direction: column; |
||||
overflow: hidden; |
||||
.echarts { |
||||
flex: 100%; |
||||
box-sizing: border-box; |
||||
padding: 10px; |
||||
overflow: hidden; |
||||
.center { |
||||
width: 100%; |
||||
height: 100%; |
||||
overflow: auto;; |
||||
} |
||||
} |
||||
} |
||||
|
||||
.header { |
||||
padding: 10px; |
||||
box-sizing: border-box; |
||||
border-bottom: 1px solid #999; |
||||
min-height: 70px; |
||||
.queryBox { |
||||
box-sizing: border-box; |
||||
padding: 5px 15px; |
||||
display: flex; |
||||
flex-direction: row; |
||||
flex-wrap: wrap; |
||||
align-items:center; |
||||
justify-content:center; |
||||
.queryField { |
||||
margin: 0 15px; |
||||
font-size: 14px; |
||||
input { |
||||
width: 180px; |
||||
height: 22px; |
||||
line-height: 22px; |
||||
} |
||||
} |
||||
.btnbox{ |
||||
float: right; |
||||
} |
||||
|
||||
} //queryBox |
||||
} |
||||
|
||||
.publicCss{ |
||||
height: 350px; |
||||
width: 50%; |
||||
display: inline-block; |
||||
box-sizing: border-box; |
||||
padding: 20px; |
||||
} |
||||
|
||||
//滚动条样式 |
||||
::-webkit-scrollbar{ |
||||
width: 5px; |
||||
background-color: white; |
||||
} |
||||
::-webkit-scrollbar-thumb{ |
||||
background-color: #999; |
||||
} |
Loading…
Reference in new issue