From 5c4ceadba92be4ee2839f995bb43d792fbe3f017 Mon Sep 17 00:00:00 2001 From: zhanghan2021 Date: Wed, 13 Dec 2023 14:18:16 +0800 Subject: [PATCH] Write a list of returned result information --- atune/web/index.html | 2 +- atune/web/src/App.vue | 38 ++++--- atune/web/src/assets/main.css | 21 ++++ atune/web/src/components/table.vue | 29 +++--- atune/web/src/main.ts | 2 + atune/web/src/views/ResultInfo.vue | 159 +++++++++++++++++++++++++++++ 6 files changed, 221 insertions(+), 30 deletions(-) create mode 100644 atune/web/src/assets/main.css create mode 100644 atune/web/src/views/ResultInfo.vue diff --git a/atune/web/index.html b/atune/web/index.html index 16e372e8..5d040697 100644 --- a/atune/web/index.html +++ b/atune/web/index.html @@ -7,7 +7,7 @@ 智能调优 -
+
diff --git a/atune/web/src/App.vue b/atune/web/src/App.vue index e994f530..5bc96cbb 100644 --- a/atune/web/src/App.vue +++ b/atune/web/src/App.vue @@ -17,21 +17,29 @@ const zhCn = ref(locale); font-family: "Avenir", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - height: 98vh; - overflow: hidden; /* Ensure no scrollbars on the app container */ + height: 100%; + width: 100%; + // overflow: hidden; /* Ensure no scrollbars on the app container */ } -html, body { - margin: 0; - padding: 0; - height: 100vh; - background-color: rgb(11, 35, 117); - overflow: hidden; /* Ensure no scrollbars on the body */ - width: 100vw; - transform-origin: 0 0 0; - -moz-transform-origin: 0 0 0; - -ms-transform-origin: 0 0 0; - -webkit-transform-origin: 0 0 0; - -o-transform-origin: 0 0 0; -} +// html { +// margin: 0; +// padding: 0; +// height: 100%; +// width: 100%; +// } + +// body { +// margin: 0; +// padding: 0; +// height: 100%; +// width: 100%; +// background-color: rgb(11, 35, 117); +// // overflow: hidden; /* Ensure no scrollbars on the body */ +// transform-origin: 0 0 0; +// -moz-transform-origin: 0 0 0; +// -ms-transform-origin: 0 0 0; +// -webkit-transform-origin: 0 0 0; +// -o-transform-origin: 0 0 0; +// } \ No newline at end of file diff --git a/atune/web/src/assets/main.css b/atune/web/src/assets/main.css new file mode 100644 index 00000000..9422492b --- /dev/null +++ b/atune/web/src/assets/main.css @@ -0,0 +1,21 @@ + +html { + height: 100%; + /* height: 500px; */ + width: 100%; + margin: 0px; + padding: 0px; + box-sizing: border-box; + } + + body { + height: 100%; + width: 100%; + margin: 0px; + padding: 0px; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, + Microsoft YaHei, Arial, sans-serif; + } diff --git a/atune/web/src/components/table.vue b/atune/web/src/components/table.vue index 2b4d3640..f5aa7b9d 100644 --- a/atune/web/src/components/table.vue +++ b/atune/web/src/components/table.vue @@ -10,13 +10,15 @@ -
+
+
- - - + :cell-style="{ color: 'black' }" tooltip-effect="dark"> + + +
+