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 @@ + + + + + +