From 55cebcfb1a8abe86cc63e87815f4ea5c273b3e07 Mon Sep 17 00:00:00 2001 From: xufenglei <xufenglei> Date: Tue, 20 Mar 2018 16:12:50 +0800 Subject: [PATCH] 增加 报表图形可选 --- src/app/routes/report/report.component.html | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/routes/report/report.component.html b/src/app/routes/report/report.component.html index 94fb4d1..224d7e4 100644 --- a/src/app/routes/report/report.component.html +++ b/src/app/routes/report/report.component.html @@ -7,7 +7,7 @@ <div class="t_bg"> <img src="./assets/img/logo.png"> - <h1>2018���01���������������������������</h1> + <h1>{{title}}������������������������</h1> <div class="container"> <div class="title"> <div class="title_left"></div> @@ -27,7 +27,7 @@ <div class="content"> <div *ngFor="let item of items;let i = index"> - <div class="left"> + <div class="{{i % 2 == 0 ? 'left' : 'right'}}"> <h2>{{item.monitorPointName}}</h2> <p class="text1">���������������{{item.monitorPointAddress}}</p> <p class="text1">���������������������{{item.deviceCount}}���</p> @@ -42,7 +42,7 @@ <div id="content" style="display: none;"> <div *ngFor="let i of sensorArr"> - <div id="mydiv{{i}}" style="height: 487px; width: 1000px"></div> + <div id="mydiv{{i}}" style="height: 485.3px; width: 1000px"></div> </div> </div> @@ -52,7 +52,7 @@ <div class="bg" *ngIf="! spinning"> <div class="t_bg_b"> - <h1>2018���01������������������������������</h1> + <h1>{{title}}������������������������</h1> </div> </div> -- Gitblit v1.8.0