From cf28cc73f8a1e320218092d3f804bd159a9f871f Mon Sep 17 00:00:00 2001 From: wangwenrui Date: Tue, 17 Mar 2020 18:27:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:overview=20=E5=B8=83=E5=B1=80=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E3=80=81=E5=8D=95=E4=B8=AA=E7=BB=84=E4=BB=B6=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E8=BF=9B=E8=A1=8C=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page/dashboard/overview/chart.vue | 43 ++++++ .../page/dashboard/overview/chartConfig.vue | 82 +++++++++++ .../page/dashboard/overview/overview.scss | 80 ++++++++++ .../page/dashboard/overview/overview.vue | 137 ++++++++++++++++++ 4 files changed, 342 insertions(+) create mode 100644 nezha-fronted/src/components/page/dashboard/overview/chart.vue create mode 100644 nezha-fronted/src/components/page/dashboard/overview/chartConfig.vue create mode 100644 nezha-fronted/src/components/page/dashboard/overview/overview.scss create mode 100644 nezha-fronted/src/components/page/dashboard/overview/overview.vue diff --git a/nezha-fronted/src/components/page/dashboard/overview/chart.vue b/nezha-fronted/src/components/page/dashboard/overview/chart.vue new file mode 100644 index 000000000..0efbae7ec --- /dev/null +++ b/nezha-fronted/src/components/page/dashboard/overview/chart.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/nezha-fronted/src/components/page/dashboard/overview/chartConfig.vue b/nezha-fronted/src/components/page/dashboard/overview/chartConfig.vue new file mode 100644 index 000000000..276511270 --- /dev/null +++ b/nezha-fronted/src/components/page/dashboard/overview/chartConfig.vue @@ -0,0 +1,82 @@ + diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview.scss b/nezha-fronted/src/components/page/dashboard/overview/overview.scss new file mode 100644 index 000000000..067753ebb --- /dev/null +++ b/nezha-fronted/src/components/page/dashboard/overview/overview.scss @@ -0,0 +1,80 @@ +.overview{ + height: 100%; +} + +.overview-content-header{ + display: flex; + padding-top: 10px; +} +.overview-content-header .header-title{ + flex:13; + height: 35px; + line-height: 35px; + font-size: 24px !important; + font-weight: 700; + margin-left: 15px; +} +.overview-content-header .header-tool{ + flex: 2; + height: 35px; +} +.header-tool .tool-container{ + display: flex; + text-align: center; +} +.tool-container .time{ + flex: 4; + font-size: 24px !important; + font-weight: 700; + display: inline-block; + height: 35px; + line-height: 35px; + vertical-align: middle; +} +.tool-container .date{ + flex: 4; + height: 35px; +} +.date .week{ + font-size: 18px; + font-weight: bold; +} +.date .sys-date{ + padding-top: 5px; + font-size: 12px; +} +.tool-container .operation{ + flex: 2; + display: inline-block; + line-height: 35px; +} +.operation .nz-icon-maxview{ + font-size: 30px !important; +} +.overview-content{ + height: 100%; + width: 100%; +} +/*100份*/ +.overview-content .content-row-box{ + margin: 15px 15px 15px 15px; + width: 99%; +} +.content-row-box .content-col-box{ + border: 1px solid lightgrey; + padding: 15px; + display: inline-block; +} +.box-height-250{ + height: 250px; +} +.box-height-350{ + height: 350px; +} +.box-height-400{ + height: 400px; +} +.box-height-500{ + height: 500px; +} + diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview.vue b/nezha-fronted/src/components/page/dashboard/overview/overview.vue new file mode 100644 index 000000000..bded6c4c7 --- /dev/null +++ b/nezha-fronted/src/components/page/dashboard/overview/overview.vue @@ -0,0 +1,137 @@ + + + + + +