From d6836305986df618fc6be6a46305b75b6b1dddf3 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Wed, 21 Mar 2018 10:13:54 +0800
Subject: [PATCH] 报表优化
---
src/app/routes/report/report.component.html | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/app/routes/report/report.component.html b/src/app/routes/report/report.component.html
index 5644aae..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>
@@ -26,14 +26,14 @@
</div>
<div class="content">
- <!-- <div *ngFor="let item of items;let i = index">
- <div class="left">
+ <div *ngFor="let item of items;let i = index">
+ <div class="{{i % 2 == 0 ? 'left' : 'right'}}">
<h2>{{item.monitorPointName}}</h2>
<p class="text1">���������������{{item.monitorPointAddress}}</p>
<p class="text1">���������������������{{item.deviceCount}}���</p>
<div class="clear_fix"></div>
</div>
- </div> -->
+ </div>
<div class="clear_fix"></div>
</div>
</div>
@@ -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