Commit b2b3e2ba authored by “yiyousong”'s avatar “yiyousong”

fix:修改首页数据展示颜色

parent 189fe0c4
......@@ -36,7 +36,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.deviceTotalCount }}</p>
<span style="font-size: 12px"
><span style="color: #2681e8">昨日 </span
><span class="tips">昨日 </span
><span
:class="{
success: statData.deviceAddCount >= 0,
......@@ -58,7 +58,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.siteTotalCount }}</p>
<span style="font-size: 12px"
><span style="color: #2681e8">昨日 </span
><span class="tips">昨日 </span
><span
:class="{
success: statData.siteAddCount >= 0,
......@@ -80,7 +80,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.deviceOnlineCount }}</p>
<span style="font-size: 12px"
><span style="color: #6182f6">上线率 </span
><span class="tips">上线率 </span
><span v-bind:class="{ success: statData.deviceOnlineRatio >= 0 }"
>{{ statData.deviceOnlineRatio * 100 }}%</span
></span
......@@ -94,7 +94,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.deviceOfflineCount }}</p>
<span style="font-size: 12px"
><span style="color: #6182f6">离线率 </span
><span class="tips">离线率 </span
><span v-bind:class="{ warn: statData.deviceOfflineRatio >= 0 }"
>{{ statData.deviceOfflineRatio * 100 }}%</span
></span
......@@ -108,7 +108,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.deviceStopRatio }}</p>
<span style="font-size: 12px"
><span style="color: #6182f6">停用率 </span
><span class="tips">停用率 </span
><span v-bind:class="{ warn: statData.deviceStopRatio >= 0 }"
>{{ statData.deviceStopRatio * 100 }}%</span
></span
......@@ -122,7 +122,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.deviceUnActiveRatio }}</p>
<span style="font-size: 12px"
><span style="color: #6182f6">未激活率 </span
><span class="tips">未激活率 </span
><span v-bind:class="{ warn: statData.deviceUnActiveRatio >= 0 }"
>{{ statData.deviceUnActiveRatio * 100 }}%</span
></span
......@@ -136,7 +136,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.alarmTotalCount }}</p>
<span style="font-size: 12px"
><span style="color: #6182f6">昨日 </span
><span class="tips">昨日 </span
><span
v-bind:class="{
success: statData.alarmAddCount >= 0,
......@@ -158,7 +158,7 @@
<div class="total-item">
<p class="total-item-count">{{ statData.pushTotalCount }}</p>
<span style="font-size: 12px"
><span style="color: #6182f6">昨日 </span
><span class="tips">昨日 </span
><span
v-bind:class="{
success: statData.pushAddCount >= 0,
......@@ -616,7 +616,7 @@ export default {
findDevicePush(beforeday) {
let query = { createTimeStart: this.formatterDate(beforeday) };
// query.siteId=1
// query.siteId=1
this.$post("/device/stat/list", query)
.then((res) => {
if (res.code == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment