diff --git a/package.json b/package.json index 471cdb3..4d80891 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.12.0", + "node-sass": "^6.0.1", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/package.json b/package.json index 471cdb3..4d80891 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.12.0", + "node-sass": "^6.0.1", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/src/components/BigData/Card/index.vue b/src/components/BigData/Card/index.vue index 16e55f0..d71e609 100644 --- a/src/components/BigData/Card/index.vue +++ b/src/components/BigData/Card/index.vue @@ -79,19 +79,20 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { - float: left; + // float: left; font-weight: bold; margin: 26px; - margin-left: 10px; + // margin-left: 10px; + overflow: auto; .card-panel-text { line-height: 18px; color: rgba(0, 0, 0, 0.45); - font-size: 16px; + font-size: 14px; margin-bottom: 12px; } diff --git a/package.json b/package.json index 471cdb3..4d80891 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.12.0", + "node-sass": "^6.0.1", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/src/components/BigData/Card/index.vue b/src/components/BigData/Card/index.vue index 16e55f0..d71e609 100644 --- a/src/components/BigData/Card/index.vue +++ b/src/components/BigData/Card/index.vue @@ -79,19 +79,20 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { - float: left; + // float: left; font-weight: bold; margin: 26px; - margin-left: 10px; + // margin-left: 10px; + overflow: auto; .card-panel-text { line-height: 18px; color: rgba(0, 0, 0, 0.45); - font-size: 16px; + font-size: 14px; margin-bottom: 12px; } diff --git a/src/components/BigData/Card1/index.vue b/src/components/BigData/Card1/index.vue index d70262c..030b2dc 100644 --- a/src/components/BigData/Card1/index.vue +++ b/src/components/BigData/Card1/index.vue @@ -4,12 +4,28 @@
-
-
+
+ +
+
+ {{ title[0] }} {{ context[0] }} +
+
+ {{ title[1] }} {{ context[1] }} +
+
+
+
+ {{ title[0] }} +
+
+ {{ context[0] }} +
@@ -82,27 +98,43 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { float: left; font-weight: bold; margin-top: 26px; - /*margin-left: 10px;*/ + overflow: auto; + margin-left: 5px; - .card-panel-text { - line-height: 18px; - color: rgba(0, 0, 0, 0.45); - font-size: 16px; - margin-bottom: 12px; + .two{ + .card-panel-text { + line-height: 18px; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + margin-bottom: 12px; + } + + .card-panel-num { + font-size: 18px; + color: #666; + padding-left: 10px; + float: right; + } } + .only{ + .card-panel-text { + line-height: 18px; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + margin-bottom: 12px; + padding-top: 0; + } - .card-panel-num { - font-size: 18px; - color: #666; - padding-left: 10px; - float: right; + .card-panel-num { + font-size: 20px; + } } } } diff --git a/package.json b/package.json index 471cdb3..4d80891 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.12.0", + "node-sass": "^6.0.1", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/src/components/BigData/Card/index.vue b/src/components/BigData/Card/index.vue index 16e55f0..d71e609 100644 --- a/src/components/BigData/Card/index.vue +++ b/src/components/BigData/Card/index.vue @@ -79,19 +79,20 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { - float: left; + // float: left; font-weight: bold; margin: 26px; - margin-left: 10px; + // margin-left: 10px; + overflow: auto; .card-panel-text { line-height: 18px; color: rgba(0, 0, 0, 0.45); - font-size: 16px; + font-size: 14px; margin-bottom: 12px; } diff --git a/src/components/BigData/Card1/index.vue b/src/components/BigData/Card1/index.vue index d70262c..030b2dc 100644 --- a/src/components/BigData/Card1/index.vue +++ b/src/components/BigData/Card1/index.vue @@ -4,12 +4,28 @@
-
-
+
+ +
+
+ {{ title[0] }} {{ context[0] }} +
+
+ {{ title[1] }} {{ context[1] }} +
+
+
+
+ {{ title[0] }} +
+
+ {{ context[0] }} +
@@ -82,27 +98,43 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { float: left; font-weight: bold; margin-top: 26px; - /*margin-left: 10px;*/ + overflow: auto; + margin-left: 5px; - .card-panel-text { - line-height: 18px; - color: rgba(0, 0, 0, 0.45); - font-size: 16px; - margin-bottom: 12px; + .two{ + .card-panel-text { + line-height: 18px; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + margin-bottom: 12px; + } + + .card-panel-num { + font-size: 18px; + color: #666; + padding-left: 10px; + float: right; + } } + .only{ + .card-panel-text { + line-height: 18px; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + margin-bottom: 12px; + padding-top: 0; + } - .card-panel-num { - font-size: 18px; - color: #666; - padding-left: 10px; - float: right; + .card-panel-num { + font-size: 20px; + } } } } diff --git a/src/views/dashboard/components/AlarmByDays.vue b/src/views/dashboard/components/AlarmByDays.vue index cb5c283..ddfd8e3 100644 --- a/src/views/dashboard/components/AlarmByDays.vue +++ b/src/views/dashboard/components/AlarmByDays.vue @@ -65,6 +65,7 @@ delete item.data return item }) + this.chartData.rows = arr }) }, diff --git a/package.json b/package.json index 471cdb3..4d80891 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "html-webpack-plugin": "4.0.0-alpha", "mini-css-extract-plugin": "0.4.1", "node-notifier": "5.2.1", - "node-sass": "^4.12.0", + "node-sass": "^6.0.1", "optimize-css-assets-webpack-plugin": "5.0.0", "ora": "3.0.0", "path-to-regexp": "2.4.0", diff --git a/src/components/BigData/Card/index.vue b/src/components/BigData/Card/index.vue index 16e55f0..d71e609 100644 --- a/src/components/BigData/Card/index.vue +++ b/src/components/BigData/Card/index.vue @@ -79,19 +79,20 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { - float: left; + // float: left; font-weight: bold; margin: 26px; - margin-left: 10px; + // margin-left: 10px; + overflow: auto; .card-panel-text { line-height: 18px; color: rgba(0, 0, 0, 0.45); - font-size: 16px; + font-size: 14px; margin-bottom: 12px; } diff --git a/src/components/BigData/Card1/index.vue b/src/components/BigData/Card1/index.vue index d70262c..030b2dc 100644 --- a/src/components/BigData/Card1/index.vue +++ b/src/components/BigData/Card1/index.vue @@ -4,12 +4,28 @@
-
-
+
+ +
+
+ {{ title[0] }} {{ context[0] }} +
+
+ {{ title[1] }} {{ context[1] }} +
+
+
+
+ {{ title[0] }} +
+
+ {{ context[0] }} +
@@ -82,27 +98,43 @@ .card-panel-icon { float: left; - font-size: 48px; + font-size: 40px; } .card-panel-description { float: left; font-weight: bold; margin-top: 26px; - /*margin-left: 10px;*/ + overflow: auto; + margin-left: 5px; - .card-panel-text { - line-height: 18px; - color: rgba(0, 0, 0, 0.45); - font-size: 16px; - margin-bottom: 12px; + .two{ + .card-panel-text { + line-height: 18px; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + margin-bottom: 12px; + } + + .card-panel-num { + font-size: 18px; + color: #666; + padding-left: 10px; + float: right; + } } + .only{ + .card-panel-text { + line-height: 18px; + color: rgba(0, 0, 0, 0.45); + font-size: 14px; + margin-bottom: 12px; + padding-top: 0; + } - .card-panel-num { - font-size: 18px; - color: #666; - padding-left: 10px; - float: right; + .card-panel-num { + font-size: 20px; + } } } } diff --git a/src/views/dashboard/components/AlarmByDays.vue b/src/views/dashboard/components/AlarmByDays.vue index cb5c283..ddfd8e3 100644 --- a/src/views/dashboard/components/AlarmByDays.vue +++ b/src/views/dashboard/components/AlarmByDays.vue @@ -65,6 +65,7 @@ delete item.data return item }) + this.chartData.rows = arr }) }, diff --git a/src/views/dashboard/components/PanelGroup.vue b/src/views/dashboard/components/PanelGroup.vue index c04cf16..b72d289 100644 --- a/src/views/dashboard/components/PanelGroup.vue +++ b/src/views/dashboard/components/PanelGroup.vue @@ -3,6 +3,7 @@
+
@@ -14,9 +15,13 @@