diff --git a/nezha-fronted/src/components/page/dashboard/overview/chart.vue b/nezha-fronted/src/components/page/dashboard/overview/chart.vue index c171256ba..6979d41f5 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/chart.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/chart.vue @@ -121,6 +121,11 @@ this.chart.clear(); this.chart.setOption(this.option) }, + resizeChart:function(width,height){ + if(this.chart){ + this.chart.resize({width:width,height:height}); + } + }, startLoading:function(){ this.$refs.loading.startLoading(); }, diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview.scss b/nezha-fronted/src/components/page/dashboard/overview/overview.scss index 0d6dcb9fa..581857751 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview.scss +++ b/nezha-fronted/src/components/page/dashboard/overview/overview.scss @@ -47,7 +47,7 @@ display: inline-block; line-height: 35px; } -.operation .nz-icon-maxview{ +.operation .screen-icon{ font-size: 1.875rem !important; } .overview-right{ @@ -89,14 +89,14 @@ .box-height-290{ height: 290px; } -.box-height-350{ - height: 350px; +.box-height-266{ + height: 266px; } -.box-height-400{ - height: 400px; +.box-height-316{ + height: 316px; } -.box-height-500{ - height: 500px; +.box-height-356{ + height: 356px; } .mini-button{ display: inline-block; @@ -123,3 +123,5 @@ display: inline-block; padding: 5px; } + + diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview.vue b/nezha-fronted/src/components/page/dashboard/overview/overview.vue index d1eb59687..18672dc28 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview.vue @@ -21,7 +21,7 @@
{{sysWeek}}
{{sysDate}}
-
+
@@ -30,18 +30,18 @@
-
+
-
+
-
+
-
+
@@ -53,7 +53,7 @@
-
+