Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
b2b3e2ba
Commit
b2b3e2ba
authored
Aug 31, 2022
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改首页数据展示颜色
parent
189fe0c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
device-manager-ui/admin/src/views/Home.vue
device-manager-ui/admin/src/views/Home.vue
+9
-9
No files found.
device-manager-ui/admin/src/views/Home.vue
View file @
b2b3e2ba
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment