From 204b6bcfe5bd760ecbada98f5c9b2f532f9e0827 Mon Sep 17 00:00:00 2001 From: xianfuxing Date: Fri, 10 Aug 2018 10:26:03 +0800 Subject: [PATCH] # up dashboard icon --- src/icons/svg/offline.svg | 1 + src/icons/svg/online.svg | 1 + src/icons/svg/plus.svg | 1 + src/icons/svg/rise.svg | 1 + .../dashboard/admin/components/PanelGroup.vue | 48 +++++++++---------- 5 files changed, 28 insertions(+), 24 deletions(-) create mode 100644 src/icons/svg/offline.svg create mode 100644 src/icons/svg/online.svg create mode 100644 src/icons/svg/plus.svg create mode 100644 src/icons/svg/rise.svg diff --git a/src/icons/svg/offline.svg b/src/icons/svg/offline.svg new file mode 100644 index 0000000..bddee94 --- /dev/null +++ b/src/icons/svg/offline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/online.svg b/src/icons/svg/online.svg new file mode 100644 index 0000000..7434e37 --- /dev/null +++ b/src/icons/svg/online.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/plus.svg b/src/icons/svg/plus.svg new file mode 100644 index 0000000..2a44d50 --- /dev/null +++ b/src/icons/svg/plus.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/svg/rise.svg b/src/icons/svg/rise.svg new file mode 100644 index 0000000..e784934 --- /dev/null +++ b/src/icons/svg/rise.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/dashboard/admin/components/PanelGroup.vue b/src/views/dashboard/admin/components/PanelGroup.vue index 5b34ce2..6441e05 100644 --- a/src/views/dashboard/admin/components/PanelGroup.vue +++ b/src/views/dashboard/admin/components/PanelGroup.vue @@ -2,8 +2,8 @@
-
- +
+
Total Mosquito
@@ -13,8 +13,8 @@
-
- +
+
Daily Mosquito
@@ -24,8 +24,8 @@
-
- +
+
Online Device
@@ -35,8 +35,8 @@
-
- +
+
Offline Device
@@ -88,30 +88,30 @@ export default { .card-panel-icon-wrapper { color: #fff; } - .icon-people { - background: #40c9c6; - } - .icon-message { + .icon-plus { background: #36a3f7; } - .icon-money { - background: #f4516c; + .icon-rise { + background: #40c9c6; } - .icon-shoppingCard { - background: #34bfa3 + .icon-online { + background: #5be496; + } + .icon-offline { + background: #f4516c } } - .icon-people { - color: #40c9c6; - } - .icon-message { + .icon-plus { color: #36a3f7; } - .icon-money { - color: #f4516c; + .icon-rise { + color: #40c9c6; } - .icon-shoppingCard { - color: #34bfa3 + .icon-online { + color: #5be496; + } + .icon-offline { + color: #f4516c } .card-panel-icon-wrapper { float: left;